build
Skill2 starsChanged 6 months agoMITView on GitHub
Invoke the build-coordinator to execute a plan through sequential build phases — scaffold → happy-path → edge-case → tests → docs → refactor. Each phase is a specialist agent constrained by `.claude/rules/`. Resumes from the last completed phase if interrupted
76 other projects use a version of this.
Adopted by
Most recently taken up by
- mattdweigand-sketch/agent-skillstheir own version, first seen Oct 6, 2026
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- Jakeschincariol/master-skillstheir own version, first seen Oct 4, 2026
- ccrouse-mvc/build-skilltheir own version, first seen Oct 4, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- guardana/guardanatheir own version, first seen Sep 30, 2026
Used with
Projects with it also use incident, experiment and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pvnarpSkillincident
Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.
Also in 3 projects that use this
sunnnybalaSkillexperiment
Design and run ML experiments on cloud GPUs. Generates experiment code, runs on Modal, tracks results in JSONL. Use when asked to "run experiments", "train a model", "test this hypothesis", or "benchmark this approach". Proactively invoke when the user has a refined research idea and needs to validate it experimentally.
Also in 3 projects that use this
SentrySkillspec
Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.
Also in 9 projects that use this
AnthropicSkillbrief
Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
Also in 5 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 13 projects that use this
allieraysSkillexplain
Explain what code does line by line so you can understand and learn from it.
Also in 6 projects that use this
Other versions76 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 76
- microsoft/microsoft-ui-xaml★ 8.5ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- GoogleCloudPlatform/gcsfuse★ 2.3ksame name
- JuliusBrussee/cavekit★ 1.1ksame name
- suboss87/FDEOps★ 950same name
- erikdarlingdata/PerformanceMonitor★ 510same name
- platformplatform/PlatformPlatform★ 440same name
- SensorsIot/Embedded-AI-Harness★ 185same name
- guardana/guardana★ 145same name
- Azure/cosmos-explorer★ 131same name
66 more not listed
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 repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- improveSkill
- teamSkill
- ccf-architecture-contractSkill
- ccf-build-and-envSkill
- ccf-change-controlSkill
- ccf-debugging-playbookSkill
- ccf-doc-sync-campaignSkill
- ccf-dogfood-and-driftSkill
- ccf-domain-referenceSkill
- ccf-failure-archaeologySkill
- ccf-onboarding-tourSkill
- ccf-parity-playbookSkill
- ccf-release-and-installSkill
- ccf-testing-and-qaSkill
- improveSkill
- teamSkill
- add-referenceSkill
- ai-updateSkill
- app-blueprintSkill
- check-readinessSkill
- deploySkill
- developSkill
- draft-storySkill
- error-analyzeSkill
- factorySkill
- fetch-docsSkill
- generate-internal-appSkill
- impactSkill
- improveSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- promoteSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 71 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Read .claude/state/plan-<branch>.md.
- Distinctive: line 26
Verify no blocking questions remain in the plan.
- Distinctive: line 79
After the refactor phase:
- Very specific: line 110
Use --skip for trivial work:
“Common” is measured: kept by at least 6 in 10 of the 71 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build — Multi-Agent Implementation
A specialist-driven implementation of the current plan. The build-coordinator agent runs build phases in sequence, each handled by a focused specialist. Each specialist actively applies the project's .claude/rules/ so the eventual review pass finds little to flag.
Usage
/build — execute the current plan from the next un-completed phase
/build --from happy-path — start (or restart) from a specific phase
/build --skip docs — skip a phase (useful for non-doc-touching work)
/build --redo edge-case — redo a previously-completed phase
/build --reset — discard build-state and start freshProcess
Phase 1: Verify Plan Exists
Read .claude/state/plan-<branch>.md. If absent, tell the user to run /plan first.
Verify no blocking questions remain in the plan. If they do, refuse to start.
Phase 2: Spawn the Build Coordinator
Spawn build-coordinator as a sub-agent:
Invoke build-coordinator. Read .claude/state/plan-<branch>.md and
.claude/state/build-state-<branch>.json (if exists).
Resume from the next un-completed phase.
Run safety gates (type-check, tests) after each phase.
On phase failure, surface and stop; do not advance.The coordinator handles:
- Reading the plan + build-state
- Determining next phase
- Spawning the right specialist for that phase
- Running gate checks (type-check, tests) after the phase
- Persisting phase results to
build-state.json - Advancing or stopping based on gate result
Phase 3: Phase-by-Phase Execution
The coordinator runs phases sequentially:
| # | Phase | Specialist | Outputs |
| 1 | scaffold | scaffold-implementer | File structure, types, signatures, stubs |
| 2 | happy-path | happy-path-implementer | Core successful flow logic |
| 3 | edge-case | edge-case-implementer | Validation, errors, edge data |
| 4 | test | test-writer (existing) | Tests per the plan's test strategy |
| 5 | docs | documentation-writer (existing) | Doc updates |
| 6 | refactor | refactor-pass-implementer | Apply code-quality rules actively |
Each specialist:
- Reads the plan and the prior phase's build-state
- Reads relevant
.claude/rules/files actively (not just via passive injection) - Writes/edits files
- Appends to
build-state.json - Returns a report
Phase 4: Surface After Each Phase
The coordinator surfaces:
- What the phase did (files touched, key decisions)
- Gate result (PASS / FAIL on type-check / tests)
- Next phase + estimated work
The user can pause here and inspect, or continue (/build again).
Phase 5: On Build Complete
After the refactor phase:
- Final type-check + tests
- Tell user to run
/iterative-reviewfor the review-coordinator pass - The review pass should find few or no findings — if it finds many, the rules need tuning or the build agents need improvement
State Files
| File | Owner | Purpose |
.claude/state/plan-<branch>.md | /plan skill | Input — read by every phase |
.claude/state/build-state-<branch>.json | Build coordinator | Append-only phase log; resumption point |
Branch names with / are sanitized to - for filenames.
Specialists and Their Rules
Each build specialist actively reads and writes against specific rules:
| Specialist | Reads / writes against |
scaffold-implementer | architecture-layering, api-layering, project conventions in CLAUDE.md |
happy-path-implementer | purity, complexity, code-smells, layer-specific rules per file type |
edge-case-implementer | error-handling, auth-security, data-protection, api-routes, api-layering |
test-writer | tests |
documentation-writer | (no rule binding; follows project doc conventions) |
refactor-pass-implementer | code-smells, dry, purity, complexity (actively refactors to satisfy them) |
Goal: when /iterative-review runs after /build completes, the 4 code-quality reviewers (code-smell-reviewer, dry-reviewer, purity-reviewer, complexity-reviewer) should produce minimal findings on the new code. The rules are followed during writing, not just enforced after.
Skipping Phases
Use --skip for trivial work:
| Story type | Recommended skips |
| Docs-only PR | --skip scaffold,happy-path,edge-case,test,refactor |
| Bug fix in existing function | --skip scaffold,docs |
| Refactor-only PR | --skip scaffold,happy-path,edge-case,docs |
| Test-coverage PR | --skip scaffold,happy-path,edge-case,docs,refactor |
For very small work where even sequencing is overkill, just use /develop.
Edge Cases
| Scenario | Behavior |
| No plan exists | Refuse; tell user to run /plan |
| Plan has blocking questions | Refuse; surface them |
| Phase fails type-check | Surface; do not advance; user fixes or re-runs |
| Phase fails tests | Surface; user decides |
| Build-state corrupted | Offer to reset (--reset) |
| User edited files between phases | Subsequent phases pick up changes (state is on disk, not in-memory) |
| New plan version arrived | Confirm continue with new plan or stay |
Related
build-coordinatoragent — the agent this skill spawns/plan— must run first to produce the plan this consumes/iterative-review— runs after build to validate; should find little/develop— single-agent path for trivial work/factory— end-to-end orchestration that may chain/plan→/build→/iterative-review→ PRdocs/finding-schema.md— JSONL output schema for any agent emissions
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.

