From hb
Executes the next incomplete phase of a plan, reading plan specs, creating a feature branch, implementing tasks, running tests/linters, and offering a commit. Use for planned work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hb:build [slug][slug]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implement the next incomplete phase of a plan — one phase per invocation.
Implement the next incomplete phase of a plan — one phase per invocation.
Context window: recommend /clear before starting to maximize token budget.
Interactive prompts: present options as a numbered list and wait for the user's choice.
The argument (if provided) is: $ARGUMENTS
Use argument as <slug>. If empty, list plans as numbered options and wait for the user's choice.
Accepts a slug or an @path reference — @ means read that file directly as the plan (e.g. /build @.specs/plans/dark-mode-support.md).
Read .specs/plans/<slug>.md. If missing, list plans as numbered options and wait for the user's choice.
Scan the plan for ## Phase N headings. For each phase, count - [ ] and - [x] checkboxes.
The next incomplete phase is the first phase that has at least one unchecked - [ ] item.
If all phases are complete (zero unchecked items across all phases):
All phases complete. Run
/test <slug>to verify.
Stop here.
Show the phase title and its unchecked items:
Phase N — <title> (M remaining)
- [ ] First unchecked item
- [ ] Second unchecked item
If on the default branch (main/master), ask:
Create branch
feat/<slug>?
- Yes, create branch (Recommended)
- No, stay on current branch
If accepted, create and switch to the branch.
If already on a feature branch, skip this step.
Work through each unchecked item in order. For each item:
Do not impose coding rules, style, or conventions. Follow what the project already uses.
Do not implement items from other phases. Stay within the current phase boundary.
After implementing the phase, detect and run the project's checks — type check, tests, lint, format. Detect the toolchain from the manifest and prefer tasks the project already defines (see the detection table in validate-code):
| Ecosystem | Manifest | Checks (run what exists) |
|---|---|---|
| Node | package.json scripts | typecheck/tsc, test, lint, format:check |
| Python | pyproject.toml/Makefile | mypy, pytest, ruff, black --check |
| Go | go.mod | go build ./..., go test ./..., go vet, gofmt -l |
| Rust | Cargo.toml | cargo check, cargo test, cargo clippy, cargo fmt --check |
Run each detected check. If any fails:
If a script still fails after 3 attempts, treat it as a blocker — pause and ask the user for help:
Blocker:
<script>fails after 3 attempts. Last error:<error summary>How to proceed?
- I'll fix it — pause and wait
- Skip this check and continue
- Abort this phase
Wait for the user's response before continuing.
After all feedback loops pass, for each completed item change - [ ] → - [x] in .specs/plans/<slug>.md.
Present the changes and ask:
Phase N complete — all checks pass. Commit?
- Yes, commit
- No, I'll review first
If the user chooses to commit:
.specs/ artifacts unless the project commits its specs)/build <slug> for Phase N+1, or /test <slug> to verify."If the user chooses to review:
Ready for review. Run
/build <slug>again when ready to continue.
If implementation requires something the agent cannot provide (API key, external service, manual setup, design decision):
Blocker: <description of what's needed>
How to proceed?
- I've resolved it — continue
- Skip this item for now
- Abort this phase
Wait for the user's response. Never guess or work around a blocker silently.
[x]npx claudepluginhub helderberto/agent-skills --plugin hbExecutes approved technical plans phase by phase using background sub-agents, verification checkpoints, and configurable autonomy modes. Useful for structured implementation with user oversight.
Executes implementation plan phases for tracked work items, auto-resuming from the last incomplete phase and optionally committing per phase or per task.
Executes approved multi-phase implementation plans with verification checkpoints. Useful for step-by-step feature or fix rollouts with progress tracking.