Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Validate user stories — INVEST scoring, story-to-test coverage mapping, PRP completeness, and development-readiness assessment. Use after writing stories and before starting implementation. Trigger on "validate the stories", "are these stories ready", "INVEST check", "story coverage", "is this ready to build".
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Validate stories, check test coverage gaps, verify PRP completeness, and assess development readiness.
/story-verify # Auto: validate all stories in project
/story-verify invest <id|all> # INVEST criteria scoring
/story-verify coverage # Map stories -> tests, show gaps
/story-verify prp # Check PRP completeness against stories
/story-verify ready <id> # Development readiness assessment
Parse $ARGUMENTS for explicit subcommand. If no arguments, run invest all as default.
Detect project context:
PROJECT_INFO=$(bash "$HOME/.claude/skills/story/lib/project-detector.sh")
investINVEST criteria validation — no Python scripts, pure template-based inline logic.
stories/yaml-source/US-XXXX.yaml (or all if "all")templates/invest-checklist.md for scoring rules| Criterion | Score 100 | Score 50 | Score 0 |
|---|---|---|---|
| Independent | No blocked_by, or only 1 external dep | 2-3 dependencies | Circular deps or >3 blockers |
| Negotiable | "i_want" describes outcome/behavior | Mentions specific tech but flexible | Prescribes exact implementation |
| Valuable | Clear "so_that" with measurable benefit | Vague benefit ("improve experience") | Missing "so_that" entirely |
| Estimable | Has story_points + >=3 acceptance_criteria | Has points OR criteria, not both | Missing both points and criteria |
| Small | 1-5 story points | 6-8 story points | >8 points (must split) |
| Testable | All criteria have given/when/then | Some criteria missing parts | No given/when/then at all |
Story US-XXXX: "View financial dashboard"
I: 100 N: 100 V: 75 E: 100 S: 100 T: 100
Overall: 96 — PASS
Issues:
- [Medium] Valuable: "so_that" could be more specific about measurable outcome
| Issue | Fix |
|---|---|
| Missing "so_that" | Suggest based on persona goals and feature context |
| Vague benefit | Add measurable outcome (number, percentage, time saved) |
| Missing story points | Estimate from acceptance criteria count (1 criterion ≈ 1 point) |
| Too few criteria | Suggest additional Given/When/Then from feature scope |
| Implementation language in "i_want" | Rewrite to describe behavior, not code |
| >8 points | Suggest story splitting strategy |
coverageMap stories to test files and identify untested acceptance criteria.
test_US_XXXX* (pytest) or US_XXXX*.test.* (jest)Read templates/coverage-matrix.md for output format.
Story Coverage Matrix
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
US-0001: View dashboard [2/3 criteria covered]
✓ health score displayed → test_dashboard_shows_health_score
✓ KPI pillars visible → test_dashboard_shows_kpi_pillars
✗ color indicator correct → NO TEST
US-0002: Upload document [0/2 criteria covered]
✗ PDF accepted → NO TEST
✗ error on invalid file → NO TEST
Summary: 2/5 criteria covered (40%)
Gap: 3 criteria need test stubs — run `/story tests US-0001 US-0002`
prpCheck PRP completeness against its source stories.
PRP-012: Financial Data Display
Stories referenced: US-0010, US-0011, US-0012, US-0013
✓ All stories defined in YAML
✓ All stories have acceptance criteria
✗ US-0011 blocked_by US-0009 (not in scope — risk)
✓ PRP has all required sections
✗ Testing strategy missing E2E test plan
readyFull readiness assessment for a story before implementation starts.
invest validation (must pass)blocked_by stories must be status done/story tests)Read templates/readiness-checklist.md for format.
US-0012: Display financial data tables
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ INVEST validation: PASS (score: 92)
✓ Dependencies: US-0011 (done), US-0009 (done)
✗ Test stubs: NOT FOUND — run `/story tests US-0012`
✓ PRP: PRP-012 covers this story
✓ Technical context: FastAPI route + Jinja2 template
Verdict: ALMOST READY — generate test stubs first
| Template | Purpose | File |
|---|---|---|
| INVEST checklist | Scoring rules and thresholds | templates/invest-checklist.md |
| Coverage matrix | Story-to-test mapping format | templates/coverage-matrix.md |
| Readiness checklist | Dev readiness criteria | templates/readiness-checklist.md |
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
中文简介正在准备中。当前显示原文说明。
Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".
中文简介正在准备中。当前显示原文说明。
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
中文简介正在准备中。当前显示原文说明。
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
中文简介正在准备中。当前显示原文说明。
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
中文简介正在准备中。当前显示原文说明。