.claude/skills/pair-process-plan-stories/SKILL.md
Breaks epics into user stories using vertical slicing and INVEST validation. Composes /pair-capability-write-issue with $type: story. Idempotent: detects existing stories, creates only missing ones.
npx skillsauth add foomakers/pair pair-process-plan-storiesInstall 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.
Transform epics into user stories through vertical slicing, INVEST validation, and collaborative definition. Each story delivers end-to-end user value within a single sprint. Composes /pair-capability-write-issue for PM tool integration.
| Skill | Type | Required |
| -------------- | ---------- | --------------------------------------------------------- |
| /pair-capability-write-issue | Capability | Yes — creates or updates story issues in the PM tool |
| Argument | Required | Description |
| -------- | -------- | -------------------------------------------------------------------------------------------- |
| $epic | No | Epic identifier (e.g., #42). If omitted, selects highest-priority Todo epic. |
Check: Prerequisites present?
Skip: If all present, proceed to Step 1.
Act: If any missing → HALT:
Prerequisites incomplete: [list missing]. Epics must exist before story breakdown.
Verify: Context loaded, PM tool accessible.
Check: Is $epic provided?
Skip: If provided, load the epic from the PM tool. Proceed to Step 2.
Act: Query PM tool for epics in Todo state. Apply selection:
Act: Present recommendation and ask developer to confirm:
Recommend breaking down Epic
#[ID]: [Title](Priority: [P0/P1/P2]). Reason: [business value / sprint urgency / dependency chain]. Proceed?
Verify: Epic selected and loaded.
Check: Query PM tool for existing story issues linked to the selected epic.
Act: Build a registry of existing stories:
EXISTING STORIES:
├── #ID: [Title] (Status: [Todo/Refined/In Progress/Done])
└── ...
Verify: Registry built. Existing stories will be skipped during creation.
Act: Analyze epic components for story candidates:
Act: Apply vertical slicing — every story must deliver end-to-end user value with visible UI manifestation.
Act: Present story candidates to developer:
Story candidates for Epic
#[ID]: [Title]:
- [Story name] — [user value] — [UI manifestation]
- [Story name] — [user value] — [UI manifestation] ...
[N] already exist (will be skipped). Approve or adjust?
Verify: Developer approves the candidate list.
For each approved story not already in the registry:
Check: Does this story already exist in the registry (Step 2)?
Skip: If exists → skip, report:
Story
[Title]already exists (#ID). Skipping.
Act: Define story scope using the Initial Breakdown section of user-story-template.md:
Act: Validate against INVEST criteria:
Act: Compose /pair-capability-write-issue with:
$type: story$content: the story definition$parent: the epic identifierVerify: Story created in PM tool. Record the ID.
Act: Validate epic coverage:
Act: Report completion:
Epic coverage: [X]% of scope addressed. Stories ready for backlog prioritization and future refinement.
Verify: Coverage validated.
STORIES COMPLETE:
├── Epic: [#ID: Title]
├── Total: [N stories]
├── Created: [X new]
├── Skipped: [Y existing]
├── Points: [total estimated points]
├── INVEST: [all validated]
├── PM Tool: [adopted tool]
└── Next: /pair-process-refine-story
$epic identifier./pair-capability-write-issue is not installed, warn and provide formatted story content for manual PM tool entry./pair-process-refine-story./pair-process-refine-story for detailed specification.development
Creates or updates a Product Requirements Document through structured template analysis, hypothesis-driven information gathering, and iterative review. Idempotent — detects existing PRD and offers selective section update.
development
Reviews a pull request through a structured 6-phase process: validation, technical review, adoption compliance, completeness check, decision, and optional merge with parent cascade. Composes /verify-quality, /verify-done, /record-decision, /assess-debt (required) and /verify-adoption, /assess-stack (optional with graceful degradation). Output follows the code review template. Idempotent — re-invocation resumes from incomplete phases.
tools
Refines a user story from Todo to Refined state through structured phases: selection, requirements analysis (Given-When-Then), technical analysis, sprint readiness, and documentation. Section-level idempotency — detects partial refinement and resumes. Composes /write-issue for PM tool updates.
testing
Breaks a refined user story into implementation tasks. Task-level idempotency: detects existing tasks and creates only missing ones. Appends condensed Technical Analysis + Task Breakdown (checklist, Dependency Graph, AC Coverage table, detailed tasks) to the story body. Composes /write-issue to update the story issue body. Tasks are documented inline in the story — no separate task issues are created.