code-health-audit
Skill194 starsChanged 4 days agoApache-2.0View on GitHub
Audit code-health and technical-debt signals with evidence, rank proportionate interventions from focused cleanup to broad coordinated refactors, and draft implementation-ready plans without granting implementation permission.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jerseycheese/agent-skillstheir own version, first seen Oct 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jerseycheese/agent-skills★ 4same name
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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 3d-production-workflowSkill
- code-reviewSkill
- docxSkill
- email-workflowSkill
- ghxSkill
- github-issue-solveSkill
- github-pr-fixSkill
- github-reviewSkill
- holon-runtime-opsSkill
- interlinked-markdown-wikiSkill
- learning-coachSkill
- opsSkill
- pdfSkill
- pptxSkill
- video-productionSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 10
Use this skill for a read-only repository health audit or for preparing an evidence-backed maintenance plan.
- Very specific: line 39
Separate certainty levels: Use confirmed, signal, hypothesis, or unknown.
- Distinctive: line 52
Use only categories supported by evidence:
- Distinctive: line 67
Do not use the category as proof.
- Distinctive: line 82
Prefer candidates with meaningful impact, strong evidence, a justified intervention surface, manageable coupling, and a clear verification …
≈ “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.
Files
Code Health Audit Skill
Summary
Use this skill for a read-only repository health audit or for preparing an evidence-backed maintenance plan. Plans may cover a focused cleanup, a multi-phase refactor, or a broad coordinated change when that scale is justified by the repository's maintenance cost. It defines an evidence discipline and an output shape; it does not provide a static analyzer and it does not authorize code changes.
When To Use
- Finding maintainability hotspots across a repository
- Reviewing a technical-debt register for stale or duplicate entries
- Comparing refactoring candidates before implementation
- Drafting a proportionate, behavior-preserving maintenance or refactoring plan
- Preparing verification gates for an approved refactoring
Do Not Use
- As a substitute for reviewing a concrete change set or pull request
- To declare a smell a bug, vulnerability, or performance issue without evidence
- To run a broad rewrite, formatter sweep, or dependency upgrade as an unapproved side effect of an audit
- To infer permission to edit code, merge changes, or publish findings
Evidence Rules
- Name the scope. Record the repository, paths, time window, and read/write authorization.
- Prefer direct evidence. Cite a file and symbol or line range, relevant tests, history, configuration, or measured behavior.
- Separate certainty levels. Use
confirmed,signal,hypothesis, orunknown; explain what would raise confidence. - Avoid metric theater. A large file, high churn count, or duplicated string is a lead. Connect it to coupling, change friction, defect history, testability, or another observed impact before ranking it highly.
- Record counter-evidence. Note stable interfaces, strong tests, low churn, generated code, or other reasons not to refactor now.
- Keep findings atomic. One finding should have one primary location, impact statement, and next step. Link related findings instead of merging unrelated smells.
Audit Taxonomy
Use only categories supported by evidence:
- Boundary: responsibilities, ownership, or module seams are unclear.
- Duplication: behavior or policy is repeated and changes must stay in sync.
- Complexity: control flow or state interactions make behavior difficult to understand or verify.
- Coupling: a local change requires broad knowledge or coordinated edits.
- Testability: important behavior lacks a stable, focused verification seam.
- Consistency: neighboring code follows materially different conventions that increase maintenance cost.
- Lifecycle: compatibility, migration, cleanup, or deprecation paths are incomplete or indefinitely retained.
- Observability: failures or state transitions cannot be diagnosed with the available evidence.
Do not use the category as proof. Explain the observed pattern and impact.
Candidate Ranking
Rank candidates using a short qualitative score:
| Dimension | Question |
| Impact | What maintenance cost or risk is reduced? |
| Confidence | How directly is the claim supported? |
| Surface | How many files, interfaces, and owners are involved? |
| Coupling | How many callers, integrations, or invariants can be affected? |
| Regression risk | What can silently change? |
| Verification readiness | Can behavior be checked before and after? |
Prefer candidates with meaningful impact, strong evidence, a justified intervention surface, manageable coupling, and a clear verification path. A large surface is not itself a reason to reject a candidate when leaving the problem in place has greater maintenance cost. A low-confidence high-impact item belongs in an investigation queue, not at the top of an implementation queue.
Report Shape
Produce:
Scope and baseline
Evidence matrix
- ID:
- Category:
- Location:
- Observation:
- Evidence:
- Impact:
- Confidence:
- Counter-evidence or gaps:
Priority order
- Candidate:
- Why now:
- Dependencies:
Maintenance or refactoring plan
1. Preserve these invariants:
2. Add or identify these verification gates:
3. Choose the right-sized intervention:
- use a focused seam change when it addresses the root cause;
- sequence a multi-phase change when that reduces risk;
- use a broad coordinated refactor when smaller changes would preserve the
maintenance problem or create temporary inconsistency.
4. Re-run focused checks, broader gates, and compare behavior as appropriate:
5. Stop or roll back if:
Authorization statePlans must distinguish inspection, test-only preparation, implementation, and cleanup. Each implementation phase should have an explicit boundary and a verification gate; the boundary may span many files when the change is coordinated and justified. If behavior cannot be characterized, recommend more investigation instead of inventing a safe refactoring sequence.
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.

