Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Test Review

  • 93 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Test-review is an agent skill that scores content assertion depth and flags shallow or brittle skill tests.

About

Test-review is a specialized checker skill for maintainers of agent skills and plugin documentation who need tests that prove semantic correctness—not just that a file mentions a section heading. It extends scenario quality review with a Content Depth dimension rated from none through L3+ cross-plugin validation, using a five-level table and concrete flag rules. During test review you score whether assertions parse embedded examples, validate schema structure, enforce decision-framework contracts, and avoid brittle prose or exact-wording checks that belong in slop detectors rather than behavioral tests. The readme anchors on Leyline testing-quality standards modules and gives anti-pattern guidance with better approaches for each mistake. Solo builders packaging skills for Claude Code or night-market-style ecosystems use it before Ship to prevent regressions when SKILL.md wording shifts but behavior must remain stable. It pairs naturally with broader code or scenario review in the same repo but does not replace end-to-end application testing.

  • Content Depth scored 1–5 from existence-only checks through cross-plugin validation
  • Flags gaps when skills ship L1-only tests despite JSON/YAML blocks or version-gated features
  • Documents content assertion anti-patterns: prose style, exact wording, brittle string matches
  • Ties to Leyline content-assertion levels and scenario quality assessment extensions
  • Explicit triggers for anti-pattern, decision-framework, and forbidden-behavior coverage

Test Review by the numbers

  • 93 all-time installs (skills.sh)
  • Ranked #1,022 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill test-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs93
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Review agent or plugin test suites for content-assertion depth so skills with JSON, YAML, and behavioral contracts are verified beyond keyword smoke tests.

Who is it for?

Skill authors and plugin maintainers reviewing Leyline-style or modular SKILL.md test packs before publishing updates.

Skip if: Application UI E2E testing or production incident response—this targets documentation and skill content test quality only.

When should I use this skill?

During test review when evaluating content assertion quality for skills with JSON/YAML blocks, version-gated features, behavioral guidance, or forbidden behaviors.

What you get

You get a structured content-depth score, gap flags, and anti-pattern corrections so test suites assert semantics appropriate to L2–L3+ expectations.

  • Content Depth score (1–5) with level justification
  • List of content test gaps and anti-pattern fixes

By the numbers

  • Content Depth scored on a 1–5 scale across five defined levels
  • Anti-pattern table with three documented assertion mistakes and better approaches

Files

SKILL.mdMarkdownGitHub ↗

Table of Contents

Test Review Workflow

Evaluate and improve test suites with TDD/BDD rigor.

Quick Start

/test-review

Verification: Run pytest -v to verify tests pass.

When To Use

  • Reviewing test suite quality
  • Analyzing coverage gaps
  • Before major releases
  • After test failures
  • Planning test improvements

When NOT To Use

  • Writing new tests - use parseltongue:python-testing
  • Updating existing tests - use sanctum:test-updates

Required TodoWrite Items

1. test-review:languages-detected 2. test-review:coverage-inventoried 3. test-review:scenario-quality 4. test-review:invariant-preservation 5. test-review:gap-remediation 6. test-review:evidence-logged 7. test-review:findings-verified

Progressive Loading

Load modules as needed based on review depth:

  • Basic review: Core workflow (this file)
  • Framework detection: Load modules/framework-detection.md
  • Coverage analysis: Load modules/coverage-analysis.md
  • Quality assessment: Load modules/scenario-quality.md
  • Remediation planning: Load modules/remediation-planning.md

Workflow

Step 1: Detect Languages (test-review:languages-detected)

Identify testing frameworks and version constraints. → See: modules/framework-detection.md

Quick check:

find . -maxdepth 2 -name "Cargo.toml" -o -name "pyproject.toml" -o -name "package.json" -o -name "go.mod"

Verification: Run the command with --help flag to verify availability.

Step 2: Inventory Coverage (test-review:coverage-inventoried)

Run coverage tools and identify gaps. → See: modules/coverage-analysis.md

Quick check:

git diff --name-only | rg 'tests|spec|feature'

Verification: Run pytest -v to verify tests pass.

Step 3: Assess Scenario Quality (test-review:scenario-quality)

Evaluate test quality using BDD patterns and assertion checks. → See: modules/scenario-quality.md

Focus on:

  • Given/When/Then clarity
  • Assertion specificity
  • Anti-patterns (dead waits, mocking internals, repeated boilerplate)

Step 4: Plan Remediation (test-review:gap-remediation)

Create concrete improvement plan with owners and dates. → See: modules/remediation-planning.md

