user-story-template
Guide writing well-formed user stories with acceptance criteria following best practices
What this skill does
# User Story Template Skill This skill helps create well-formed user stories that follow product management best practices. ## When to Use Activate this skill when: - Creating new features or requirements - Writing GitHub issues for product work - Planning sprints or releases - Documenting user needs ## User Story Format Every user story should follow this structure: ### Title Clear, concise feature name (what, not how) ### User Story Statement ``` As a [type of user] I want [an action or feature] So that [benefit or value] ``` **Examples:** - ✅ As a project manager, I want to view all active issues in one dashboard, so that I can quickly assess project status - ✅ As a developer, I want to filter issues by label, so that I can focus on my assigned work - ❌ As a user, I want a button (too vague, doesn't explain why) ### Acceptance Criteria Clear, testable conditions that must be met. Use "Given-When-Then" format: ``` Given [initial context] When [action occurs] Then [expected outcome] ``` **Example:** ``` Given I am viewing the project dashboard When I click the "Filter" button Then I see a dropdown with all available labels And I can select multiple labels to filter by And the issue list updates to show only matching issues ``` ### Additional Sections (Optional) **Dependencies:** - What must be completed first? - What other systems/features does this rely on? **Open Questions:** - What needs clarification? - What decisions need to be made? **Technical Notes:** - Implementation guidance (if known) - Performance considerations - Security concerns **Design Assets:** - Links to mockups, wireframes, or designs - Screenshots or examples ## Quality Checklist Before finalizing a user story, verify: - [ ] **Independent** - Can be developed separately from other stories - [ ] **Negotiable** - Details can be discussed and refined - [ ] **Valuable** - Delivers clear value to users or business - [ ] **Estimable** - Team can estimate effort reasonably - [ ] **Small** - Can be completed in one sprint (typically) - [ ] **Testable** - Success criteria are clear and verifiable ## Common Pitfalls to Avoid ### Too Technical ❌ "Add a REST endpoint at /api/v2/users with authentication" ✅ "As an admin, I want to manage user accounts via API, so that I can automate user provisioning" ### Too Vague ❌ "Make the dashboard better" ✅ "As a manager, I want to see project velocity trends, so that I can forecast delivery dates" ### Missing the "Why" ❌ "As a user, I want dark mode" ✅ "As a user, I want dark mode, so that I can reduce eye strain during evening work sessions" ### No Acceptance Criteria Stories without clear acceptance criteria lead to: - Scope creep - Unclear completion - Misaligned expectations - Difficult QA ## Workflow Integration When creating user stories: 1. **Check for prior art** - Search existing issues and documents for similar features 2. **Write the story** - Follow the template above 3. **Add to project board** - Link to appropriate milestone/epic 4. **Tag appropriately** - Use labels like 'feature', 'enhancement', 'user-story' 5. **Save insights** - Record decisions and rationale for future reference ## Example: Complete User Story **Title:** Multi-Project Dashboard View **User Story:** As a product manager overseeing multiple projects I want to view aggregated metrics across all my projects in one dashboard So that I can identify bottlenecks and allocate resources effectively **Acceptance Criteria:** Given I manage 3 active projects When I navigate to the "Overview" dashboard Then I see a summary card for each project showing: - Project name and status - Open vs closed issues count - Recent activity (last 7 days) - Team members assigned And I can click any project card to drill into details And the dashboard loads in under 2 seconds And data refreshes every 5 minutes automatically **Dependencies:** - Project metadata API must support batch queries - User must have "manager" role on at least one project **Open Questions:** - Should we limit to 10 projects max, or paginate? - Do we show archived projects by default? **Technical Notes:** - Consider caching strategy for performance - Use existing project card component for consistency **Design Assets:** - See Figma: [link to dashboard mockup]
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.