--- name: story-validator description: Validate Master and Sprint Stories β€” template sections, ADO-ready PRD lift, UI/Figma, non-redundancy, AC quality model: haiku-4-5 token_budget: {input: 8000, output: 2000} --- > **Scope:** Validates **story markdown** structure and authoring rules. For PRD quality, use `skills/shared/prd-gap-analyzer/`. Do not re-validate the PRD here. > > **Authoring standards:** [templates/AUTHORING_STANDARDS.md](../../templates/AUTHORING_STANDARDS.md) # Story Validator Skill Templates live in `templates/story-templates/`: - **Master:** `master-story-template.md` - **Sprint:** `sprint-story-template.md` CLI validators (optional): `templates/story-templates/validators/master-story-validator.sh`, `sprint-story-validator.sh` --- ## Master Story β€” required themes (not legacy Β§ numbering) Confirm the file includes these **headings** (emoji titles as in template): 1. **🎯 Outcome** β€” User + business outcome; **do not** paste Problem or full AC here. 2. **πŸ” Problem Definition** β€” Pain and evidence only. 3. **πŸ‘€ Target User & Context** 4. **⚑ Job To Be Done (JTBD)** 5. **πŸ’‘ Solution Hypothesis** 6. **🧩 Capability Definition** 7. **πŸ“Ž PRD-sourced specifics** β€” Verbatim PRD copy: notifications, errors, limits. **Never** id-only (e.g. `N7` without text). If PRD silent β†’ `USER_INPUT_REQUIRED`. 8. **🎯 Experience Intent** β€” Qualitative feel; **not** Figma links. 9. **🎨 UI & design** β€” **Figma (primary)**, prototype, design status, or **N/A** / `USER_INPUT_REQUIRED`. 10. **🧾 Acceptance Criteria** β€” Given/When/Then; may **reference** rows in πŸ“Ž section instead of duplicating strings. 11. **πŸ“Š Measurement & Signals** β€” KPIs, events, baselines. 12. **πŸ§ͺ Validation Plan** β€” Pilot/A/B/rollout; **do not** duplicate full KPI tables from Measurement. 13. **⚠️ Risks & Unknowns** 14. **πŸ”— Dependencies** 15. **🚫 Explicit Non-Goals** 16. **πŸ“… Priority & Rollout Strategy** 17. **πŸ† Related Stories** *(optional)* 18. **πŸ“ Notes** 19. **πŸ“‹ Story Metadata** 20. **πŸ”— PRD Traceability** β€” Required table: PRD doc, section IDs, ADO id. --- ## Sprint Story β€” required themes 1. **🎯 What We're Building** β€” Deliverable only; **not** a second copy of full Context narrative. 2. **πŸ” Context** β€” Why this sprint. 3. **⚑ Scope** β€” IN / OUT / assumptions. 4. **πŸ“Ž PRD / Master lift (this sprint)** β€” Full strings for this sprint’s scope; or pointer to Master ADO + row if copy already there. 5. **πŸ—οΈ Technical Approach** 6. **🧾 Acceptance Criteria** β€” Checklists; align with Master AC ids where applicable. 7. **🎨 UI & design** β€” Figma for **this sprint** or N/A. 8. **πŸ”— Dependencies** 9. **πŸ“Š How We'll Measure It** β€” Sprint target/delta; **do not** duplicate entire Master measurement section. 10. **⚠️ Known Risks** 11. **πŸ‘₯ Team & Effort** 12. **πŸš€ Definition of Done** 13. **πŸ“ Notes & Updates** 14. **πŸ“‹ Story Metadata** 15. **πŸ”— Traceability** β€” Parent Master + PRD sections. --- ## ADO-ready rules (both types) - **Self-contained:** Reader should not need the PRD for copy, notifications, or error text. - **No duplication:** Same paragraph must not appear in Outcome, Problem, and Context. Measurement vs Validation Plan: metrics vs methodology. - **Readable:** Short sentences, **bold** labels, bullets, blank lines, tables for PRD extracts. --- ## USER_INPUT_REQUIRED Blocks are **incomplete but valid** for early review. Flag as **not implementation-ready** until resolved. --- ## Validation report Use the format in the original skill (Passed / Issues / Blocking / Approval status). Call out: - Missing **πŸ“Ž** or **🎨 UI & design** sections - PRD ids without lifted text - Repeated copy across sections - Placeholders: `[URL]`, `[name]`, `[date]` in UI section --- ## Triggers Story grooming, pre–`sdlc story push`, QA handoff, sprint planning.