plan
Development planning and architecture
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Development planning and architecture
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
Spec-driven development — brainstorm, plan, review, and execute with quality gates. Triggers on: spec, brainstorm and build, plan and execute, idea to code, build from scratch.
Spec-driven development — brainstorm, plan, review, and execute with quality gates. Triggers on: spec, brainstorm and build, plan and execute, idea to code, build from scratch.
Developer workflow hub — routes to the right skill based on what you need. Triggers on: attune, what can attune do, what can you do, capabilities, where do I start, get started.
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
| name | plan |
| description | Development planning and architecture |
Development planning and architecture design.
| Subcommand | Action |
|---|---|
feature | Plan a new feature |
refactor | Plan refactoring |
architecture | Architecture review |
/plan # Ask what to plan
/plan feature # Plan a feature
/plan refactor # Plan refactoring
/plan architecture # Architecture review
All planning tasks use EnterPlanMode to create
a structured plan for user approval before any
implementation.
After every plan is approved, follow the Post-Plan Handoff process.
Use AskUserQuestion to understand:
Then use EnterPlanMode to design the implementation
plan. After approval, follow Post-Plan Handoff.
Use AskUserQuestion to understand:
Then use EnterPlanMode to plan the refactoring.
After approval, follow Post-Plan Handoff.
Use AskUserQuestion to understand:
Then analyze the codebase structure and provide architectural recommendations. If the review produces actionable changes, follow Post-Plan Handoff.
This section applies to ALL routes after a plan is approved.
Save the approved plan to .claude/plans/ using
the Plan File Format below.
File naming convention:
{route}-{slug}-{YYYY-MM-DD}.md
Examples:
refactor-auth-module-2026-02-22.mdfeature-dark-mode-2026-02-22.mdEnsure .claude/plans/ directory exists before
writing.
Use AskUserQuestion to ask:
question: "Plan saved to .claude/plans/{filename}.
Ready to execute?"
header: "Next"
options:
- label: "Execute now"
description: "Start implementing — I'll carry
the plan context forward so you won't need
to re-explain anything"
- label: "Save for later"
description: "Plan is saved — pick it up later
with /dev {route}"
| Plan Route | Execute Via |
|---|---|
/plan feature | /dev (implement directly) |
/plan refactor | /dev refactor |
/plan architecture | (analysis only — no auto-execute) |
/dev {route} in a future session.All saved plans MUST use this format:
# {Title}
**Created:** {YYYY-MM-DD}
**Source:** /plan {route}
**Route:** {route}
**Status:** pending
## Problem
{1-2 sentence problem statement}
## Goals
- {Must-have 1}
- {Must-have 2}
- {Nice-to-have (marked as such)}
## End State
{Concrete description of what "done" looks like}
## Scope
- **Files:** {list of target files/directories}
- **Type:** {refactor | feature | architecture}
## Approach
1. {Step 1 with specific file references}
2. {Step 2}
3. {Step 3}
## Open Questions
- {Anything unresolved}
The Route and Status fields are required
for /dev plan detection. Update Status to
in-progress when execution begins and completed
when done.