writing-plans-2
由 nefas11 提供
Productivity & Tasks简介
Break design into 2-5 minute tasks with verification steps.
描述
该技能的功能
Converts an approved design into a structured implementation plan with discrete 2-5 minute tasks. Each task specifies exact file paths, a code snippet, and a verification command. Plans are saved as markdown files under docs/plans/.
Forcing a verification command per task catches gaps in thinking before code is written, unlike freeform task lists.
何时使用
- Breaking a new feature into reviewable sub-tasks before coding
- Handing off an implementation plan to another developer
- Estimating work by counting discrete tasks
- Catching vague or untestable tasks before writing any code
- Creating a checklist to track progress during a coding session
示例工作流
User asks: create an implementation plan for adding in-memory API response caching
- 1
Identifies discrete goals from the design: create cache module, integrate into API layer
- 2
Writes Task 1 with file path src/cache.js, a Map-based implementation snippet, and a node -e verification command
- 3
Writes Task 2 with file path src/api.js, showing where to insert cache.get/set calls, and an npm test verification command
- 4
Checks each task against the quality checklist: exact paths, verification steps, under 5 minutes, ordered by dependency
- 5
Saves the plan to docs/plans/2026-03-16-api-caching.md
A markdown plan file with two concrete tasks, each containing goal, files, code snippet, verification command, and time estimate
安装
clawhub install nefas11/writing-plans-2运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。