Comprehensive 9-step development workflow ensuring quality through planning, implementation, review, testing, and documentation with worktree isolation. Includes agent assignments, quality gates, and AskUserQuestion usage. Use when orchestrating feature development or understanding the development process.
Orchestrates a comprehensive 9-step development workflow with worktree isolation. Claude uses this when starting feature development to enforce planning, user approval, code review, testing, and documentation phases with quality gates at each stage.
/plugin marketplace add binee108/nine-step-workflow-plugin/plugin install nine-step-workflow@lilylab-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Standardized 9-step development workflow ensures all feature development goes through planning, review, implementation, testing, and documentation.
<!-- CUSTOMIZE: Adjust language based on project conventions -->Step 1: Plan → Step 2: Review → Step 2.5: User Approval ⭐
↓ (worktree creation)
Step 3: Code → Step 4: Review → Step 5: Docs → Step 6: Review
↓
Step 7: Test → Step 8: Review → Step 9: Commit
Core Principle: Steps 3-9 all execute within the same worktree.
| Step | Agent | Model | Location |
|---|---|---|---|
| 1 | project-planner | Sonnet | Main |
| 2 | plan-reviewer | Sonnet | Main |
| 2.5 | User + git-worktree-manager | - / Haiku | Main |
| 3 | backend/frontend-developer | Dynamic | Worktree |
| 4 | code-reviewer | Sonnet | Worktree |
| 5 | documentation-manager | Haiku | Worktree |
| 6 | documentation-reviewer | Haiku | Worktree |
| 7 | feature-tester | Haiku | Worktree |
| 8 | test-reviewer | Dynamic | Worktree |
| 9 | git-worktree-manager | Haiku | Worktree |
| Agent | Constraint |
|---|---|
| documentation-manager | {{MAX_DOC_LINES}} line response limit - Batch work required |
| feature-tester | {{TEMP_TEST_DIR}}/ cleanup required - Remove temp files after testing |
| test-reviewer | {{PERM_TEST_DIR}}/ immutability guardian - Approve {{PERM_TEST_DIR}}/ modifications extremely strictly |
| git-worktree-manager | 4-step cleanup sequence - plan→services→worktree→branch |
Required Usage Scenarios:
Standard Question Format: 3-5 options, pros/cons + estimated effort, recommended option
📍 Working Context
- Worktree Path: .worktree/{{feature-name}}/
- Branch: feature/{{feature-name}}
- Current Phase: Phase X - {{Phase description}}
- Current Step: Step Y ({{Step name}})
- Work Scope: {{Specific files/directories list}}
Other Skills Used:
@worktree-path-policy - Steps 3-9 working directory policy@phase-decomposition - Phase breakdown strategy (1-3h units)@code-minimization - Code addition justification criteria@git-workflow-policy - Git commit, merge, cleanup policy@interactive-questions - When user decision needed@test-file-management - {{PERM_TEST_DIR}}/ vs {{TEMP_TEST_DIR}}/ managementModel Selection:
@agent-model-selection - Sonnet vs Haiku selection criteriaResponsibilities:
Deliverable: .plan/{{feature_name}}_plan.md
Skills Used:
Responsibilities:
Deliverable: Approval status (4-tier: APPROVED, APPROVED_WITH_CONDITIONS, NEEDS_REVISION, REJECTED)
Skills Used:
Responsibilities:
Deliverable: .worktree/{{feature-name}}/ directory, feature/{{feature-name}} branch
Critical: No Step 3 without this approval
Responsibilities:
Deliverable: Working code for current phase
Skills Used:
Responsibilities:
Deliverable: Approval status with detailed feedback
Skills Used:
Responsibilities:
Deliverable: Complete documentation (< {{MAX_DOC_LINES}} lines)
Skills Used:
Constraint: {{MAX_DOC_LINES}}-line response limit - batch large docs
Responsibilities:
Deliverable: Approval status
Skills Used:
Responsibilities:
Deliverable: Test results report
Skills Used:
Constraint: Must clean {{TEMP_TEST_DIR}}/ after completion
Responsibilities:
Deliverable: Approval status
Skills Used:
Critical: {{PERM_TEST_DIR}}/ modifications approved extremely strictly
Responsibilities:
Deliverable: Git commit for current phase
Skills Used:
Note: Commit message includes rationale and scope
Phase = Feature/component implementation unit (Phase 1, Phase 2, ...) Step = Workflow stage within each phase (Step 1-9)
Structure:
Phase 1: {{Component Name}}
Step 1-9 (Complete 9-step workflow)
Phase 2: {{Component Name}}
Step 1-9 (Repeat 9-step workflow)
Phase 3: {{Component Name}}
Step 1-9 (Repeat 9-step workflow)
Execution:
After all Phases complete:
rm .plan/{{feature_name}}_plan.md
cd .worktree/{{feature-name}} && {{cleanup_command}}
git worktree remove .worktree/{{feature-name}}
git branch -d feature/{{feature-name}}
For detailed step-by-step guide, see reference.md For practical examples, see examples.md
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.