plan-code-workflow
Installation
SKILL.md
Plan/Code Workflow
Two primary work modes: Plan and Code.
Task Complexity Assessment
| Complexity | Characteristics | Strategy |
|---|---|---|
| Trivial | Simple syntax, single API, <10 lines | Answer directly |
| Moderate | Non-trivial logic in single file, local refactoring | Use Plan/Code workflow |
| Complex | Cross-module design, concurrency, multi-step migrations | Must use Plan/Code workflow |
Common Rules
- When entering Plan mode, briefly restate: mode, objective, key constraints, current state
- In Plan mode, must read relevant code first before proposing modifications
- Only restate when mode switches or constraints significantly change
- Don't unilaterally introduce new tasks beyond scope
- When user says "implement", "execute", "proceed", "start coding" → switch to Code mode immediately