agentleFS
agent-ixagent-ix/spec-skills/spec-matrix/SKILL.md

spec-matrix

Skill1 starsChanged 6 months agoMITView on GitHub

Build and maintain the requirements Test Matrix ensuring 100% coverage.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to create the requirements Test Matrix and ensure comprehensive coverage.

    line 8
  2. Distinctive:

    Verify: Ensure all 6 rules are satisfied.

    line 37
  3. Distinctive:

    If ANY requirement specifies integration testing, include this section.

    line 51
  4. Very specific:

    Use template section ## Integration Test Matrix with:

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build Test Matrix

Use this skill to create the requirements Test Matrix and ensure comprehensive coverage.

Rules (The Six Requirements)

  1. Coverage: Every Acceptance Criterion (AC) must have ≥1 Test Case (TC).
  2. Option Permutation: Test all valid option combinations.
  3. Constraint Boundary: Test min, max, below-min (fail), above-max (fail).
  4. Error Path: Test all documented error conditions.
  5. State Transition: Test all valid state transitions (if applicable).
  6. Edge Case: Identify and test extreme/unusual scenarios.

Process

  1. Initialize:
    • Use template assets/test-matrix-template.md.
    • Target: Correct location.
      • Single Repo: spec/tests.md
      • Multi-Repo: specs/<category>/<component>/spec/tests.md
  2. Traceability:
    • Map StR -> TC.
    • Map US -> TC.
    • Map FR -> TC.
    • Map NFR -> TC.
    • Map C (Constraints) -> TC.
  3. Enumerate: List all Test Cases with ID, Title, Type, Priority, Status.
  4. Define Detailed TCs (Optional):
    • For complex tests, create at:
      • Single Repo: spec/test-cases/TC-XXX.md
      • Multi-Repo: specs/<category>/<component>/spec/test-cases/TC-XXX.md
  5. Verify: Ensure all 6 rules are satisfied.
  6. Status: Mark as ✅ Complete only when all rules are met.

React Components (Conditional)

For React projects, add a Storybook Test Matrix section.

See skills/review-react/SKILL.md for:

  • Story file requirements per component
  • AC trace code format in story JSDoc
  • Coverage matrix template (FR → AC → Story)

Integration Test Matrix (Conditional)

If ANY requirement specifies integration testing, include this section.

When Required

  • FR/NFR annotation: integration_test: true or mentions integration verification
  • Cross-project interactions (other services in your org)
  • Interactions with local-provided services (Redis, Postgres, message bus)
  • UI component browser testing (React → Storybook)

Section Contents

Use template section ## Integration Test Matrix with:

  1. Purpose column: What integration is being tested
  2. Target column: External system/service/project
  3. Type column: service | browser | event | database
  4. Test Cases: Extensive functional coverage, not just smoke tests

Coverage Expectations

  • Extensively test functionality (multiple scenarios per integration)
  • Include happy path + error conditions + edge cases
  • For browser tests: visual verification + interaction flows

Markers

  • ✅ Complete
  • ⚠️ Partial
  • ❌ Missing
  • 🚧 In Progress

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.