/hb:to-spec [idea | spec slug]from hb
Generates a PRD spec from a settled conversation, exploring the codebase, checking branches, and writing a structured spec document.
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.
Idea: $ARGUMENTS (if empty, ask for the problem and any solution ideas first).
Derive a kebab-case <slug> from the text before the first —/– (≤4 meaningful words, no command verbs or filler). Output: the spec, 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.
Map current state: data models, services, API routes, frontend, tests. Note exists vs. must build. Codebase first, then docs. Unverifiable claims → flag as uncertain, never fabricate.
Never interview here. Check each branch below against the conversation and the code: settled → synthesize it. Open branches → one confirm round at most, each question with your recommended answer. Still open after that → stop with Next: /hb:grill <slug>. A domain term that settles here → call the Skill tool with domain-modeling to write it into the glossary, so spec and glossary agree.
| Branch | Key questions | Skip when |
|---|---|---|
| Scope & Surface | Where? New page or integrated? Roles? | CLI/library, no new entry points |
| Data & Concepts | Definitions, existing vs missing data | Never skip |
| Behavior | Interaction patterns, filtering, search | No user-facing behavior |
| Display | Numbers, tables, charts, exports | No UI |
| Access & Privacy | Who sees what? Sensitive data? | Single-user, no auth |
| Boundaries | Out of scope, deferred features | Never skip |
| Integration | Schema, services, external deps | Self-contained change |
Gray areas — ambiguities, contradictions, unstated assumptions — join that same round, each with a proposed resolution.
Sketch modules. Favor deep modules — simple interface (1–3 entry points) hiding large implementation. Shallow signals: many 1:1 functions, callers compose multiple calls, feature changes require interface changes. Mark which modules need tests.
Draft it. Omit empty sections. No file paths or code snippets. A related ticket (a key or #42 in the conversation, the argument, or the branch name) → record it in frontmatter; no ticket → no frontmatter.
---
ticket: <key>
---
# Feature Name
## Problem Statement
## Current State (skip if greenfield)
## Solution (user experience, not architecture)
## User Stories (numbered, cover happy + edge + error)
## Implementation Decisions
### New Modules (name, purpose, interface signatures)
### Architectural Decisions (definitions, data flow, state)
### Schema Changes
### API Contracts
### Navigation
## Testing Decisions (behavior tests, key cases, prior art)
## Out of Scope (be specific)
Publish the spec to the tracker. GitHub or Jira → name the target and confirm once. The argument names an existing spec → update it instead.
Next: /hb:to-tickets <spec ref>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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)./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.Other plugins' skills for the same job