From forge
Run Stage 6 of the Forge pipeline — implementation. Use when the user says /forge:build, wants to start coding, implement a feature, or work the task DAG. Requires Stage 1–5. Invokes the builder persona. Works one task at a time.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:forge-buildThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- User says `/forge:build`
/forge:buildEntry gate (REQ-GATE-ENTRY-001) — before adopting the persona, verify the prior stage's artifact exists:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py preflight --stage 6
If it exits non-zero, STOP: present its message verbatim and do not proceed —
the prior stage must be completed first (or use /forge:force-advance to skip
intentionally).
pipeline/state.md — confirm Forge project.pipeline/05-plan/task-dag.md exists. If not: "Complete Stage 5 first (/forge:plan)."build/05-implementation/progress.md (or create it) to identify the current task.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/check-gate.py --stage 5 to confirm Stage 5 gate passes.
If gate fails, show what's missing and pause.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd . --stage 6 to load project-type overrides — these add build-stage criteria (e.g., fullstack: design tokens enforced, bundle budget, RSC boundary) that the Builder must respect.agents/builder.md to load the Builder persona.additional_criteria from the profile as additional pre-commit checks (run them or document why they're deferred).build/05-implementation/progress.md.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 6.Do not work silently — a long task (or batch) must be observable. At every task boundary, narrate three things in one short line so the user can follow along:
Starting T-207 — add auth middleware.T-207 ✓ 4 tests pass, committed feat(T-207).Next: T-208 (or Next: milestone done).This applies to both single-task /forge:build and --milestone N batches; in a
batch the tool layer also prints a [Forge] task T-XXX — starting line per task.
--milestone N)When invoked as /forge:build --milestone N, build every task in that milestone,
one at a time, instead of a single task (REQ-BUILDBATCH-001):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/build-batch.py --milestone N --cwd .
If it warns "large batch" (N > 10 tasks), tell the user and ask whether to
proceed or split before starting.feat(T-XXX): … →
mark done in progress.md. No batched commits, no batched tests./forge:build --milestone N --resume — build-batch.py --resume skips tasks
already marked done in progress.md, so the batch picks up at the failed task.Plain /forge:build (no flag) keeps the single-task behavior unchanged.
After each task, confirm:
bash -c "pytest tests/ -q" or equivalent)feat(T-XXX): prefixDerive the hint from the canonical stage table — never hardcode it (REQ-NEXTHINT-001, single source of truth). Run the helper and present its output to the user verbatim:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py next-hint --stage 6
(While tasks remain in the plan, keep running /forge:build per the workflow
above; the hint above is the cross-stage handoff once the milestone is done.)
npx claudepluginhub tonmoy007/forge-pluginsGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.