Skip to content
Agentmart
Submit a tool

qa-reviewer

Review test diffs for branch coverage, edge cases, assertion quality, and mock hygiene (test/spec paths only).

Skill by caiobellizzi

IndexedMIT
Write a review

Chalk Labs

Need help deploying qa-reviewer?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/caiobellizzi-qa-reviewer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Review test diffs for branch coverage, edge cases, assertion quality, and mock hygiene (test/spec paths only).

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/qa-reviewer

What's inside

Skill name
qa-reviewer
Description
Review test diffs for branch coverage, edge cases, assertion quality, and mock hygiene (test/spec paths only).
License
MIT
Instructions
77 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## 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 None` or 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

1. Parse `--query` JSON: `{task_id, plan, diff, context}`. Skip immediately if no test/spec files in `diff.changes`.
2. For each changed test file, inspect `+` lines only.
3. Identify new assertions — check for trivially truthy/None-only assertions.
4. Cross-reference new production branches in `diff.changes` against test coverage.
5. Check for missing edge-case tests for new validation/parsing code.
6. Check mock targets, assertion completeness, and state isolation.
7. 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.
8. Set `passed: true` if no Critical findings exist.
9. Emit the Output Schema JSON to stdout.

## Output Schema

Emit exactly this JSON object to stdout (no surrounding text):

```json
{
  "role": "qa-reviewer",
  "passed": true,
  "findings": [
    {
      "file": "path/or/*",
      "line": 42,
      "problem": "string — what is wrong",
      "required_fix": "string — concrete fix required",
      "severity": "Important"
    }
  ],
  "tokens_used": 0,
  "cost_cents": 0
}
```

Fields:
- `role`: always `"qa-reviewer"`.
- `passed`: `true` if no Critical findings; `false` otherwise.
- `findings`: list of finding objects; empty list if `passed: 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:

```json
{"role": "qa-reviewer", "passed": true, "findings": [], "tokens_used": 0, "cost_cents": 0}
```

From caiobellizzi/ultra-workshop, MIT.

More from caiobellizzi/ultra-workshop

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 27, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from caiobellizzi

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get qa-reviewer running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying qa-reviewer?

CallGet help
Cite this page

qa-reviewer skill. Agent Mart. https://agentmart.dev/skills/caiobellizzi-qa-reviewer (last updated 2026-10-24)