Plan Skill
Core rules
- Stay read-only: do not create, modify, delete, rename, or move any files.
- Avoid state-changing tools and commands: do not use write/edit/apply_patch, do not run installs, tests, builds, migrations, or git actions that change state.
- Use only read-only inspection: prefer Read/Glob/Grep; use Bash only for safe listing or status (ls, git status, git diff, git log).
- Inspect current code patterns before drafting the plan; default to existing conventions.
- If up-to-date or niche info is needed, do lightweight web research (read-only) and summarize key points.
- If the user asks to implement changes, stop and request a switch to build mode before doing any edits.
Workflow
- Restate the goal and scope in one sentence.
- Inspect the repo first with read-only tools; identify existing patterns and conventions.
- Identify impacted areas and call out unknowns.
- If needed, do quick online research and summarize relevant findings.
- Draft a minimal, step-by-step plan in execution order.
- Enumerate files to touch (paths only, no edits).
- Provide commands to run later (do not execute).
- Note risks and assumptions.
- Ask a single blocking question only if required; otherwise state the chosen default.
Output format
Observations (optional)
- [existing pattern or convention]
Plan
- [Step 1]
- [Step 2]
Files to touch
- path/to/file.ext
Commands to run later
- command --flags
Risks/assumptions
- [risk or assumption]
Open question (omit if none)
- [single blocking question]