tss-test-case-reviewer
Skill0 starsChanged 6 months agoMITView on GitHub
Use when the user wants to review, audit, critique, score, or mentor drafted software test cases, manual scenarios, UAT cases, or test suites for requirement traceability, coverage gaps, technical correctness, standards compliance, weak expected results, or TSS or TDD-style test design quality before execution, automation, or sign-off.
We split this skill into the rules it gives an agent
30 rules. About 0 are common, 21 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
If the user mixes review and authoring, deliver the review first and then propose corrections or rewrites.
- Distinctive: line 40
If requirements are missing, continue with a limited review and state the limitation explicitly.
- Very specific: line 44
Read references/review-workflow.md for the full six-step review flow.
- Very specific: line 45
Read references/test-case-protocol.md when judging titles, preconditions, steps, expected results, or prioritization.
- Very specific: line 46
Read references/test-suite-protocol.md only when the task includes suites, folders, hierarchy, redundancy, or class-to-suite mapping.
- Very specific: line 47
Read references/review-report-template.md before writing the final review.
- Very specific: line 48
Read references/examples-test-case-quality.md when you need concrete examples that range from very bad to very good test-case quality.
- Very specific: line 49
Read references/examples-review-comments.md when you need examples of weak versus strong review feedback.
- Very specific: line 50
Read references/examples-mini-review-reports.md when you need examples of complete review outputs from weak to strong.
- Very specific: line 51
Read references/examples-bad-input-artifacts.md when you need examples of poor-quality requirements, traceability inputs, or suite …
- Distinctive: line 52
Do not load all reference files by default if the task is narrow.
- Distinctive: line 59
test cases plus suite hierarchy
- Distinctive: line 71
check whether hierarchy moves from component or level to test type to oracle or requirement unit
- Distinctive: line 75
verify every requirement has at least one test
- Distinctive: line 76
verify main success, extension, and error paths are represented when applicable
- Distinctive: line 77
verify the selected test design technique matches the behavior under test
- Distinctive: line 79
verify preconditions establish the needed state
- Distinctive: line 80
verify actions are executable and deterministic
- Distinctive: line 81
verify expected results are specific and observable
- Distinctive: line 82
verify test data is realistic and covers boundaries or invalid input where needed
- Distinctive: line 87
check classification such as MSS, EXT, or ERR
- Distinctive: line 88
check test level or priority if used
- Very specific: line 100
Prefer statements such as REQ-04 has no negative-path coverage over vague advice such as add more tests.
- Distinctive: line 106
use case paths for actor-flow behavior
- Distinctive: line 108
Keep the review evidence-based and do not invent undocumented behavior.
- Distinctive: line 122
Put findings before praise when defects could cause wrong or incomplete testing.
- Distinctive: line 187
The Code-Mirroring Trap: Do not use implementation code as the primary oracle.
- Distinctive: line 188
The "Happy Path" Bias: Ensure the review doesn't stop at the Main Success Scenario (MSS).
- Distinctive: line 191
Reviewing in a Vacuum: If requirements are missing or ambiguous, do not guess the intended behavior.
- Distinctive: line 214
ask for the authoritative requirement source if none is available
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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.
Files
TSS Test Case Reviewer
1. Scope Selection
- Classify the request as one of these modes:
- requirements and traceability review
- individual test case quality review
- suite architecture and redundancy review
- full review with scoring and mentoring
- Stay in review mode unless the user explicitly asks for rewriting, redesign, or automation after the review.
- If the user mixes review and authoring, deliver the review first and then propose corrections or rewrites.
2. Required Inputs
- Collect the available artifacts before reviewing:
- requirements, user stories, acceptance criteria, use cases, or analysis notes
- drafted test cases
- optional suite hierarchy
- optional template, export, or naming convention
- Identify the strongest non-code oracle:
- approved requirements
- acceptance criteria
- analysis documentation
- user manuals or stakeholder-approved business rules
- Refuse to treat implementation code as the primary oracle unless the user explicitly asks for a code-vs-test consistency check.
- If requirements are missing, continue with a limited review and state the limitation explicitly.
3. Load References Selectively
- Read
references/review-workflow.mdfor the full six-step review flow. - Read
references/test-case-protocol.mdwhen judging titles, preconditions, steps, expected results, or prioritization. - Read
references/test-suite-protocol.mdonly when the task includes suites, folders, hierarchy, redundancy, or class-to-suite mapping. - Read
references/review-report-template.mdbefore writing the final review. - Read
references/examples-test-case-quality.mdwhen you need concrete examples that range from very bad to very good test-case quality. - Read
references/examples-review-comments.mdwhen you need examples of weak versus strong review feedback. - Read
references/examples-mini-review-reports.mdwhen you need examples of complete review outputs from weak to strong. - Read
references/examples-bad-input-artifacts.mdwhen you need examples of poor-quality requirements, traceability inputs, or suite structures that should trigger review findings. - Do not load all reference files by default if the task is narrow.
4. Review Workflow
- Identify the review scope:
- requirements only
- test cases only
- test cases plus suite hierarchy
- full package with requirements, suites, and template
- Build a quick inventory:
- count requirements
- count test cases
- count suites if present
- list missing artifacts
- Review requirements and traceability:
- mark each requirement as clear, ambiguous, or missing detail
- map each requirement to one or more test cases
- flag uncovered requirements
- Review suite architecture if present:
- check whether hierarchy moves from component or level to test type to oracle or requirement unit
- flag oversized low-level suites
- flag duplicate coverage caused by poor suite structure
- Review coverage quality:
- verify every requirement has at least one test
- verify main success, extension, and error paths are represented when applicable
- verify the selected test design technique matches the behavior under test
- Review technical correctness:
- verify preconditions establish the needed state
- verify actions are executable and deterministic
- verify expected results are specific and observable
- verify test data is realistic and covers boundaries or invalid input where needed
- Review standards compliance:
- check naming quality
- check required fields
- check traceability links
- check classification such as MSS, EXT, or ERR
- check test level or priority if used
- Write mentoring feedback:
- list strengths
- list recurring issues
- give 3 to 5 concrete recommendations ordered by impact
- Produce the report using
references/review-report-template.md.
5. Review Rules
- Cite evidence for every major finding.
- Name the affected requirement, suite, or test case whenever possible.
- Separate critical gaps from minor improvements.
- Prefer statements such as
REQ-04 has no negative-path coverageover vague advice such asadd more tests. - Recommend the missing test design technique when the current coverage is weak:
- equivalence partitioning for input classes
- boundary value analysis for limits or ranges
- decision tables for rule combinations
- state transitions for status-driven behavior
- use case paths for actor-flow behavior
- State assumptions when the artifacts are incomplete.
- Keep the review evidence-based and do not invent undocumented behavior.
6. Output Contract
- Produce a structured review with these sections:
- executive summary
- requirements analysis and traceability
- suite architecture review if applicable
- coverage analysis
- technical correctness validation
- standards compliance review
- mentoring and development plan
- scoring matrix
- action plan
- Put findings before praise when defects could cause wrong or incomplete testing.
- Mark each finding with severity:
- Critical
- High
- Medium
- Low
- Include a short limitation note if the review could not verify full traceability.
- End with the next concrete actions the test author should take.
7. Example Triggers
- Input:
Review these API test cases and tell me whether they fully cover the acceptance criteria.Output:
Use this skill. Perform traceability, coverage, correctness, and compliance review. Report uncovered acceptance criteria and weak expected results.- Input:
Mentor a junior tester's draft scenarios for UC-12 and score the quality.Output:
Use this skill. Review requirement mapping, path coverage, naming quality, and coaching opportunities. Produce a scored report.- Input:
I have 35 test cases in one suite. Check if the suite structure is OK.Output:
Use this skill. Load the suite protocol reference, inspect hierarchy and size, and recommend a split if the low-level suite is overloaded.- Input:
These UAT scenarios feel weak. Can you score them and tell me what would block sign-off?Output:
Use this skill. Review traceability, expected-result quality, path coverage, and readiness risks. Produce a scored report with blocking issues first.8. Example Findings
- Good finding:
High: REQ-07 is only covered by one happy-path test. The requirement also defines invalid account states, but no ERR scenario covers suspended or closed accounts.- Weak finding:
Need more negative tests.- Good correction advice:
Add two ERR tests for REQ-07 using equivalence partitions for account status: one suspended account and one closed account. Assert the rejection message and unchanged account balance.9. Gotchas
- The Code-Mirroring Trap: Do not use implementation code as the primary oracle. Reviewing tests against what the code already does instead of what the requirement demands leads to "green-but-wrong" tests that pass while the business logic is incorrect.
- The "Happy Path" Bias: Ensure the review doesn't stop at the Main Success Scenario (MSS). Explicitly check for Error (ERR) and Extension (EXT) paths, state transitions, and boundary conditions that are often overlooked in initial drafts.
- Vague Expected Results: Reject results like "Success," "OK," or "User is redirected." Demand observable, verifiable outcomes such as specific UI elements, API status codes, database record changes, or outgoing events.
- Data Hardcoding: Flag tests that rely on specific, ephemeral data IDs (e.g.,
userId=123) instead of describing the type or state of data required (e.g., "an active user with no pending orders"). - Reviewing in a Vacuum: If requirements are missing or ambiguous, do not guess the intended behavior. Explicitly state the limitation in the review and ask for the authoritative source before finalizing coverage scores.
- Implicit Assumptions: Watch for "invisible" preconditions. If a test requires a specific configuration or background state that isn't listed, it will be non-deterministic or fail in execution.
10. Troubleshooting
- Error:
Requirements are missing or too vague.Fix:- continue with structure and correctness review only
- mark traceability and coverage conclusions as limited
- list the missing requirement details needed for a full review
- Error:
The test suite hierarchy is unclear.Fix:- infer the current grouping
- compare it to the suite protocol
- recommend a cleaner component -> test type -> oracle structure
- Error:
Expected results are too generic to verify.Fix:- rewrite the finding in observable terms
- name the missing assertion target such as UI message, API response, database record, event, or file
- Error:
The tests mirror the code instead of the requirements.Fix:- flag code-based oracle risk explicitly
- anchor the review to approved business behavior
- ask for the authoritative requirement source if none is available
- Error:
The user wants rewritten test cases, not only a review.Fix:- finish the review first
- rewrite or propose corrected cases only after naming the defects and rationale
11. Final Check
- Confirm that every major claim is backed by an artifact.
- Confirm that missing coverage is tied to a named requirement, path, rule, or state.
- Confirm that recommendations are specific enough to act on without guessing.
- Confirm that the review distinguishes must-fix items from coaching advice.
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
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.

