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
event4u-app/agent-config/src/skills/judge-test-coverage/SKILL.md
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'.
Decision brief
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…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/judge-test-coverage"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
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…
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…
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…
For each new or changed test:
Tautological assertions — asserting the mock returned what the
Permission review
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
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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.
/review-changes dispatches its "coverage" slice to this skillDo NOT use when:
judge-bug-hunterjudge-security-auditorExamine 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.
For each new or changed test:
| Question | Why 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 |
assertInstanceOf or assertCount where
the behavior under test is about values or side effects| Verdict | When to return it |
|---|---|
apply | New behavior is covered by assertions that would fail without the change |
revise | Specific gaps listed: missing test, missing assertion, or weak assertion |
reject | The test strategy is fundamentally wrong (all mocks, no real paths) |
Before finalizing your verdict, confirm:
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):
apply, revise, or rejectapplyIf 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.
apply when new behavior lacks an assertion that would
fail without the changesubagents.judge_modelsubagent-orchestration —
model-pairing rules (subagents.judge_model one tier above implementer).test-driven-development —
the write-the-test-first workflow that prevents most findings this judge makes.testing-anti-patterns and its
sibling process-anti-patterns.md —
prevention layer this judge backs up; rationalization-table row numbers
are valid review citations.judge-bug-hunter,
judge-security-auditor,
judge-code-quality — dispatched
together by /review-changes.Alternatives
coreyhaines31/marketingskills
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
alirezarezvani/claude-skills
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
JasonColapietro/suede-creator-skills
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).
narrative-io/narrative-skills-marketplace
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", "