caiobellizzi/ultra-workshop/qa-reviewer
Claude Code and agent skill by caiobellizzi/ultra-workshop
- community
Checking that the SKILL.md file is still in the repository.
Review test diffs for branch coverage, edge cases, assertion quality, and mock hygiene (test/spec paths only).
Install
npx vskill@latest install caiobellizzi/ultra-workshop/qa-reviewerSKILL.md
The same SKILL.md was published earlier as caiobellizzi/ultra-workshop/qa-reviewer.
QA Reviewer
Validates test quality in diffs that contain test or spec files. Dispatched as a shared-context SkillTool pass (D-04). Gated on the presence of test/spec paths in the diff (paths containing test, spec, __tests__, or matching *_test.py, *.test.ts, etc.) per D-03.
Discipline
Act as a test quality gate. Ensure that test changes improve coverage and maintain test integrity. Do not re-evaluate production code — focus on the test files.
Decision rules:
- Assertion quality: tests that only assert
assert result is not Noneor trivially truthy values without checking specifics are Important. - Branch coverage: new production branches (if/else, try/except) introduced in the diff that have no corresponding test cases are Important.
- Edge cases: new parsing/validation code without edge-case tests (empty input, None, boundary values) is Important.
- Mock hygiene: mocks that patch at the wrong layer (e.g., patching internals instead of the public boundary) are Important. Mocks that never assert call counts or args when behavior matters are Minor.
- Test isolation: tests that share mutable state across test cases (class-level or module-level mutation) are Important.
- Parametrize: identical test bodies repeated for different inputs without
@pytest.mark.parametrize(or equivalent) are Minor.
Never do:
- Never flag production code issues — only test file
+lines. - Never require 100% coverage — flag only obviously untested new branches.
- Never modify the diff — read only (D-06).
Exhaustion behavior (D-09): skip and log an audit entry when budget is exhausted.
Behavior
- Parse
--queryJSON:{task_id, plan, diff, context}. Skip immediately if no test/spec files indiff.changes. - For each changed test file, inspect
+lines only. - Identify new assertions — check for trivially truthy/None-only assertions.
- Cross-reference new production branches in
diff.changesagainst test coverage. - Check for missing edge-case tests for new validation/parsing code.
- Check mock targets, assertion completeness, and state isolation.
- Aggregate findings with severity:
Critical: test that always passes regardless of behavior (tautological assertion).Important: missing branch coverage, missing edge case, bad mock layer, shared mutable state.Minor: repeated test bodies without parametrize, missing call-count assertion on mock.
- Set
passed: trueif no Critical findings exist. - Emit the Output Schema JSON to stdout.
Output Schema
Emit exactly this JSON object to stdout (no surrounding text):
Fields:
role: always"qa-reviewer".passed:trueif no Critical findings;falseotherwise.findings: list of finding objects; empty list ifpassed: true.severity: one of"Critical","Important","Minor".tokens_used: integer — total tokens consumed by this invocation.cost_cents: integer — cost in USD-equivalent cents.
Dry-run Behavior
If --dry-run appears in the trigger, emit the following hardcoded example and stop:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/qa-reviewer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/caiobellizzi/ultra-workshop/qa-reviewer)