From forge
Phase transition rules and completion criteria for Forge 9-phase workflow
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:skills/phase-transitionsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill defines the 9-phase operational workflow and transition rules.
This skill defines the 9-phase operational workflow and transition rules.
| Phase | Name | Strict | Completion Criteria |
|---|---|---|---|
| 0 | Input Normalization | YES | Intent captured, scope identified |
| 1 | Semantic Routing | no | Decision axes identified |
| 2 | Codebase Reality | no | Reality description complete |
| 3 | Mismatch Evaluation | no | Mismatch evaluated (skip if no mismatch) |
| 4 | Structured Questioning | YES | All questions answered |
| 5 | Option Synthesis | no | Options presented |
| 6 | Workflow Creation | no | Workflow defined or skipped |
| 7 | Execution | YES | User confirmation received, execution complete |
| 8 | Validation | no | All validations passed |
These phases block non-allowed tools:
These phases warn but do not block:
[0: Input Normalization] ──(intent captured)──> [1: Semantic Routing]
│
│ (STRICT: must complete before proceeding)
│
[1: Semantic Routing] ──(axes identified)──> [2: Codebase Reality]
│
[2: Codebase Reality] ──(description complete)──> [3: Mismatch Evaluation]
│
[3: Mismatch Evaluation] ─┬─(mismatch found)──> [4: Structured Questioning]
│
└─(no mismatch)──> [5: Option Synthesis]
│
[4: Structured Questioning] ──(answers received)──> [5: Option Synthesis]
│
│ (STRICT: must follow Dialogue Contract)
│
[5: Option Synthesis] ──(options presented)──> [6: Workflow Creation]
│
[6: Workflow Creation] ─┬─(workflow defined)──> [7: Execution]
│
└─(no workflow)──> [7: Execution]
│
[7: Execution] ──(user confirmation)──> [execution proceeds]
│
│ (STRICT: requires user confirmation)
│
[7: Execution] ──(execution complete)──> [8: Validation]
│
[8: Validation] ──(all passed)──> [COMPLETE]
When a workflow is confirmed in Phase 7:
workflow_version is set to 1If the workflow is modified:
workflow_version incrementsworkflow_confirmed resets to falseconfig/phase-definitions.yaml for machine-readable definitionsscripts/forge-daemon.py for state managementscripts/pretool-hook.py for enforcementnpx claudepluginhub chkim-su/forge --plugin forgeOrchestrates 5-phase TDD workflow for complex features: plan/design, failing tests (RED), implementation (GREEN), refactor/review, finalize. Fasttrack mode for pre-approved specs; avoid simple bug fixes.
Orchestrates complex multi-step tasks with automatic retry, memory, and validation. Useful for breaking down large objectives into verified modules.
Orchestrates multi-phase project execution by dispatching dedicated persona agents for planning, execution, verification, and review. Use after spec approval for automated phase chaining.