一键导入
spec-matrix
Build and maintain the requirements Test Matrix ensuring 100% coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and maintain the requirements Test Matrix ensuring 100% coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | spec-matrix |
| description | Build and maintain the requirements Test Matrix ensuring 100% coverage. |
Use this skill to create the requirements Test Matrix and ensure comprehensive coverage.
Coverage (Rule 1) is only meaningful when each requirement states one
obligation — a statement packing two shall clauses cannot map cleanly to one
Acceptance Criterion, so its matrix row is ambiguous. Before building the
matrix, run the EARS requirement-grammar check:
quire validate --scope . "spec/**/*.md" --summary
Treat these [ears:…] findings as un-mappable requirements to fix first,
not coverage you can claim:
non-singular — split the statement into one requirement per shall, then
map each to its own AC/TC.unclassifiable / missing-subject — the obligation is unclear; clarify the
requirement before authoring a TC against it.Do not mark the matrix ✅ Complete while non-singular or unclassifiable requirements remain — the coverage they appear to have is illusory. (The check is advisory; this skill treats it as a quality gate for the matrix.)
assets/test-matrix-template.md.spec/tests.mdspecs/<category>/<component>/spec/tests.mdStR -> TC.US -> TC.FR -> TC.NFR -> TC.C (Constraints) -> TC.spec/test-cases/TC-XXX.mdspecs/<category>/<component>/spec/test-cases/TC-XXX.mdFor React projects, add a Storybook Test Matrix section.
See skills/review-react/SKILL.md for:
If ANY requirement specifies integration testing, include this section.
integration_test: true or mentions integration verificationUse template section ## Integration Test Matrix with:
service | browser | event | databaseConvert ISO spec requirements (StR, FR, NFR) into a TDD-based project plan with dependency analysis, parallel execution tracks, quality gates, and task decomposition. Selects or starts a plan and writes a frontmatter-typed plan bundle under plan/<Plan-id>-<slug>/ (Plan + Task + index + log).
Create or update spec artifacts from a design or change request. Orchestrates authoring each requested requirement type (StR/US/FR/NFR/IT) as a discrete file using quoin catalog templates and Quire validation.
Analyze requirement statements (FR/NFR/StR) for EARS requirement-grammar conformance and author a SpecReview of the findings.
Review requirements for quality, consistency, and completeness.
Verify a targeted plan is complete and validated — every task done, the Test Matrix backed by real tracking tags in tests, and code fully traced to spec (flagging underspecified code with no owning requirement). Optional semantic review checks that intent↔test↔code actually agree. Emits a quire-validated SpecReview artifact to reviews/YY-MM-DD-<slug>.md.
Convert validated requirements into an implementation plan.