agentleFS
dfinsondfinson/promptlings/skills/test-analysis/SKILL.md

test-analysis

Skill1 starsChanged 11 days agoApache-2.0View on GitHub

Assess whether tests and acceptance evidence detect meaningful regressions, cover required behavior, and exercise relevant integration and failure paths. Use for test investigation or evaluating a change's verification claims.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    When execution is authorized, run the focused existing checks that meaningfully exercise the changed behavior.

    line 17
  2. Distinctive:

    Stop when the caller's verification question is answered or the required flow is blocked.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 Analysis

Goal

Determine what behavior the available tests actually establish and which material failures would escape them.

Method

  1. Map the requested behavior and acceptance criteria to the implementation and relevant existing unit, integration, and end-to-end tests. Read assertions and fixtures, not only test names or coverage totals.
  2. Identify concrete regressions that each assertion would detect. Check whether mocks, setup, cached state, or success-shaped fixtures bypass the contract being claimed.
  3. Examine relevant boundaries, negative cases, error propagation, cancellation, retries, concurrency, and state transitions. Report a gap with the behavior and failure it would miss, not a request for arbitrary coverage percentages.
  4. When execution is authorized, run the focused existing checks that meaningfully exercise the changed behavior. Inspect actual results. An explicitly required end-to-end flow must be executed as that flow, not replaced with mocks or static inspection.
  5. For a proposed regression test, explain the triggering input or state, observable failure, and assertion that separates correct and incorrect behavior. Consider existing integration coverage before requesting another test.

Return and stop

Distinguish test inspection, commands executed and their results, behavior verified, and unmet or unverified acceptance criteria. Report missing tools, credentials, or environments explicitly. A passing test does not establish behavior outside its assertions and execution path.

Stop when the caller's verification question is answered or the required flow is blocked. Do not weaken assertions, change production code, or install dependencies without authorization. Recommend a complete correction, independent of its size.

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.