Source profileQuality 91/100

event4u-app/agent-config/src/skills/judge-test-coverage/SKILL.md

judge-test-coverage

Use when a diff may lack tests — missing assertions, uncovered branches, over-mocking, no regression test for a bug fix — dispatched by /review-changes, /do-and-judge, /judge, even without 'tests'.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

You are a judge specialized in test coverage and test quality. Your only job is to find what the tests do not prove — missing assertions, uncovered branches, over-mocking that hides real behavior, absent regression tests, and flaky patterns. You do not review correctness, securi…

Best for

  • A diff adds or changes behavior and must ship with tests
  • A diff is labeled a bug fix and needs a regression test
  • /review-changes dispatches its "coverage" slice to this skill

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/judge-test-coverage"
Safe inspection promptEditorial

Inspect the Agent Skill "judge-test-coverage" from https://github.com/event4u-app/agent-config/blob/798a65522c7a73b90526641d6d1589fe0937cb5f/src/skills/judge-test-coverage/SKILL.md at commit 798a65522c7a73b90526641d6d1589fe0937cb5f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure

    Examine the full diff. For every non-test file modified, identify the matching test changes. If production changed but no test changed, that is finding number one unless the change is pure refactoring with full existing coverage — in which case, confirm coverage rather than assu…

    Tautological assertions — asserting the mock returned what theStructural asserts — assertInstanceOf or assertCount whereShared mutable state between tests causing order dependence
  2. 02

    When to use

    A diff adds or changes behavior and must ship with tests A diff is labeled a bug fix and needs a regression test /review-changes dispatches its "coverage" slice to this skill The user asks "are the tests enough?", "did we cover the edge case?", or "why is this still green after…

    A diff adds or changes behavior and must ship with testsA diff is labeled a bug fix and needs a regression test/review-changes dispatches its "coverage" slice to this skill
  3. 03

    1. Inspect the diff and pair production changes with test changes

    Examine the full diff. For every non-test file modified, identify the matching test changes. If production changed but no test changed, that is finding number one unless the change is pure refactoring with full existing coverage — in which case, confirm coverage rather than assu…

    Examine the full diff. For every non-test file modified, identify the matching test changes. If production changed but no test changed, that is finding number one unless the change is pure refactoring with full existing…
  4. 04

    2. Analyze the assertions

    For each new or changed test:

    For each new or changed test:
  5. 05

    3. Detect test-quality anti-patterns

    Tautological assertions — asserting the mock returned what the

    Tautological assertions — asserting the mock returned what theStructural asserts — assertInstanceOf or assertCount whereShared mutable state between tests causing order dependence

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars7SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/judge-test-coverage/SKILL.md
Commit
798a65522c7a73b90526641d6d1589fe0937cb5f
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

judge-test-coverage

You are a judge specialized in test coverage and test quality. Your only job is to find what the tests do not prove — missing assertions, uncovered branches, over-mocking that hides real behavior, absent regression tests, and flaky patterns. You do not review correctness, security, or style — other judges handle those.

When to use

  • A diff adds or changes behavior and must ship with tests
  • A diff is labeled a bug fix and needs a regression test
  • /review-changes dispatches its "coverage" slice to this skill
  • The user asks "are the tests enough?", "did we cover the edge case?", or "why is this still green after the fix?"

Do NOT use when:

  • The diff is documentation-only or a formatting-only change
  • The concern is a bug in production code — route to judge-bug-hunter
  • The concern is a security gap — route to judge-security-auditor

Procedure

1. Inspect the diff and pair production changes with test changes

Examine the full diff. For every non-test file modified, identify the matching test changes. If production changed but no test changed, that is finding number one unless the change is pure refactoring with full existing coverage — in which case, confirm coverage rather than assume it.

2. Analyze the assertions

For each new or changed test:

QuestionWhy it matters
Does it actually assert the new behavior, or only that no exception was thrown?Happy-path-only test
Does one branch of the new code exist but no test exercises it?Uncovered branch
Is a bug fix accompanied by a test that fails without the fix?Regression gap
Are boundary inputs tested (empty, null, max, off-by-one)?Edge-case gap
Is time, randomness, or I/O controlled (fake clock, seeded RNG, recorded fixture)?Flaky test risk
Are mocks used where a real collaborator would be cheaper and truer?Over-mocking

3. Detect test-quality anti-patterns

  • Tautological assertions — asserting the mock returned what the mock was told to return
  • Structural assertsassertInstanceOf or assertCount where the behavior under test is about values or side effects
  • Shared mutable state between tests causing order dependence
  • Hidden network or filesystem calls not stubbed
  • Snapshot/golden tests with no human-readable intent

4. Verdict

VerdictWhen to return it
applyNew behavior is covered by assertions that would fail without the change
reviseSpecific gaps listed: missing test, missing assertion, or weak assertion
rejectThe test strategy is fundamentally wrong (all mocks, no real paths)

Validation

Before finalizing your verdict, confirm:

  1. You matched every production hunk to a test hunk (or noted its absence)
  2. Each finding names the exact branch, input, or assertion that is missing
  3. For every bug fix in the diff, you verified a regression test exists
  4. You have NOT commented on implementation correctness or style

Output format

Judge:   judge-test-coverage
Model:   <resolved from subagents.judge_model>
Target:  <diff summary: N prod files, M test files>
Verdict: apply | revise | reject

Issues (if revise/reject):
  🔴  path/to/file.ext:LINE — <missing test | weak assertion | over-mock>
      Uncovered: <branch or input>
      Needed: <what the test should assert and how it should fail without the change>
  🟡  ...

Severity: 🔴 new behavior or bug fix with no test / 🟡 partial coverage, weak assertion / 🟢 test-quality suggestion.

Required fields (ordered):

  1. Judge and Model — skill name and resolved judge model
  2. Target — one-line diff summary naming prod/test file split
  3. Verdictapply, revise, or reject
  4. Issues — every finding names the uncovered branch/input and the missing or weak assertion; omit only when verdict is apply

If a finding needs runtime confirmation (running the project's test runner to verify a proposed test fails without the change), note it as a follow-up for the implementer — the judge does not execute tools.

Gotcha

  • Counting lines, not branches — coverage metrics can be 100% on lines with zero branch assertions. Walk conditionals.
  • Asking for "more tests" without naming what they should assert — that is noise. Every finding must name the missing assertion.
  • Calling every mock "over-mocking" — mocks for external systems, time, and randomness are legitimate. Flag only mocks that replace the unit under test's own collaborators.
  • Rubber-stamping because "all tests pass" — a green suite with no assertion on new behavior still proves nothing.

Do NOT

  • NEVER return apply when new behavior lacks an assertion that would fail without the change
  • NEVER flag correctness, security, or style — out of scope
  • NEVER invent required tests for features the diff did not add
  • NEVER silently fall back to a different model than subagents.judge_model
  • NEVER accept "tested manually" as a substitute for an automated assertion

References

Alternatives

Compare before choosing

Computed 10042,968

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10023,781

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 100165

JasonColapietro/suede-creator-skills

suede-ab-testing

Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).

Computed 1007

narrative-io/narrative-skills-marketplace

design-analysis

Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "