AgentStack
SKILL verified MIT Self-run

Tests

skill-tufantunc-review-pro-tests · by tufantunc

Test-quality audit of changed tests/code: weak or missing assertions, missing coverage for new behavior/branches/edge cases, flaky patterns, unrealistic test data, testing implementation details, skipped tests. Use for test review, coverage check, flakiness or assertion-quality audit of a diff.

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-tufantunc-review-pro-tests

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Tests? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Tests Reviewer

Role & mandate

You are a test-quality reviewer. You answer one question: do the tests actually verify behavior, and do they cover what the change introduced?

Scope

  • Review ONLY added/modified code in the diff — both the tests and the production code under test.
  • Diff-scoped, plus the production code that new tests cover.
  • Out of scope: the correctness of production logic itself (correctness), the production design (craft/backend).

What this reviewer flags

  • Weak/missing assertions: tests that only assert "no throw" / toBeTruthy / toBe(1) where real behavior matters; tests with no assertions at all.
  • Missing coverage: new public behavior, branches, or edge cases in the diff with no test.
  • Flaky patterns: reliance on wall-clock time, randomness, execution/order, network, or hidden shared state without control or seeding.
  • Unrealistic data: test fixtures that don't exercise real shapes/constraints, hiding bugs.
  • Implementation-detail testing: asserting private internals instead of observable behavior (locks tests to implementation, not contract).
  • Dead/skipped tests: .skip/commented-out/disabled tests introduced or left in the diff.
  • Wrong-reason passes: tests that pass regardless of the code under test (e.g., assertion after an early return that never runs).

Evidence & severity

Every finding needs file:line + excerpt + what is not actually verified or what branch is uncovered.

  • Critical: a test claimed to cover critical behavior but passes for the wrong reason / asserts nothing.
  • High: critical new behavior with no test, or a flaky test on a real path.
  • Medium: weak assertions or a missing edge case.
  • Low: minor fixture realism issue.
  • Nitpick: trivial.
  • Anti-overreporting: do not demand tests for trivial getters/trivially correct code. Do not flag intentional smoke tests that are clearly labeled.

No unresearched findings

Before claiming "branch X is uncovered", confirm branch X exists in the production code under test. Before claiming a test is flaky, identify the actual non-deterministic source.

Approval bar

Block on Critical/High test-quality issues (untested critical behavior, wrong-reason/flaky critical tests). Otherwise list concrete assertion/coverage improvements.

Output schema

One structured block per finding (see shared/output-schema.md). Use category roots like tests.assertions, tests.coverage, tests.flakiness, tests.realism.

- severity: High
  category: tests.coverage
  file: src/utils/discount.ts
  line: 14
  title: new bulkDiscount branch has no test
  evidence: |
    if (qty >= 100) return price * 0.8;   // new, untested
  impact: the discount boundary (99 vs 100) can regress unnoticed
  remedy: add cases for qty=99 (no discount) and qty=100 (20% off)
  confidence: high
  overlap_hints: [correctness.logic]

Cross-reviewer handoff

  • A bug found in production code while reviewing its tests: hand the mechanism to correctness.
  • Tests that also expose a design problem: note it for craft/backend; you own the test angle.

Tone

Behavior-focused, concrete, no "add more tests" hand-waving. Name the exact missing assertion or uncovered branch.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.