audit
Skill2 starsChanged 38 days agoMITView on GitHub
Audit a codebase area's design and defects into local notes, file the findings as issues, and carry the refactor program to merged PRs. Use to audit an area, plan a refactor program, file issues from audit findings, execute an audit's issues, or add another author's review to an existing audit.
- Reads credentials
194 other projects use a version of this.
Adopted by
Most recently taken up by
- Laucked-Security/claude-oswetheir own version, first seen Nov 8, 2026
- sanmidable/skillstheir own version, first seen Nov 8, 2026
- alegauss/claude-traytheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tooltheir own version, first seen Nov 8, 2026
- MammadovEshgin/clean-code-skilltheir own version, first seen Nov 8, 2026
Used with
Projects with it also use delight, teach-impeccable 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.
HK-hubSkilldelight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.
Also in 32 projects that use this
HK-hubSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 19 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 19 projects that use this
SkillPilotCHSkilllevel-up
Eine Automatisierung pro Woche finden, scopen, shippen. Output landet als proposed-Eintrag in cadence.md mit konkreten Implementations-Schritten.
Also in 12 projects that use this
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
Also in 3 projects that use this
- +7 more from HK-hub
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- openai/plugins★ 7.8ksame name
- ccch1mneyyy/dsh-TUI★ 7.2ksame name
- macro-inc/macro★ 6ksame name
- yournextstore/yournextstore★ 5.5ksame name
- gadievron/raptor★ 4ksame name
- alchemy-run/alchemy★ 1.9ksame name
- alchemy-run/alchemy-effect★ 1.9ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- nateherkai/AIS-OS★ 1.4ksame name
184 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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- atlassianSkill
- code-qualitySkill
- commit-expertSkill
- create-issueSkill
- create-prSkill
- debugSkill
- defineSkill
- deliverSkill
- final-reviewSkill
- gherkinSkill
- githubSkill
- handoffSkill
- plainSkill
- second-opinionSkill
- senior-technical-writerSkill
- testingSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
5
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
- Very specific: line 38
Mirrors: only receive copies, from --sync, and never lose a file the working copy loses.
- Distinctive: line 63
Ask the open questions in one round.
- Distinctive: line 74
Write nothing until scope and posture are confirmed.
- Distinctive: line 78
Create the files with scripts/new-audit.mts, then fill them in.
- Distinctive: line 101
If the program is done, ask before closing its tracking issue.
- Distinctive: line 102
Ask whether to continue with a spawned audit, work on a decision, or stop.
“Common” is measured: kept by at least 6 in 10 of the 175 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
clarify → audit → issues (on request) → execute (on request) → hand off
Use the project's domain terms (CONTEXT.md or its equivalent, when present). The audit is local working notes. An issue on the project's tracker carries the intent of a change and outlives the audit; the audit entries it covers are the steps its builder reads. Anything that must outlive the audit becomes an issue.
Rules
- Correct over convenient. Choose the long-term right fix. No workarounds, stubs, or docs that paper over a bad contract.
- Push for truth. Types, tests, runtime behaviour and docs must agree.
- Sync after every change. Each time you write, edit or create anything in the audit dir, including issue drafts,
manifest.jsonandtracks.md, runnew-audit.mts --sync. With no mirror it does nothing, so always run it. - Ask when the audit is missing. An audit lives only in the audit dirs. Before reading one, run
new-audit.mts --find [scope-slug]. When it exits 1, such as on a fresh clone or another machine, ask the user where the audit is, or whether to work from the tracker's issues alone. For the issues alone, take the tracker and project from the project's instructions, asking when they do not name them, then read the tracking issue and its children with the platform skill (github or atlassian) and run Execute with each issue's acceptance as the steps.
References
| Task | Read |
| File the findings as issues | references/issues.md |
| Execute the program's issues with deliver | references/execute.md |
Posture
| Posture | Standard | Files |
strict (default) | Apply code-quality in full. It is written for a branch diff: treat the audited area as the change, and skip its rules about what a single PR adds, such as a file growing past a line limit. | All four |
balanced | Real bugs and structural regressions only. Mention simplifications briefly, and push for a large refactor only when the path is obvious. Skip legibility nits. | README.md, bugs.md |
Files
Artifacts go under the audit dir. Check that it is gitignored when it is inside the repository; if it is not, ask before adding it to .gitignore.
APLUS_AUDIT_DIRS: in the environment or the repository's.env, a list of dirs separated by commas. The first is where you work and defaults to.audit; the others are mirrors, such as a notes vault.{project}in an entry becomes the repository's name, so one value serves every project:APLUS_AUDIT_DIRS=.audit,/Users/me/Vault/audits/{project}.- Mirrors only receive copies, from
--sync, and never lose a file the working copy loses.
{audit dir}/{scope-slug}/{YYYY-MM-DD}/
README.md from assets/readme.md: verdict, priorities, open questions a maintainer must answer,
every external package, doc or link consulted, and links to the files below
bugs.md one "## {bug-key}: title" per defect: problem, failure scenario, evidence
program.md one "## {theme-key}: title" per structural theme, with its refactor moves
under it as "### {move-key}: title" (strict)
notes.md patterns the area follows or breaks, and what works and must survive a refactor (strict)
review-{author-slug}.md further authors' reviews
synthesis.md cross-audit only: where the authors agree and differ
issues/ issue drafts and manifest.json
tracks.md the track plan, when the program is executed
{audit dir}/handoffs/ handoff notes, one per paused branch, written by the handoff skillA relative audit dir resolves against the primary checkout, so every worktree shares one audit, and removing a worktree keeps it. --sync copies handoff notes to the mirrors too.
- Date folder: the date the program's first audit started. Everything for that program, including other authors' reviews, drafts and later days' work, stays in it, so the drafts share one
manifest.json. - Author slug: kebab-case, such as
claude-opus. - Keys are short and stable (
B1,T2, andM2.1for a move underT2); each issue draft lists the ones it covers.
Clarify
Ask the open questions in one round; skip what the request already answers.
| Topic | Options | Default |
| Scope | A folder, package or subsystem | Inferred from the request |
| Posture | strict or balanced | strict |
| Baseline | The current tree, or a branch or commit | The current tree |
| Cross-audit | One author, or several models auditing independently | One author |
| Issues | Audit only, or also file issues | Audit only |
| Issue size | finding, pr or outcome (create-issue: size) | pr |
Write nothing until scope and posture are confirmed.
Audit
Create the files with scripts/new-audit.mts, then fill them in. It writes the date folder, fills the templates in assets/, and stops when an audit dir inside the repository is not gitignored. Never create them by hand.
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts <scope-slug> --author <author-slug> --model <model> [--posture strict|balanced]
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts <scope-slug> --author <author-slug> --model <model> --review
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts --sync
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts --find [scope-slug]
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts --excerpt <date-folder> <key>...- First run: the command without
--reviewwrites the files for the posture. - Another author's review:
--reviewaddsreview-{author-slug}.md. Do not rewrite the first run's files. - Sync:
--synccopies the working copy to every mirror. The first two commands sync on their own. - Find:
--findprints the audits in the working copy, or the one for a scope, and exits 1 when there are none. - Excerpt:
--excerptprints the bug, theme or move for each key. A theme includes its moves. It exits 1 when a key has no section. - Cross-audit: the first author writes the full set. Each further author writes only
review-{author-slug}.mdfrom the same template, without reading the first author's files until their own findings are written. Once every author's file exists, writesynthesis.mdbefore drafting issues.
Hand off
The program is done when every change sub-issue is closed; the tracker may not close the tracking issue by itself. When it is done, the deliver run ends, or the user stops:
- Summarize what shipped: PRs merged, issues closed, key outcomes.
- List the open decisions and any spawned audits not yet started.
- If the program is done, ask before closing its tracking issue.
- Ask whether to continue with a spawned audit, work on a decision, or stop. Start nothing without confirmation.
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.

