Repository-specific frontend engineer workflow for `yf-dingtalk-workbench`. Use when Codex is implementing, refactoring, reviewing, or debugging this DingTalk workbench repo, especially tasks involving `packages/page`, `packages/pageMobile`, `Page` or `Mobile` containers, `pub-*` or `bu-*` components, `commonPage` or `commonPageMobile`, `configRulesProps`, `config.json.mjs`, `plugin.json`, `miniprogram/app.json`, UnoCSS, locale files, publish builds, or PC-to-mobile parity work.
ark-dw is the project-specific version of ark for
yf-dingtalk-workbench. It keeps Ark's spec-first,
quality-first discipline, then narrows the workflow to this
repository's component model, config model, publish boundaries,
and verification commands.
OpenSpec + Superpowers for coding, planning,
refactoring, debugging, UI changes, and behavior changes.CODEX.md as the explicit Codex loader contract.AGENTS.md and every relevant file under
.github/instructions/.references/repo-rules.md as the publishable mirror of the
workbench's Codex instruction set.Do these before proposing edits:
CODEX.md, AGENTS.md, and the relevant files under
.github/instructions/.DEVELOPMENT.md and directoryList.md when the repo
workflow or directory ownership is unclear.confirmedrequiredassumptionsTreat the bundled references as summaries. Repository files are the source of truth when they differ.
Before editing, classify the task into one of these buckets and then
follow references/task-playbooks.md:
Page or Mobilepub-*bu-*skeleton, tabs, shared style/*index.js keeps lifecycle and mounting. Push
business logic into sibling *.mixin.js files by default.configRulesProps/.
Config model changes also inspect config.json.mjs.Page and Mobile components must be declared in both
miniprogram/app.json and plugin.json.pub-* components must be declared in plugin.json.bu-* components must not be declared in plugin.json.index.acss
import-only when possible, extend uno.config.js before adding
component selector CSS.px.Run the narrowest commands that prove the change. Typical commands:
pnpm dev:pagepnpm dev:pageMobilepnpm build:pagepnpm build:pageMobilepnpm build:devPageMode:pagepnpm build:devPageMode:pageMobilepnpm --dir packages/page run test:commonPageLayoutpackages/*/scriptsOnly report commands actually executed and their real outcomes.
Token Save Reply
in references/repo-rules.md.references/repo-rules.mdreferences/repo-workflow.mdreferences/task-playbooks.mdEdit PDFs with natural-language instructions using the nano-pdf CLI.