/hb:build [spec-ref | @tickets-file] [--all]from hb
Implements the next unblocked ticket from a project tracker using test-first development, with support for parallel subagent execution via --all flag.
Ships in hb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Implement the next unblocked ticket — one ticket per invocation. --all fans every remaining ticket out to implementer subagents after one approval (below).
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.
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.
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.
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. While iterating, run the type checker and only the test files you touched; the full suite runs once, in step 4. 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.
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.
Tick the completed items' boxes in the tracker. This is the only tickets edit; the spec is read-only.
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>
"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.
--allEvery 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.
Next: /hb:to-tickets <spec ref>.git status --porcelain must be clean apart from .specs/. Anything else → ask the user to commit, stash, or confirm. Merges never absorb unrelated work.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.You are the orchestrator. You own the integration branch and the tickets file, and you write no feature code. Start every subagent with a fresh context window, not a fork of this conversation.
Integration branch: the current branch, or feat/<slug> when on the default branch.
Explore (optional): tickets that need codebase or docs exploration → one Explore subagent returns notes; you save them to <tmpdir>/build-<slug>/notes.md, outside the repo, so implementers build instead of explore.
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:
tdd for its ticket's acceptance criteria, then with check, then with commit with the tracker's commit ref, one skill per call;check runs the full suite once;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.
Refill: a merge that unblocks tickets → spawn implementers for the new frontier at once, without waiting for the rest of the wave.
Park and continue on a hitl ticket, an implementer whose check is still red after 3 fixes, or a spec ambiguous or silent on a needed decision. Park that ticket with its question and its branch unmerged, park every ticket it blocks, and keep spawning the rest of the frontier. Nothing left to spawn or merge → ask every parked question in one batch. Answered → unpark and spawn. Deferred → it stays parked through Close.
Stop and ask before spawning a ticket that 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, parked tickets included.
build/<slug>-* branch.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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ticket-workflow, test-first, parallel-execution, tdd, commit-workflow
npx claudepluginhub helderberto/agent-skills --plugin hb43 skills in this plugin
/a11y-auditAudit accessibility (WCAG) in frontend code. Use when asked to "check accessibility", "audit a11y", "check WCAG", or find accessibility issues. Don't use for backend code, bundle size (/perf-audit), or translations (/i18n)./architecture-auditSurface architectural friction across a codebase and propose deep-module refactors as RFCs./checkValidate code quality — auto-fix formatting/lint, verify types, run tests. Use when asked to "validate code", "check code", or validate before committing; also lint-only asks ("run linter", "fix lint errors"). Don't use for committing (/commit), pushing (/to-pr), or writing new tests (/tdd)./codebase-designShared vocabulary for designing deep modules — interface, seam, depth. Use when designing or improving a module's interface, placing a seam, or deciding what an API hides. Don't use for codebase-wide audits (/architecture-audit), behavior-preserving cleanup (/refactor), or UI components (/frontend-ui-engineering)./code-reviewReview a PR or branch on two axes only, quality and spec, in parallel subagents reported side by side./commitGroup unstaged changes into atomic commits by concern, matching repository style. Use when asked to "commit", "create a commit", or "commit changes". Don't use for pushing or pull requests (/to-pr).Other plugins' skills for the same job