plan · disler — Claude Code slash command: implementation plan in specs/
Turns a task description into a step-by-step implementation plan saved under specs/. Useful when a feature needs thinking through before any code.
no license ★ 3,990 updated 2026-03-04
.claude/commands/claude-code-hooks-mastery-plan.mdWhat plan does
Give the command a task in its argument and it writes a markdown plan into specs/. The wording gets parsed first; then the command reads the codebase on its own, no subagents, to pick up existing patterns and structure. It also sorts the request by kind and by scale, which decides what the document contains.
Every plan carries the task description, the goal, the files that matter, ordered steps and acceptance criteria. Features and bigger jobs gain a problem statement, a solution approach, phases and a testing strategy. Validation commands close the file. Names are kebab-case, taken from the topic.
Skip the argument and it stops, asking for one. The command ships as .claude/commands/claude-code-hooks-mastery-plan.md; invocation follows the filename, so renaming it to plan.md gives a short /plan.
What it helps with
- turn a rough feature request into ordered steps
- write acceptance criteria before coding starts
- list the files the change will touch
- attach validation commands to the plan
- keep the plan in the repo next to the code
Example prompts for the agent
/claude-code-hooks-mastery-planAdd CSV export to the orders page/claude-code-hooks-mastery-planMove the API layer onto the new client/claude-code-hooks-mastery-planFix the race when saving profile settings
How to install plan
Manually: put the files in place
.claude/commands/claude-code-hooks-mastery-plan.mdThe built-in /plan overrides a file with the same name, so the file is renamed. Call it with /claude-code-hooks-mastery-plan. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/plan.mdCall it with /prompts:plan. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/plan.prompt.mdManually: put the files in place
.gemini/commands/plan.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about plan
How to install plan in Claude Code?
Place the command file at .claude/commands/claude-code-hooks-mastery-plan.md inside your project. The filename sets the invocation name.
What does plan do?
It reads your task, inspects the codebase and saves a detailed implementation plan to specs/ that you can develop against.
What happens without an argument?
The command halts and asks you for the task text. No plan file gets written.
Similar slash commands
All slash commands for Agent setup: memory, context, orchestration →plan by other authors comes first.