/hb:to-tickets <ticket | spec>from hb
Slices a spec or ticket into tracer-bullet tickets with blocking edges, published through the repo's tracker. Useful for breaking down work into thin vertical slices.
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.
Break a spec, or a ticket with acceptance criteria, into tracer-bullet tickets: thin vertical slices with blocking edges.
Output: the tickets, in the tracker.
Tracker: follow .specs/issue-tracker.md, else the local default, for where specs and tickets live and when a ticket is done.
The argument is: $ARGUMENTS
Usage: /hb:to-tickets <ticket | spec> and stop.Find the spec's existing tickets. Some exist → never overwrite them. Same work (revising or extending it) → update it in place, keeping checked boxes. Different work with unchecked boxes → stop and ask: it may be mid-build in another session.
Map architecture, patterns, integration points. Skip if codebase context exists from prior step.
Research protocol: codebase first, then docs. Unverifiable claims → flag as uncertain, never fabricate.
Before slicing, extract decisions that hold across all tickets:
Each ticket: thin vertical slice through all layers (schema → service → API → UI → tests). Demoable alone.
Deriving tasks from the spec:
| Spec Section | Becomes |
|---|---|
| New Modules | Implement module with interface |
| Schema Changes | Migration + validation |
| API Contracts | Route returning shape |
| Navigation | Wire component to route |
| User Stories | Verify coverage; add task if missing |
| Testing Decisions | Tests land in the ticket where their module lands |
| Out of Scope | Never create tasks for these |
Within each slice, order by dependency: schema → service → API → UI → tests. Happy paths before edge cases.
Ticket naming: use a goal phrase answering "what can we demo when this is done?" (e.g., "Ticket 1 — Revenue visible end-to-end"), not a layer name. An "and" in a ticket title is a sign it's two tickets.
Blocking edges: each ticket declares which tickets must complete before it can start. Default to a linear chain (each ticket blocked by the previous); declare independent edges only when tickets genuinely don't gate each other.
Acceptance criteria: checkbox list of atomic, verifiable conditions. Each must name a test file/name, a shell command, or a file+content to verify. No prose-only conditions. Test: "Can an agent verify by reading files, running a command, or checking a test?"
Labels: every ticket gets exactly one.
agent-ready: an agent can finish it alone, from the ticket, its spec, and the code. The default.hitl: a human must act: a design call, manual setup, credentials, access to an external service, a sign-off. A parallel build stops before each one.Never mix the two in one ticket: an agent skips a hitl ticket, so its code waits for a person. Human steps go in their own hitl ticket, each box starting with Human:. The code ticket stays agent-ready, blocked by the hitl one only when it needs that step's result.
One check per box: a box is checked by an agent (test, command, file) or by a person (Human:), never both. "Unit tests plus an e2e against the real service" is two boxes.
Layer-by-layer exception: if complex schema changes underpin all modules and no story stands alone, build data foundation first, then slice vertically.
Wide-refactor exception: a mechanical change (rename a column, retype a shared symbol) whose blast radius fans across the codebase can't land as a vertical slice — a single edit breaks every call site at once. Sequence it as expand → migrate → contract: expand adds the new form beside the old (nothing breaks); call sites migrate in batches sized by blast radius (per package/directory), each batch its own ticket blocked by the expand, CI green throughout because the old form still exists; contract deletes the old form in a final ticket blocked by every migrate batch.
Ticket count thresholds:
Count "modules touched" by scanning the spec's New Modules and Schema Changes sections.
Present the breakdown (title, stories covered, acceptance criteria, blocked-by, label) and ask: proceed (Recommended), merge tickets, or split a ticket. Iterate until approved. GitHub or Jira → name it in the question: approval covers creating the issues.
Publish the tickets to the tracker from this template (the local default writes it as is):
# Tickets: <Feature Name>
## Architectural Decisions
Durable decisions that apply across all tickets:
- **Key decision**: ...
---
## Ticket 1 — <Goal>
**User stories**: <list from spec, or "ticket AC">
**Blocked by**: None — can start immediately <!-- later tickets: "Ticket 1" etc. -->
**Labels**: agent-ready <!-- or hitl, per the rules above -->
### What it delivers
Concise description of this vertical slice — end-to-end behavior, not layer-by-layer.
### Acceptance criteria
- [ ] Atomic, testable condition
- [ ] Another testable condition
### Out of scope
What this ticket leaves to other tickets or the spec's Out of Scope, so an agent doesn't build it. One line; omit when nothing is near.
---
<!-- Repeat for each ticket -->
## Out of Scope
Carried forward from spec verbatim.
## Open Questions
Gaps found in the spec needing resolution. Blank if none.
Print one line per ticket: Ticket N — <title> (<criteria summary>), plus its ref when the tracker returns one.
Next: /hb:build <spec ref> (Recommended — one ticket per invocation) or done for now.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ticket-slicing, spec-breakdown, tracer-bullets, issue-tracking
43 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./buildImplement the next unblocked ticket test-first and commit it, or fan every ticket out to parallel subagents with `--all`./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).npx claudepluginhub helderberto/agent-skills --plugin hbOther plugins' skills for the same job