agentleFS
helderbertohelderberto/agent-skills/skills/build/SKILL.md

build

Skill19 starsChanged 32 days agoMITView on GitHub

Implement the next unblocked ticket test-first and commit it, or fan every ticket out to parallel subagents with `--all`.

156 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use backprop, finances and 10 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.
  • JuliusBrusseeSkill

    backprop

    Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.

    Also in 4 projects that use this

  • GerardoRdz96Skill

    finances

    Use when Gera talks about his money — logging an expense ("I spent X on Y"), checking where he stands this pay-period, closing a period, planning debt payoff, onboarding his financial picture, or asking for budgeting/finance opinions. Servy's financial brain. Triggers — "I spent", "log this expense", "where am I this period", "close the period", "how's my budget", "debt plan", "should I pay off", "finances onboard", "/finances".

    Also in 3 projects that use this

  • cpiprintSkill

    favicon

    Generate favicons from a source image

    Also in 3 projects that use this

  • madeehahassanSkill

    Go-Live

    Pre-launch checklist. Use before making any app public, sharing a link externally, or announcing a product launch. Adapts to Claude Code, claude.ai, and Cowork.

    Also in 3 projects that use this

  • JuliusBrusseeSkill

    deepen

    Optional design-improvement pass for when you have spare usage to drain. Finds the shallowest modules in the code the spec touches, researches a deeper design, and proposes refactors that shrink interfaces and hide decisions — behavior held constant, tests green before and after. Proposes §I/§V/§T edits, never silent rewrites. Triggers when the user says "deepen this", "improve the design", "this module feels shallow", "pull complexity down", "use spare budget on the codebase", or invokes /ck:deepen. Leans on the codebase-design skill's deep-module vocabulary when present.

    Also in 3 projects that use this

  • synaptiaiSkill

    gate

    Create a BDSK review_gate artifact. Defines a checkpoint that controls whether generated output may proceed toward acceptance. Use when defining quality, security, or scope gates for execution plans.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 143 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Tracker: follow .specs/issue-tracker.md, else the local default, for where specs and tickets live and when a ticket is done.

    line 15
  2. Distinctive:

    Read the spec's tickets from the tracker.

    line 25
  3. Very specific:

    All tickets complete → "All tickets complete." Stop with Next: /hb:review.

    line 27
  4. Very specific:

    Call the Skill tool with check (auto-fix on).

    line 41
  5. Distinctive:

    Every remaining ticket after one approval, fanned out to implementer subagents across the ready frontier.

    line 68
  6. Very specific:

    Read the spec's tickets from the tracker.

    line 72
  7. Distinctive:

    never ticks boxes or closes tickets, and reports in a few lines: branch, commits, which criteria hold.

    line 86
  8. Distinctive:

    All tickets done → review the integration branch against its base along quality axes and smells.

    line 93
  9. Very specific:

    Remove every implementer worktree and merged build/<slug>-* branch.

    line 94
  10. Distinctive:

    No subagent support → run the workflow per ticket in blocking order instead, committing each without asking, scoped to that ticket's files, …

    line 97

“Common” is measured: kept by at least 6 in 10 of the 143 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

Implement the next unblocked ticket — one ticket per invocation. --all fans every remaining ticket out to implementer subagents after one approval (below).

Input

Tracker: follow .specs/issue-tracker.md, else the local default, for where specs and tickets live and when a ticket is done.

$ARGUMENTS is the spec ref (or an @path to a tickets file). Empty → ask for it.

Free text (an S change: one commit, no tickets) → on the default branch, offer feat/<slug> first, as in step 2. Then call the Skill tool with tdd for it, regression test first for a bug, run steps 4, 6, and 7 as one ticket with one commit, and end with Next: /hb:review.

Workflow

1. Find the next unblocked ticket

Read the spec's tickets from the tracker. The next ticket is the first not done and whose blockers (if declared) are all done. If the first incomplete ticket is blocked, pick the next unblocked one and say why.

All tickets complete → "All tickets complete." Stop with Next: /hb:review.

2. Present the ticket

Show the title, its hitl label if any, and unchecked items. If on the default branch, offer to create feat/<slug> (Recommended) before touching code.

3. Implement

