canonical-audit
Skill39 starsChanged 20 days agoApache-2.0View on GitHub
Run a full-codebase canonical-pattern audit and write a markdown report to .canonical-audit/. Use when the user asks for a canonical-style scan, a #7458 progress check, or a periodic audit between cron runs.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adoptSkill
- bugfixSkill
- bulk-auditSkill
- claims-auditSkill
- commitSkill
- dead-code-reviewSkill
- deploySkill
- implementSkill
- issueSkill
- parallelSkill
- researchSkill
- research-to-issuesSkill
- secreviewSkill
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 12
Verify the runners exist:
- Very specific: line 17
Run the audit via the Make target (also creates .canonical-audit/ if missing):
- Distinctive: line 22
Read the most recent markdown reports:
- Distinctive: line 28
If any rule has BLOCK-severity violations, also surface the top 5 offending files for that rule.
- Distinctive: line 30
Do NOT auto-file GitHub issues.
≈ “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
/canonical-audit
Runs the canonical-check Python and infra runners in --all mode and writes both markdown and JSON sidecars to .canonical-audit/ (gitignored). Then summarizes the report inline.
Steps
- Verify the runners exist:
test -f tools/lint/canonical_check.py && test -f tools/lint/canonical_check_infra.py || echo "ERROR: canonical-check not installed" - Run the audit via the Make target (also creates
.canonical-audit/if missing):make canonical-audit - Read the most recent markdown reports:
Open each and surface the Summary table to the user.ls -1t .canonical-audit/*.md | head -3 - If any rule has BLOCK-severity violations, also surface the top 5 offending files for that rule.
- Do NOT auto-file GitHub issues. Report findings inline. Filing is a separate user-driven step.
Notes
- Frontend audit (
canonical-check-fe) does not yet support--allmode (deferred to Wave 3). It is skipped here. - Reports go to
.canonical-audit/locally and to GitHub Actions artifacts on the weekly cron run. Neither is committed.
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.

