spec-writer

Write feature specifications that capture requirements and acceptance criteria. Use when (1) writing a new feature spec, (2) documenting functional requirements, (3) defining acceptance criteria for a feature, (4) capturing design goals and constraints for planned work, or (5) structuring a product idea into a formal specification.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "spec-writer" with this command: npx skills add jkappers/agent-skills/jkappers-agent-skills-spec-writer

Spec Writing

Capture WHAT and WHY. Never prescribe HOW.

When invoked with arguments, write a spec for: $ARGUMENTS

Workflow

  1. Gather context: Collect feature description, target users, problem statement, and constraints from user input or $ARGUMENTS. Ask clarifying questions for missing information.
  2. Create directory: specs/feature-name/
  3. Copy assets/spec.md to specs/feature-name/README.md
  4. Complete every section from the Required Sections table below
  5. Validate against the checklist before completing

Required Sections

SectionContent
Feature Overview2-3 paragraphs: what, who, problem solved
Success CriteriaMeasurable outcomes defining "done"
Design GoalsPrimary (must) and secondary (nice to have)
User Experience1-2 paragraphs: interaction, journey
Design Rationale1-2 paragraphs: why this approach, trade-offs
Constraints/AssumptionsTechnical constraints, business assumptions
Functional RequirementsFR-N format, max 6-8, with acceptance criteria
Edge CasesUnusual inputs, failure scenarios

Acceptance Criteria

- [ ] Given [context], when [action], then [expected result]

Include 2-4 criteria per requirement: happy path + key failure cases.

Scope Check

More than 6-8 requirements = feature too large. Split: identify 3-4 core requirements, flag rest for separate spec in "Scope Notes" section.

Validation Checklist

  • Single MVP focus (one deliverable)
  • All requirements have testable criteria
  • No TODO/TBD placeholders
  • Edge cases documented

Exclusions

A spec defines WHAT to build, not HOW to build it. Exclude:

  • Implementation approach or technical strategy
  • Architecture diagrams
  • Code examples
  • Database schemas
  • API signatures
  • Technology or framework choices
  • Development estimates, timelines, or phase sections

Supporting Files

  • assets/spec.md - Spec template
  • references/spec-guide.md - Extended guidance on ADRs and archival

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

dotnet-dockerfile

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

react-dockerfile

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

conventional-commit

No summary provided by upstream source.

Repository SourceNeeds Review