| description | Investigate a task and write a self-contained PLAN.md |
|---|---|
| model | fable |
Investigate the following task and write an implementation plan to PLAN.md at the repo root. Do not modify any other files.
Task: $ARGUMENTS
The plan will be executed by a separate Claude Code session with no memory of this conversation, so PLAN.md must be fully self-contained:
- Context: what the task is and why, in 2-3 sentences
- Relevant files: every file to be created or modified, with full paths
- Current behavior: how the affected code works now (reference specific functions/classes you found while investigating)
- Implementation steps: numbered, ordered steps. Each step names the file, describes the exact change, and includes code snippets where the change is non-obvious
- Constraints: things the executor must NOT do (APIs to avoid, patterns to preserve, files to leave untouched)
- Verification: how to confirm each step works (commands to run, expected output)
Assume the executor is competent but will not re-investigate. Anything you discovered that matters must be written down.
run with using /plan