skills/prd/SKILL.md
Create a PRD through user interview, codebase exploration, and module design. Use when starting a new feature or change.
npx skillsauth add helderberto/skills prdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skip satisfied steps. If argument provided, skip to Step 2.
Interactive prompts: present options as a numbered list and wait for the user's choice.
The argument is: $ARGUMENTS
If empty, go to Step 1; derive slug after gathering the idea. If provided, derive slug:
— or – (if present)<slug>Output: .specs/prds/<slug>.md. If file exists, present options and wait:
Ask the user for a detailed description of the problem and any solution ideas.
Map current state: data models, services, API routes, frontend, tests. Note exists vs. must build.
Research protocol: codebase first, then docs. Unverifiable claims → flag as uncertain, never fabricate.
One question at a time. Lead with your recommended answer (mark it (Recommended) and list first). Explore code instead of asking when possible. Present 2–4 options for each question — structured choices are faster than free-text.
| 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 |
Surface ambiguities, contradictions, unstated assumptions. For each gray area, present proposed resolution options. Resolve all before continuing.
Sketch modules. Favor deep modules — simple interface (1-3 entry points) hiding large implementation over shallow modules where interface ≈ implementation.
Shallow signals: many small 1:1 functions, callers compose multiple calls, feature changes require interface changes.
Present modules. Confirm which need tests.
Save to .specs/prds/<slug>.md (create dir if missing).
# Feature Name
PRD body structure. Omit empty sections. No file paths or code snippets.
## 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)
Present options and wait for the user's choice:
/hb:plan <slug> (Recommended)tools
Teach the user a new skill or concept, within this workspace.
documentation
Compact the current conversation into a handoff document for another agent to pick up.
testing
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
development
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill, or asks "make a skill for X".