agentleFS
wheslleyrimarwheslleyrimar/BuildCLI-Agents/.claude/skills/build/SKILL.md

build

Skill0 starsChanged 3 months agoMITView on GitHub

Execute a worklist band by band, scheduled by the runtime, with live progress and sub-agent fan-out.

76 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • pvnarpSkill

    incident

    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

  • sunnnybalaSkill

    experiment

    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

  • SentrySkill

    spec

    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

  • AnasX7Skill

    improve

    Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 17 projects that use this

  • AnthropicSkill

    debug

    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

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 71 edited versions we read keep these.

  • 4

    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
  1. Very specific:

    Run .buildcli/runtime/bcx graph.

    line 30
  2. Distinctive:

    Ask the runtime what can start:

    line 32
  3. Distinctive:

    Run the suite and record the result:

    line 55
  4. Very specific:

    Never read .buildcli/context.md.

    line 114
  5. Distinctive:

    Never resolve a cross-band ripple inside the unit that found it.

    line 115
  6. Distinctive:

    Update TodoWrite and the runtime together — a unit marked done in one and not the other is a lie.

    line 116

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build

Arguments

(optional) Path to a blueprint directory. Omitted → the runtime reads the active pointer.

Output

Code changes + a build report.

Resolving the blueprint

The runtime resolves it. Do not read the pointer file yourself.

.buildcli/runtime/bcx active          # the active blueprint, or an error telling you to run /brief
.buildcli/runtime/bcx graph           # units, critical path, and any structural problem

.buildcli/runtime/bcx graph exits non-zero when the worklist is not schedulable — a dependency cycle, an unknown band tag, a unit with no check. Fix those before building anything; a cycle means the plan is wrong, not the code.

Steps

  1. Run .buildcli/runtime/bcx graph. Non-zero exit → report the problems and stop.
  2. Register every unit in TodoWrite as pending before touching a file.
  3. Ask the runtime what can start:
    .buildcli/runtime/bcx next --json
    It returns the ready units grouped by band — unblocked, dependencies satisfied. That grouping is the fan-out plan; you do not compute the order yourself.
  4. For each unit:
    .buildcli/runtime/bcx claim W03            # marks it in progress; the write gate now scopes to its band
    .buildcli/runtime/bcx band service         # load exactly the band that unit belongs to
    a. Flip the unit to in_progress in TodoWrite. b. Load .claude/skills/<band>/SKILL.md. c. Write the smallest change that satisfies the unit's check. d. Close it out:
    .buildcli/runtime/bcx done W03                            # or:
    .buildcli/runtime/bcx block W03 --reason "<what stopped it>"
    e. Anything that ripples into another band becomes a follow-up unit, never an in-place fix. With the harness enforced, the write gate will block you from touching another band's files while this unit is claimed. That block is the design working, not an obstacle.
  5. Repeat from step 3 until .buildcli/runtime/bcx next reports nothing ready.
  6. Run the suite and record the result:
    .buildcli/runtime/bcx verify
  7. Emit the report.

Sub-agent fan-out

.buildcli/runtime/bcx next --json returns more than one band → those groups are independent and can run concurrently. Spawn one sub-agent per band and hand each:

  • its unit list, from the runtime's output
  • its own identity, and the instruction to pass --agent <id> on every runtime command
  • the path to its band skill, .claude/skills/<band>/SKILL.md
  • the instruction to load context with .buildcli/runtime/bcx band <band> and nothing else
  • brief.md, for reference

Enforcement survives the fan-out only if each worker is distinguishable. The gate resolves the caller's own claim and holds it to that band, so named workers each stay inside their own. Give every worker a distinct --agent, and export a matching BCX_AGENT_ID in its environment — the gate runs as a hook subprocess and reads the environment, since a hook event carries no agent field.

Where the host cannot give each worker its own environment, they all look like one caller, the band is ambiguous again, and the gate allows everything. That is not a new failure — it is how the gate behaved before identities existed — but it is invisible unless you look. .buildcli/runtime/bcx doctor names it: two live claims sharing one owner is reported precisely because enforcement does not error in that state, it silently stops. Check it once at the start of a fan-out.

Bands ready in parallel are not the same as files that do not collide. Two bands can own edits to the same file; .buildcli/bands.json is what makes the separation real, and a project without one gets no path enforcement at all. Fan out on disjoint files, not just disjoint bands.

Merge the sub-agent results before reporting.

Output

## Build Report — <feature>

### Landed
- [band] W01: what it does → files changed

### Blocked
- W05: reason

### Cross-band follow-ups
- [service → interface] what needs attention

### Verification
- command: npm test
- result: PASS (exit 0)

### Quality gates
- Gate name: Pass | Fail

Rules

  • Let the runtime schedule. Never hand-derive the dependency order from the markdown.
  • Never read .buildcli/context.md. One band, through .buildcli/runtime/bcx band.
  • Never resolve a cross-band ripple inside the unit that found it.
  • Update TodoWrite and the runtime together — a unit marked done in one and not the other is a lie.
  • One concern per unit — no feature, fix, and refactor bundled into a single step.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.