forge-build
Skill2 starsChanged 6 months agoMITView on GitHub
Run Stage 6 of the Forge pipeline — implementation. Use when the user says
1 other project uses a version of this.
Adopted by
Most recently taken up by
- tinyorbit-ai/skillstheir own version, first seen Aug 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- tinyorbit-ai/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- forge-opencode/CLAUDE.mdCLAUDE.md
- forge-adoptSkill
- forge-arch-proSkill
- forge-archSkill
- forge-autopilotSkill
- forge-autopilot-stopSkill
- forge-build-proSkill
- forge-deploySkill
- forge-doctorSkill
- dreamer-runSkill
- forge-evalSkill
- forge-feedbackSkill
- flowSkill
- forge-force-advanceSkill
- graduateSkill
- health-checkSkill
- forge-initSkill
- forge-monitorSkill
- forge-orchestrateSkill
- forge-plan-proSkill
- forge-planSkill
- preflightSkill
- forge-product-proSkill
- forge-productSkill
- forge-releaseSkill
- forge-resolveSkill
- forge-resumeSkill
- forge-retroSkill
- forge-reviewSkill
- forge-rulesSkill
- forge-set-profileSkill
- skill-creatorSkill
- forge-spec-proSkill
- forge-specSkill
- forge-sprint-proSkill
- forge-sprintSkill
- forge-srs-proSkill
- forge-srsSkill
- forge-statusSkill
- forge-trace-matrixSkill
- forge-uninstallSkill
- forge-validateSkill
- watchSkill
- watch-stopSkill
- forge-whySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 6 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
If it exits non-zero, STOP: present its message verbatim and do not proceed — the prior stage must be completed first (or use …
- Very specific: line 30
Read pipeline/state.md — confirm Forge project.
- Very specific: line 32
Read build/05-implementation/progress.md (or create it) to identify the current task.
- Very specific: line 33
Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/check-gate.py --stage 5 to confirm Stage 5 gate passes.
- Distinctive: line 34
If gate fails, show what's missing and pause.
- Very specific: line 35
Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd .
- Very specific: line 39
Read agents/builder.md to load the Builder persona.
- Distinctive: line 41
Read the current task from the task DAG and the corresponding spec section.
- Very specific: line 42
Follow the Builder workflow: read before editing, implement, test, verify, commit.
- Very specific: line 44
If this is the first task: run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 6.
- Distinctive: line 48
Do not work silently — a long task (or batch) must be observable.
- Very specific: line 60
When invoked as /forge:build --milestone N, build every task in that milestone, one at a time, instead of a single task …
- Distinctive: line 67
If it warns "large batch" (N > 10 tasks), tell the user and ask whether to proceed or split before starting.
- Very specific: line 75
After the user fixes the failure, resume with /forge:build --milestone N --resume — build-batch.py --resume skips tasks already marked done …
- Distinctive: line 83
After each task, confirm:
- Distinctive: line 84
All specified files for the task exist
- Very specific: line 87
Commit created with feat(T-XXX): prefix
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/forge:build — Implementation
When to Use
- User says
/forge:build - User wants to implement a task, write code, or work through the task DAG
- Working in a Forge project at Stage 5 or 6
Pre-flight Check
Entry 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 6If 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).
- Read
pipeline/state.md— confirm Forge project. - Confirm
pipeline/05-plan/task-dag.mdexists. If not: "Complete Stage 5 first (/forge:plan)." - Read
build/05-implementation/progress.md(or create it) to identify the current task. - Run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/check-gate.py --stage 5to confirm Stage 5 gate passes. If gate fails, show what's missing and pause. - Run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd . --stage 6to load project-type overrides — these add build-stage criteria (e.g., fullstack: design tokens enforced, bundle budget, RSC boundary) that the Builder must respect.
Steps
- Read
agents/builder.mdto load the Builder persona. - Adopt that persona — you are now the Builder.
- Read the current task from the task DAG and the corresponding spec section.
- Follow the Builder workflow: read before editing, implement, test, verify, commit. Treat any
additional_criteriafrom the profile as additional pre-commit checks (run them or document why they're deferred). - Mark the task complete in
build/05-implementation/progress.md. - If this is the first task: run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 6.
Narrate Progress at Task Boundaries (REQ-INTERACTIVE-NARRATE-001)
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: which T-ID you are starting, e.g.
Starting T-207 — add auth middleware. - Result: the test/commit outcome, e.g.
T-207 ✓ 4 tests pass, committed feat(T-207). - Next: what comes next, e.g.
Next: T-208(orNext: 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 Batch Mode (--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):
- Get the ordered task list (dependency order):
If it warns "large batch" (N > 10 tasks), tell the user and ask whether to proceed or split before starting.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/build-batch.py --milestone N --cwd . - For each T-ID in that order, run the full single-task Steps above:
Builder persona → implement → tests → one commit
feat(T-XXX): …→ mark done in progress.md. No batched commits, no batched tests. - Pause on the first failure (red tests, gate failure, or a hook block): stop the batch, report which T-ID failed and why, and leave the preceding task commits in place. Do not continue to later tasks.
- After the user fixes the failure, resume with
/forge:build --milestone N --resume—build-batch.py --resumeskips 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.
Verification
After each task, confirm:
- All specified files for the task exist
- Tests pass (
bash -c "pytest tests/ -q"or equivalent) - Task marked done in progress.md
- Commit created with
feat(T-XXX):prefix
Next Step
Derive 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.)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

