一键导入
task-dev
Implement a planning document end-to-end — branch, code, tests, PR. Use when the user asks to implement a planning-xxx.md file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement a planning document end-to-end — branch, code, tests, PR. Use when the user asks to implement a planning-xxx.md file.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | task-dev |
| description | Implement a planning document end-to-end — branch, code, tests, PR. Use when the user asks to implement a planning-xxx.md file. |
| user-invocable | true |
Reference: planning-xxx-xxx.md as specified by the user.
Follow these steps in order. Report progress at each step before continuing.
main:git checkout main
git pull origin main
git checkout -b <branch-name> # e.g. feat/xxx, fix/xxx
Work through the planning doc in order. Spawn sub-agents for independent tasks when helpful. Report when each step completes before moving on.
tests/unit/ covering every test case in the planning doc.npm test — all suites must pass, zero failures.Pause and ask the user to confirm before opening a PR.
If the task involves UI changes, spin up a preview so the user can verify visually:
# Terminal 1 — dev server (kill any existing dev server first to reuse the same port)
npm run dev
# Terminal 2 — public tunnel
cloudflared tunnel --url http://localhost:<port>
Verify the tunnel is working by curling the public URL — confirm you get actual HTML from the app, not a Cloudflare error page. Only then report the URL to the user and wait for their go-ahead.
git add <files>
git commit -m "<english commit message>"
git push -u origin <branch-name>
gh pr create --title "..." --body "..."