audit-tests
Skill2 starsChanged 14 days agoMITView on GitHub
Tests that add code and catch no regression, each with the cut, merge, or rewrite that fixes it
14 other projects use a version of this.
Adopted by
Most recently taken up by
- borkweb/skillstheir own version, first seen Nov 29, 2026
- dzhng/skillstheir own version, first seen Nov 15, 2026
- nicholasjconn/skillstheir own version, first seen Nov 15, 2026
- dzhng/jevgreptheir own version, first seen Nov 11, 2026
- Buddhilive/buddhi-clitheir own version, first seen Nov 1, 2026
- dzhng/duet-agenttheir own version, first seen Oct 30, 2026
Used with
Projects with it also use close-spec, design-with-images and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 5 projects that use this
dzhngSkilldesign-with-images
Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.
Also in 5 projects that use this
LucasMatuszewskiSkillaudit-agents
Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.
Also in 5 projects that use this
transitive-bullshitSkillcompare-screenshots
Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.
Also in 5 projects that use this
rhnfzlSkillexplore-unknowns
Walk the user through mapping the unknowns of a task before, during, and after they build it, and hand them a four-quadrant map (settled ground, open decisions, taste, and landmines) they keep. Reach for this eagerly whenever a request is ambiguous or underspecified, the codebase or domain is unfamiliar, the user will "know it when they see it", a reference implementation must be understood before porting, a build-queue or architecture-changing task is about to start, a mid-build deviation needs capturing, or a finished change needs buy-in or verified understanding before merge. Trigger even when the skill is not named: "do a blindspot pass", "find my unknown unknowns", "interview me about this change", "brainstorm the approach for a task I am about to build", "help me scope this", "what am I missing here", "plan this before I build", "I know nothing about X in this codebase". When a territory profile is present it reads memory and the graph first and feeds the map into the build pipeline; without one it degrades to a plain general map. Not for trivial or mechanical tasks with clear acceptance criteria, single-fact lookups, pure debugging of a known symptom, or pure code review, those have their own tools. Do not use it to run the build itself; the map is the deliverable and implementation remains a separate task, whether it has not started or is already underway.
Also in 5 projects that use this
- +7 more from dzhng
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- dzhng/jevgrep★ 3.2ksame name
- trycompai/comp★ 2.2ksame name
- dzhng/skills★ 1.5ksame name
- dzhng/yap★ 118same name
- dzhng/duet-agent★ 55same name
- borkweb/skills★ 9same name
- TalonT-Org/AutoSkillit★ 5same name
- daanvandenbergh/claudekit★ 2same name
- Buddhilive/buddhi-cli★ 1same name
- dzakirinf/skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-ciSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-from-designSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-retroSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-descriptionSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Read each test in the target, and the code it calls.
- Very specific: line 30
Can't fail: no assertion, an assertion always true or always false, or an unawaited async assertion (anti-patterns.md).
- Distinctive: line 52
delete it, with the lines saved
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/audit-tests
Find the tests that cost code and catch nothing: ones that can't fail, ones bound to the implementation, duplicates, and trivial ones. Missing coverage is /audit-debt's Testing debt.
Run
Resolve the target, then dispatch the auditor agent (subagent_type: kit:auditor, foreground) with this file's procedure and the resolved target. It writes the report. Then run the report-format skill's Runtime checks yourself, and reply per skills/kit-rules/reference/output.md section 3.
The target, first match wins:
--all: every test file in the repo.- A path: the test files under it.
- Nothing: the test files
kit git-base --diff --name-onlylists. None, say so and stop.
Procedure
- Load
test-patterns, and the pattern skill for the stack the<repo-context>block names. Readtest-patterns'reference/principles.md,reference/anti-patterns.md, andreference/coverage-and-skip.md. They hold every criterion below; this file only says how to apply them. - Read each test in the target, and the code it calls.
- Flag a test of one of these kinds:
- Can't fail: no assertion, an assertion always true or always false, or an unawaited async assertion (
anti-patterns.md). - Tests the implementation: asserts on internals, call counts of private functions, or a mock of every import (
principles.md,anti-patterns.md). - Duplicate: a copy of another test with only its inputs changed, or the same condition asserted twice (
anti-patterns.md). - Trivial: covers a pass-through wrapper, a getter or setter, or a framework default (
coverage-and-skip.md).
- Can't fail: no assertion, an assertion always true or always false, or an unawaited async assertion (
- A finding comes from reading the test. Quote the lines that make it one of the four kinds.
- For a test added or changed since
kit git-basewhose subject also changed, name one runtime check under "Needs a runtime check": the test run alone against the base's code, in a worktree at"$(kit scratch-dir)/tests-base"with the branch's test file copied in, using the project's own test command. It touches only that worktree, removed withgit worktree remove --forceafter. A test that passes there too caught none of the branch's change.
Not a finding
- A test the project's coverage rules require for a business rule, auth, payment, or security boundary, however plain it reads (
coverage-and-skip.md). - A snapshot of stable serialized output (
anti-patterns.md).
Severity anchors
anti-patterns.md gives each kind its level. A trivial test is info.
Output per finding
- What it is, with
file:line, and its kind - Evidence: the quoted lines, or the runtime check's command and output once it ran
- Why it matters: the code it costs, and the regression it would miss
- Fix, one of:
- delete it, with the lines saved
- merge it into a table-driven or parametrized test, naming the rows
- rewrite it to assert behavior, naming the behavior
- the regression the suite still misses once it's gone, as the test to write
Output file
Load the report-format skill and use its format. Write to the path kit scratch-dir tests <target-slug> prints.
Rules
- Change no test. The report is the only output.
- A test that passes on the base's code is confirmed as catching nothing only after its runtime check ran.
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
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.