Step 5: Log Evidence (test-review:evidence-logged)

Record executed commands, outputs, and recommendations. → See: imbue:proof-of-work

Test Quality Checklist (Condensed)

  • [ ] Clear test structure (Arrange-Act-Assert)
  • [ ] Critical paths covered (auth, validation, errors)
  • [ ] Specific assertions with context
  • [ ] No flaky tests (dead waits, order dependencies)
  • [ ] Reusable fixtures/factories
  • [ ] Invariant-encoding tests intact (see below)

Invariant-Encoding Tests

Tests encode design invariants as well as verifying behavior. A test that asserts "module A never imports from module B" encodes a layer boundary. A test that asserts "this function is pure" encodes a concurrency model. These tests are load-bearing in ways that coverage metrics cannot capture.

During review, check:

1. Were invariant-encoding tests removed or weakened? A test that enforced an architectural boundary, data structure constraint, or API contract should not be deleted without naming the invariant being abandoned and escalating to human judgment.

2. Were test expectations changed to match a broken implementation? If an assertion value changed, ask: did the requirement change, or did the agent change the test to make its code pass? The latter is the single most dangerous form of test tampering.

3. Are new invariants encoded as tests? When a design decision is made (choice of data structure, module boundary, error strategy), there should be at least one test whose failure would signal that the invariant was violated.

Red flag patterns:

PatternRisk
@pytest.mark.skip added to a passing testInvariant being silently dropped
Assertion changed from specific to broadConstraint being relaxed
Test renamed to describe new behaviorOld invariant erased from history
Test deleted "because it tested old code"Invariant removed without replacement

When invariant erosion is detected:

Do NOT approve. Flag as a BLOCKING quality issue and present the three options to the human:

1. Preserve: Revert the test change, fix the implementation to satisfy the invariant 2. Layer: Keep the invariant test, add the new behavior alongside it (accepting inelegance) 3. Revise: The invariant is genuinely wrong; remove the old test AND write a new test encoding the replacement invariant

This is a judgment call that models get wrong far too often. Default to option 1 (preserve) when no human is available.

Output Format

## Summary
[Brief assessment]

## Framework Detection
- Languages: [list] | Frameworks: [list] | Versions: [constraints]

## Coverage Analysis
- Overall: X% | Critical: X% | Gaps: [list]

## Quality Issues
[Q1] [Issue] - Location - Anchor: `verbatim source text at file:line` - Fix

## Remediation Plan
1. [Action] - Owner - Date

## Recommendation
Approve / Approve with actions / Block

Verification: Run the command with --help flag to verify availability.

Integration Notes

  • Use imbue:proof-of-work for reproducible evidence capture
  • Reference imbue:diff-analysis for risk assessment
  • Format output using imbue:structured-output patterns

Verify Findings Are Grounded (test-review:findings-verified)

Every finding must cite a real location and a verbatim anchor. Write findings to .review/findings.json and confirm each citation resolves:

python plugins/imbue/scripts/citation_verifier.py \
  --findings .review/findings.json --repo-root .

Drop or label UNVERIFIED any finding the verifier fails (exit 1); only verified findings enter the report. See Skill(imbue:review-core) Step 5 and Skill(imbue:structured-output) for the schema.

Exit Criteria

  • Frameworks detected and documented
  • Coverage analyzed and gaps identified
  • Scenario quality assessed
  • Remediation plan created with owners and dates
  • Evidence logged with citations
  • Every reported finding carries a Location + verbatim Anchor confirmed

by citation_verifier.py (exit 0), or unverified findings were dropped or labeled UNVERIFIED

Troubleshooting

Common Issues

Tests not discovered Ensure test files match pattern test_*.py or *_test.py. Run pytest --collect-only to verify.

Import errors Check that the module being tested is in PYTHONPATH or install with pip install -e .

Async tests failing Install pytest-asyncio and decorate test functions with @pytest.mark.asyncio

Related skills

How it compares

Use as a content-assertion rubric during test review instead of treating keyword presence as sufficient coverage for agent skills.

FAQ

Who is test-review for?

Developers maintaining agent skills, plugin docs, and automated content tests who need depth scoring beyond file existence and keyword checks.

When should I use test-review?

In Ship before merging skill releases; in Build while authoring modules with JSON/YAML examples; in Operate when iterating test suites after doc edits.

Is test-review safe to install?

Check the Security Audits panel on this Prism page; the skill is review guidance and should not require network if used as documented.

Testing & QAtestingdocs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.