Tdd test case reviewer
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.From its SKILL.md
npx -y skills add jovd83/tdd-test-case-reviewerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
10.7 KB, ~2.2k tokens by cl100k_base, as published. Nobody here has run it
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.
What ships with it: 13 files
45.7 KB alongside SKILL.md
agents/
- openai.yaml342 B
references/
- CHANGELOG.md3.4 KB
- eval_queries.json2.4 KB
- LICENSE1.0 KB
- README.md3.9 KB