kid-sid/claude-spellbook/requirements-planning
Claude Code and agent skill by kid-sid/claude-spellbook
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Use when writing a PRD, drafting user stories with acceptance criteria, breaking an epic into sprint-sized vertical slices, story pointing in planning poker, or defining a team's Definition of Done.
Install
npx vskill@latest install kid-sid/claude-spellbook/requirements-planningSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as kid-sid/claude-spellbook/requirements-planning.
Requirements Planning
A complete reference for writing requirements that are clear, testable, and ready for development — from individual user stories to full PRDs.
When to Activate
- Writing a PRD, one-pager, or product requirements document
- Creating user stories or acceptance criteria for a feature
- Story pointing or sprint planning
- Breaking down an epic into implementable tasks
- Defining Done criteria for a story or sprint
- Reviewing whether requirements are testable and complete
User Stories
INVEST Criteria
Every well-formed user story satisfies all six INVEST properties.
| Criteria | Meaning | Test question | |
|---|---|---|---|
| Independent | Can be developed without depending on another story | "Can this be built and deployed alone?" | |
| Negotiable | Details can be discussed, not a rigid contract | "Is there flexibility in the how?" | |
| Valuable | Delivers value to a user or stakeholder | "Who benefits and how?" | |
| Estimable | Team can roughly size it | "Do we know enough to estimate?" | |
| Small | Can be completed in one sprint | "Can one developer finish this in ≤5 days?" | |
| Testable | Acceptance criteria can be verified | "How will we know it's done?" |
Story Format
BAD — This is a task disguised as a story:
GOOD — Clear role, action, and benefit:
Common Anti-Patterns
- Story is a task — "Implement the login endpoint" describes technical work, not user value. Reframe around what the user can do.
- No acceptance criteria — Without AC, there is no shared definition of done. Write AC before any code is written.
- Story spans multiple sprints — If a story cannot be completed in a single sprint, split it using vertical slicing (see below).
- Story says how instead of what — Requirements describe the desired outcome, not the implementation. Leave the how to the team.
- Passive voice hides the actor — "Notifications should be sent" — by whom? to whom? Make the subject explicit.
Acceptance Criteria
BDD Format (Gherkin-style)
Use for behavioral, user-facing requirements. Each scenario maps to a test case.
Example — login story:
Checklist-Style AC
Use for non-behavioral or non-functional requirements where Given/When/Then does not fit naturally.
Functional vs Non-Functional AC
| Type | Example | Who writes it | |
|---|---|---|---|
| Functional | "User can reset password via email link" | PO / Dev together | |
| Performance | "API responds in < 500ms" | Dev / SRE | |
| Security | "Session expires after 30 min inactivity" | Security / Dev | |
| Accessibility | "Form navigable by keyboard" | Designer / Dev |
Non-functional requirements are frequently omitted. Make them explicit on every story where they apply.
PRD Template
Use this template when writing a product requirements document, feature brief, or one-pager.
PRD Writing Tips
- Non-Goals are mandatory. Explicitly stating what is out of scope prevents scope creep and misaligned expectations.
- Every goal must be measurable. "Improve performance" is not a goal. "Reduce p95 latency from 800ms to 300ms" is a goal.
- Open questions block progress. Assign every open question an owner and a deadline. Review at the next refinement session.
- Success metrics connect to goals. If you cannot measure whether a goal was achieved, the goal is not yet well-formed.
Story Pointing
Fibonacci Scale
Points are assigned from the sequence: 1, 2, 3, 5, 8, 13, 21 (and ∞ for "we cannot estimate this yet").
- Points measure complexity + uncertainty, NOT hours worked.
- A story pointed at 8 is roughly twice as complex and uncertain as a story pointed at 3.
- Calibration anchor: pick a well-understood story the team agrees is a 3, then size all others relative to it.
- If a story is pointed at 13 or 21, strongly consider splitting it before the sprint.
- ∞ means the team lacks enough information to estimate — do discovery work before committing to the story.
T-Shirt Sizing (Alternative)
Use XS / S / M / L / XL when:
- The team is new and has no calibration anchor.
- Estimating at the epic level rather than the story level.
- Rough relative sizing is sufficient (roadmap planning, not sprint planning).
Map to Fibonacci before sprint planning: XS → 1–2, S → 3, M → 5, L → 8, XL → 13+.
Planning Poker Norms
- Everyone reveals their estimate simultaneously — avoids anchoring on a loud voice.
- High variance (e.g., one person says 3, another says 13) means the team has different assumptions. Discuss, do not average.
- After discussion, re-estimate if the spread was greater than 2 sizes.
- Keep the round time-boxed: aim to settle an estimate in under 5 minutes.
What Affects Points
| Increases points | Does NOT affect points | |
|---|---|---|
| Technical complexity | Who will work on it | |
| Uncertainty / unknowns | Time of day or week | |
| Integration risk (third-party APIs, etc.) | Developer seniority or speed | |
| Testing surface area | Calendar deadline pressure | |
| Cross-team dependencies | Whether the work is boring or fun |
Epic and Feature Decomposition
Horizontal vs Vertical Slicing
| Approach | Definition | Example | Problem | |
|---|---|---|---|---|
| Horizontal | Split by technical layer | "Build the database schema", "Build the API", "Build the UI" | Not independently valuable | |
| Vertical | Split by user journey / thin feature slice | "User can register with email (no profile picture yet)" | None — preferred approach |
Vertical slices are shippable. Each delivers some user value. Horizontal slices only deliver value when all layers are complete — meaning nothing is releasable until all layers are done.
Walking Skeleton
- Build the thinnest possible end-to-end slice first (e.g., login → dashboard with placeholder data).
- This proves the architecture works before building width.
- Subsequent stories add depth to each slice — more data, edge cases, polish.
The walking skeleton is never the full feature. It is the minimal path through the system.
Decomposition Patterns
| Pattern | Description | Example | |
|---|---|---|---|
| By user role | Different actors get separate stories | Admin story vs regular user story for the same screen | |
| By data volume | Simple case first, then scale | "View first 10 items" → "View paginated list" | |
| By exception flow | Happy path first, error paths separately | "User logs in" → "User sees error on locked account" | |
| By CRUD operation | Each operation is a separate story | Create → Read → Update → Delete as four stories | |
| By configuration | Default behaviour first, then customization | "Email sends with default template" → "Custom template" |
Definition of Done
Org-Level DoD (applies to all stories)
Copy this into your team's working agreement and adjust as needed.
Story-Level DoD (specific to the story)
- Written by the team during refinement, before sprint start.
- Lives inside the story ticket as part of the acceptance criteria.
- Example for "User profile picture upload":
```
- [ ] File size validated (max 5MB, reject otherwise with error message)
- [ ] Uploaded file stored in S3 under /users/{id}/avatar
- [ ] S3 URL saved to the users table (avatar_url column)
- [ ] Profile page displays new avatar within 1 page reload
- [ ] Old avatar deleted from S3 on successful replacement
```
Sprint-Level DoD (applies to the sprint as a whole)
Red Flags
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/requirements-planning/skill.md
Popularity
- Repository stars
- 186
- Repository forks
- 15
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
templateCustom templates for code generation
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kid-sid/claude-spellbook/requirements-planning)