api-integration
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…
Use this skill when the user says 'user stories', 'write stories', 'backlog', 'sprint planning', 'acceptance criteria', or needs prioritized stories with Given/When/Then criteria and story point estimates. Do NOT use for full PRDs or detailed feature specs.
$ npx -y skills add cwinvestments/memstack --skill user-story-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/user-story-generatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when the user says 'user stories', 'write stories', 'backlog', 'sprint planning', 'acceptance criteria', or needs prioritized stories with Given/When/Then criteria and story point estimates. Do NOT use for full PRDs or detailed feature specs.
name: memstack-product-user-story-generator description: "Use this skill when the user says 'user stories', 'write stories', 'backlog', 'sprint planning', 'acceptance criteria', or needs prioritized stories with Given/When/Then criteria and story point estimates. Do NOT use for full PRDs or detailed feature specs." version: 1.0.0 license: "Proprietary, MemStack™ Pro by CW Affiliate Investments LLC. See LICENSE.txt"
*Produces prioritized user stories with Given/When/Then acceptance criteria, story point estimates, story mapping across epics, and MoSCoW prioritization for sprint planning.*
When this skill activates, output:
`User Story Generator: Generating user stories...`
Then execute the protocol below.
| Context | Status | |---------|--------| | User says "user stories", "write stories", "backlog" | ACTIVE | | User says "sprint planning" or "acceptance criteria" | ACTIVE | | User wants to break work into estimable, assignable stories | ACTIVE | | User wants a full product requirements document | DORMANT: use PRD Writer | | User wants a detailed spec for one feature | DORMANT: use Feature Spec |
| Mistake | Why It's Wrong | |---------|---------------| | "As a user, I want the system to..." | Stories describe user needs, not system behavior. The "I want to" should be a user action. | | "Write a story for every edge case" | Edge cases go in acceptance criteria, not separate stories. One story per user intent. | | "Stories without acceptance criteria" | "Done" becomes subjective. Every story needs testable criteria before sprint planning. | | "Estimate in hours" | Hours vary by person. Story points measure relative complexity, not calendar time. | | "50-point stories in the sprint" | If it's bigger than 8 points, split it. Large stories hide unknowns and block the team. |
If the user hasn't provided details, ask:
> 1. **Feature/epic**: what area are you writing stories for? > 2. **Personas**: who are the users? (roles, permissions, experience levels) > 3. **Existing context**: is there a PRD, feature spec, or design to reference? > 4. **Sprint goal**: what are you trying to ship this sprint? > 5. **Team capacity**: how many story points can the team handle? (helps scope)
Group stories under epics (large bodies of work):
## Story Map ### Epic 1: [Epic Name] **Theme:** [What area of the product this covers] **Goal:** [What completing this epic achieves] Stories: - [ ] US-001: [Story title] - [ ] US-002: [Story title] - [ ] US-003: [Story title] ### Epic 2: [Epic Name] **Theme:** [Theme] **Goal:** [Goal] Stories: - [ ] US-004: [Story title] - [ ] US-005: [Story title]
**Story mapping layout:**
User Journey →
┌─────────────────────────────────────────────┐
│ Step 1 │ Step 2 │ Step 3 │
Epics ─────┼─────────────┼─────────────┼─────────────────┤
│ US-001 (M) │ US-003 (M) │ US-006 (M) │ ← Must
│ US-002 (S) │ US-004 (S) │ US-007 (C) │ ← Should/Could
│ │ US-005 (C) │ │
└─────────────┴─────────────┴─────────────────┘The top row of each column is the minimum to deliver a working user journey. Everything below is enhancement.
**Story template:**
### US-[ID]: [Short descriptive title] **As a** [persona/role], **I want to** [action/capability], **So that** [benefit/outcome]. **Priority:** [Must / Should / Could / Won't] **Story points:** [1 / 2 / 3 / 5 / 8] **Epic:** [Parent epic] **Dependencies:** [US-XXX or None] #### Acceptance Criteria **AC-1: [Happy path]** Given [precondition] When [user action] Then [expected result] **AC-2: [Validation/error]** Given [precondition] When [invalid action or error condition] Then [error handling behavior] **AC-3: [Edge case or permission]** Given [special condition] When [action] Then [expected behavior] #### Notes - [Design reference, API dependency, or technical consideration] - [Out of scope for this story: X, Y]
**Story writing rules:**
**Fibonacci scale reference:**
| Points | Relative Size | Team Example | Typical Duration | |--------|-------------|-------------|-----------------| | **1** | Trivial | Copy change, config update | Hours | | **2** | Small | Simple UI component, basic CRUD | 0.5-1 day | | **3** | Medium | Feature with some logic, API integration | 1-2 days | | **5** | Large | Complex feature, multiple components | 2-4 days | | **8** | Very large | Multi-system integration, new architecture | 3-5 days | | **13** | Epic-level | Should be split into smaller stories | Split it |
**Estimation heuristic:** 1. Pick a reference story the team agrees is a "3" (your baseline) 2. Compare each new story: "Is this bigger or smaller than a 3?" 3. Account for: complexity, uncertainty, testing effort, and coordination needed 4. If you can't estimate confidently → add a spike story (time-boxed research)
**Spike story template:**
### US-[ID]: [Spike] Investigate [unknown] **As a** developer, **I want to** research [technical question or unknown], **So that** we can estimate and plan [dependent stories]. **Time box:** [X hours/days] **Output:** Decision document with recommendation #### Acceptance Criteria - [ ] [Specific question 1] is answered - [ ] [Specific question 2] is answered - [ ] Recommendation documented for team review
The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…
Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platform…
Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs…
Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCP…
Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual…
Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',…