Index of every page on this site: llms.txt
All skills
joacod avatar

/test-health

@652e752
by joacodjoacod/skills3 stars
Run it yourself

Slash command only. Audit a repository's automated testing health and recommend a bounded, high-value next improvement slice when this command is invoked to assess an existing test suite, introduce tests into an untested or legacy project, decide what to test next, evaluate testing strategy or coverage, choose between unit, integration, and end-to-end tests, investigate brittle or flaky tests, or determine whether a small architecture change is needed for testability. Detect and prefer the repository's existing stack and conventions. Improve testing incrementally rather than pursuing arbitrary coverage targets.

Use this Skill: https://skilld.dev/gh/joacod/skills/test-health

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesreport-format.md

≈895 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Report format

Keep the default assessment concise and evidence-based. Use this structure; omit empty sections only when the user does not need them.

# Testing health

**State:** No safety net | Foothold | Partial safety net | Reliable safety net | Strong enough
**Confidence:** Low | Medium | High

## What I found

- Stack and repository shape:
- Existing test infrastructure and commands:
- Commands executed and results:
- CI behavior:
- Representative test-quality observations:
- Important protected and unprotected risks:

## Biggest current risk

<Describe one important weakness, with file, symbol, command, or CI evidence.>

## Recommended iteration

**Primary risk or behavior:** <one risk or behavior>
**Seam and test level:** <where and how confidence will be observed>
**Bounded slice:** <primary change plus directly enabling setup and related scenarios>
**Explicitly out of scope:** <independent risks, broad cleanup, or migrations left for later>

## Why this first

<Explain why this slice reduces more meaningful risk than the obvious
alternatives.>

## Done when

- <the primary behavior and its key related outcomes are protected, or the reliability/CI defect is repaired>
- <the relevant command passes reliably>
- <CI executes it when in scope>
- <no unnecessary framework, coverage target, or architecture migration was added>
- <the final change stays within the selected slice>

## Later

- <at most three short, ordered follow-ups, or “Good enough for now.”>

Wording guidance

Separate facts from inference:

  • Observed: “pnpm test --filter api exited 0 with 18 tests.”
  • Verified statically: “CI's workflow runs pytest on pull requests.”
  • Inferred: “The checkout boundary is likely the highest-risk seam because it combines persistence and payment decisions; no checkout test was found.”

If execution is unavailable, say so directly and lower confidence. Distinguish failed, skipped, unavailable, and not-applicable checks. Do not write “tests pass” when only a manifest was read.

Name the chosen state without a numeric score. Coverage and test counts can be included as supporting facts, but never as the objective or the recommendation.

Example: no safety net

State: No safety net Confidence: Medium

The repository has a Python manifest and a tests/ directory, but no runnable test command is documented, no test files contain assertions, and CI does not invoke a test runner. The smallest valuable slice is to establish the existing ecosystem's runner and protect the public command's important invalid-input boundary with a small representative set of scenarios—not to create a full testing pyramid.

Example: partial safety net

State: Partial safety net Confidence: High

The existing suite runs in CI and protects pure pricing rules, but sampled checkout tests mock the application collaborators and no test crosses the persistence/payment seam. The next slice is one targeted integration boundary covering a successful checkout and its important failure outcome, reusing the existing test database or boundary fixture. Do not add more utility tests or set a coverage target in this slice.

Example: strong enough

State: Strong enough Confidence: High

Important public workflows, persistence boundaries, and failure paths have reliable tests at appropriate levels; CI runs the relevant suite and sampled tests assert outcomes through stable seams. No additional change currently justifies its maintenance cost. Good enough for now.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill is a repository auditor that collects evidence about a project's testing suite. It is implementation-safe but carries an inherent risk of indirect prompt injection and command execution because it instructs the agent to read and execute commands found in potentially untrusted project repositories.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 652e752. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month
user-invocable
true
disable-model-invocation
true

README badge

README badge for joacod/skills/test-health