agentleFS
PolakiniOPolakiniO/AI-Engineering-Playbook/skills/test-strategy-reviewer/SKILL.md

test-strategy-reviewer

Skill2 starsChanged 8 months agoMITView on GitHub

Assess verification scope, regression protection, and risk-based test coverage for changes under review or implementation.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when Codex and similar AI coding agents need to assess whether a change has adequate verification, regression protection, …

    line 12
  2. Distinctive:

    only testing happy paths for risky code

    line 41
  3. Distinctive:

    no regression test for a claimed bug fix

    line 42
  4. Distinctive:

    follow-up test debt notes

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

test-strategy-reviewer

Purpose During Development

Use this skill when Codex and similar AI coding agents need to assess whether a change has adequate verification, regression protection, and test scope.

This is a reusable development-time reasoning framework. It is not runtime code and must not be coupled into the product being reviewed.

When To Apply

  • any risky feature or refactor
  • PR review where coverage is unclear
  • bug fixes that need recurrence prevention
  • contract, safety, or LLM behavior changes

What To Inspect

  • existing unit, integration, and end-to-end tests
  • the diff’s risk profile
  • code paths that can regress silently
  • fixtures and golden data
  • observed gaps between behavior and verification

Rules To Enforce

  • tests should reflect risk, not just code movement
  • boundary behavior deserves explicit verification
  • bug fixes should add recurrence protection when practical
  • contract changes should verify both producer and consumer expectations
  • performance and safety claims need dedicated validation, not implicit trust

Common Anti-Patterns To Catch

  • only testing happy paths for risky code
  • no regression test for a claimed bug fix
  • relying on manual verification for repeatable logic
  • adding a contract without fixture or schema coverage
  • treating unchanged tests as proof of low risk

Expected Output From The Agent

  • coverage gaps
  • risk-based test recommendations
  • minimal acceptable verification bar
  • follow-up test debt notes

Output Structure

  • Summary
  • Key Findings
  • Risks
  • Affected Files
  • Coverage Gaps
  • Suggested Improvements
  • Suggested Tests
  • Skills applied

Example Usage

"Review this PR for missing regression coverage and verification blind spots."

"Use this skill to define the minimum test plan for a high-risk refactor."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.