For each unchecked item, in order: read the architectural decisions and the item's context, explore the surrounding code, and follow the project's conventions (CLAUDE.md, linter, test setup). Call the Skill tool with tdd at the ticket's seams — the ones its acceptance criteria name. Completion: every item's test went red before it went green.

Stay inside the ticket boundary — never implement items from other tickets. Never impose conventions the project doesn't already use.

4. Feedback loops

Call the Skill tool with check (auto-fix on). Fix and re-run until green. A check still failing after 3 attempts is a blocker: report the last error and ask whether to wait, skip the check, or abort the ticket.

Anything the agent cannot provide (API key, external service, manual setup, design decision) is also a blocker — ask, never work around it silently.

5. Mark checkboxes

Tick the completed items' boxes in the tracker. This is the only tickets edit; the spec is read-only.

6. Summarize

CHANGES MADE:
- <file>: <what changed>
THINGS I DIDN'T TOUCH:
- <file or area>: <why it stayed out of scope>
POTENTIAL CONCERNS:
- <assumption or risk to confirm>

7. Offer commit

"Ticket N complete — all checks pass. Commit?" If yes, call the Skill tool with commit, passing the ticket's files (.specs/ only when the project commits specs) and the tracker's commit ref, if any. Then close the ticket the tracker's way. Never push.

Next: /hb:build <slug> for Ticket N+1, or /hb:review once every ticket is done.

--all

Every remaining ticket after one approval, fanned out to implementer subagents across the ready frontier. The tickets are a task graph, not a list of steps: the frontier is every unchecked ticket whose blockers are all done.

Gate

  1. Read the spec's tickets from the tracker. None → stop with Next: /hb:to-tickets <spec ref>.
  2. git status --porcelain must be clean apart from .specs/. Anything else → ask the user to commit, stash, or confirm. Merges never absorb unrelated work.
  3. Present the task graph (every remaining ticket, its blocked-by edges, its hitl label, the first frontier) and wait for an unambiguous yes ("go", "approve", "yes"). Hedged answers ("looks reasonable", "I guess") are not approval. This approval also covers tdd's seam confirmation for each ticket.

Orchestrate

You are the orchestrator. You own the integration branch and the tickets file, and you write no feature code.

  1. Integration branch: the current branch, or feat/<slug> when on the default branch.
  2. Explore (optional): tickets that need codebase or docs exploration → one Explore subagent saves notes to <tmpdir>/build-<slug>/notes.md, outside the repo, so implementers build instead of explore.
  3. Fan out: spawn one general-purpose implementer per frontier ticket, all in one message, in the background, each in its own git worktree (isolation: worktree) on branch build/<slug>-<n>. Brief with context pointers, never copies: the spec and ticket refs, the spec, and the notes, plus the integration branch name. .specs/ is often gitignored, so a worktree lacks it. Each implementer:
    • confirms its worktree is based on the integration branch tip, and resets onto it if not; installs dependencies if the worktree lacks them;
    • calls the Skill tool with tdd for its ticket's acceptance criteria, then with check, then with commit with the tracker's commit ref, one skill per call;
    • merges the integration branch tip into its branch before reporting;
    • never ticks boxes or closes tickets, and reports in a few lines: branch, commits, which criteria hold.
  4. Merge: as each implementer reports, merge its branch into the integration branch. A conflict → a merger subagent resolves it there and runs check. Then tick its boxes and close it the tracker's way.
  5. Refill: a merge that unblocks tickets → spawn implementers for the new frontier at once, without waiting for the rest of the wave.
  6. Stop and ask before spawning a hitl ticket, when an implementer reports a check still red after 3 fixes, when the spec is ambiguous or silent on a needed decision, or when a ticket does something git revert can't undo: auth or permission changes, destructive migrations, payments, deletes, deploys, secrets. Running implementers keep going. Rerunning /hb:build <slug> --all resumes at the current frontier.

Close

  1. All tickets done → review the integration branch against its base along quality axes and smells. One implementer fixes the Critical findings and Suggestions; list the rest.
  2. Remove every implementer worktree and merged build/<slug>-* branch.
  3. Summarize: tickets completed, tests added, merges made, anything skipped or flagged. End with Next: /hb:review.

No subagent support → run the workflow per ticket in blocking order instead, committing each without asking, scoped to that ticket's files, never git add -A.

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.