/gabbe:spec-writerfrom GABBE
Transforms feature requests into structured PRDs using EARS syntax with built-in ambiguity clarification. Useful when writing specs, PRDs, or requirements documents.
Ships in GABBE. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Transform a user goal or feature request into a structured PRD using EARS syntax. Before generating requirements, invoke the ambiguity layer to clarify unclear aspects. Human approval required before proceeding to implementation.
Boundary vs
product/req-elicitation.skill:req-elicitationis the heavyweight IEEE 29148 / IREB elicitation pass (stakeholder interviews, use cases → fullEARS_REQUIREMENTS.md).spec-writeris the fast feature-to-PRD path that reuses the same EARS forms (defined canonically inreq-elicitation). For large or regulated requirement sets, runreq-elicitation; usespec-writerfor a single feature's PRD. Both must use the identical EARS patterns.
Receive and understand the goal
Step 0 strategic context in docs/strategic/ (e.g., BUSINESS_CASE.md, EMPATHY_MAP.md, PROBLEM_STATEMENT.md). If present, read them.Ambiguity Layer — ask clarifying questions Identify and ask about ALL ambiguous aspects before writing requirements:
Questions to ask (examples):
- "Who are the users of this feature? (roles, permissions, guest vs authenticated)"
- "What happens if [edge case] occurs?"
- "What are the performance expectations? (response time, concurrent users)"
- "Is there an existing system this integrates with? What are its constraints?"
- "What is explicitly out of scope for this version?"
- "Are there any regulatory requirements? (GDPR, HIPAA, PCI-DSS)"
- "What devices/browsers must be supported?"
Wait for answers before proceeding.
Generate the PRD using templates/product/PRD_TEMPLATE.md
Write EARS requirements — use all 5 patterns as appropriate:
Ubiquitous (always applies):
THE SYSTEM SHALL encrypt all data in transit using the TLS versions set in `security/cryptography-standards.skill.md`.
Event-Driven (triggered by an event):
WHEN a user submits a login form with incorrect credentials 3 consecutive times
THE SYSTEM SHALL lock the account for 15 minutes and send an email notification.
State-Driven (while in a state):
WHILE the payment processing service is unavailable
THE SYSTEM SHALL queue requests and retry with exponential backoff up to 3 times.
Optional Feature (feature flag / conditional):
WHERE two-factor authentication is enabled for the account
THE SYSTEM SHALL require a TOTP code on each login attempt.
Unwanted Behavior (defensive requirements — canonical IF…THEN form):
IF a password is submitted for storage THEN THE SYSTEM SHALL hash it and SHALL NOT store the plaintext in any medium.
IF an unhandled error occurs THEN THE SYSTEM SHALL return a generic error and SHALL NOT expose internal stack traces in HTTP responses.
(Matches the IF [unwanted condition] THEN the [system] shall [protective response] form in req-elicitation.skill / req-review.skill.)
Write acceptance criteria Each requirement needs 1+ verifiable acceptance criteria:
Given [precondition]
When [action]
Then [expected outcome with measurable result]
Non-functional requirements Always include:
Out of scope section Explicitly list what this feature does NOT include. This prevents scope creep.
Present PRD to human for approval Say: "Here is the PRD. Please review and approve before I proceed to architecture/planning."
After approval: create SDLC checkpoint S01
Completed PRD.md file at project root (or docs/) using templates/product/PRD_TEMPLATE.md structure.
security/security-requirements.skill.md and write its Security and Privacy lines into the EARS file.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning.Other plugins' skills for the same job