audit
Skill2 starsChanged 9 months agoMITView on GitHub
Run the repo's reviewer agent fan-out on a branch, worktree, or PR. Parses each reviewer's Output Contract JSON and aggregates into a single verdict.
164 other projects use a version of this.
Adopted by
Most recently taken up by
- path-to-ai-com/ptai-ecom-toolkittheir own version, first seen Oct 6, 2026
- ku5ic/claude-kittheir own version, first seen Oct 6, 2026
- madkoding/motitatheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
Used with
Projects with it also use overdrive, delight 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.
nikafastovets-langSkilloverdrive
Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?
Also in 12 projects that use this
mtctSkilldelight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful.
Also in 18 projects that use this
mtctSkillteach-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 12 projects that use this
nikafastovets-langSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.
Also in 6 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 10 projects that use this
tdiminoSkillshape
Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.
Also in 8 projects that use this
- +4 more from mtct
- +1 more from nikafastovets-lang
Other versions164 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 164
- openai/plugins★ 7.3ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- gadievron/raptor★ 3.9ksame name
- nateherkai/AIS-OS★ 1.6ksame name
- jsmastery-pro/skills★ 1.4ksame name
- suboss87/FDEOps★ 950same name
- patrickjaja/claude-desktop-extra★ 657same name
- ww-w-ai/bkit-claude-code★ 600same name
- educlopez/ui-craft★ 367same name
- 10xChengTu/Mux0★ 346same name
154 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.
- affirmationSkill
- councilSkill
- doSkill
- gitSkill
- infoSkill
- kill-playgroundSkill
- memorySkill
- mergeSkill
- opsSkill
- qSkill
- refineSkill
- runSkill
- scopeSkill
- sim-sourceSkill
- stateSkill
- thinkSkill
- ui-brainSkill
- worktree-managerSkill
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 147 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
- could be automatic: a setting could enforce it
- Distinctive: line 53
If no changed files → report "No changes to audit" and exit.
- Distinctive: line 66
When in doubt, include. Prefer noise to missed findings.
- Very specific: line 134
If nothing blocking, no action.
- Distinctive: line 138
If the target was a PR fetched into a temp worktree:
- Distinctive: line 146
Read-only: Never edit files, never commit, never merge.
- Distinctive: line 150
Parallel only: All reviewers spawn in a single message.
“Common” is measured: kept by at least 6 in 10 of the 147 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
Runs the repo's contract reviewer agents in parallel and aggregates their verdicts.
/audit — audit current branch vs its merge-base with origin/main
/audit <branch> — audit <branch> vs its merge-base with origin/main
/audit <worktree-path> — audit uncommitted state in worktree (HEAD~1..HEAD)
/audit <PR#> — fetch PR head, audit it (requires gh CLI)Non-destructive, read-only. No commits, no merges. This is the standalone version of the review gate that /q, /do, and /run call internally.
What it runs
Contract reviewers (emit fenced JSON block — parsed):
stl-enforcer— token usage, styled()/stl prop disciplinea11y-reviewer— ARIA, keyboard nav, focus managementdesign-critic— spacing rhythm, visual hierarchy, compositionbundle-checker— build delta, new exports, dep churn
Reviewers must live at .claude/agents/<name>.md in the target repo. If an agent is missing, audit skips it with a warning rather than failing.
Execution
Step 1: RESOLVE TARGET
Parse the argument:
| Shape | Resolution |
| (empty) | Current branch at cwd; diff vs git merge-base HEAD origin/main |
bare integer (e.g. 123) | gh pr checkout <n> in a temp worktree, diff vs PR base |
| path exists & is a worktree | Use that worktree; diff = HEAD~1..HEAD (most recent commit) |
starts with / or ./ and path exists | Treat as worktree path, same as above |
| otherwise | Treat as branch name; diff vs git merge-base <branch> origin/main |
Compute changed files:
git -C {target} diff --name-only {base}..{head}If no changed files → report "No changes to audit" and exit.
Step 2: SELECT REVIEWERS
Include all 4 contract reviewers by default. Skip one only when clearly irrelevant given changed files:
| Skip | When |
stl-enforcer | No packages/stl* edits AND no .tsx/.ts imports of styled() or stl prop |
a11y-reviewer | No .tsx files changed AND no ARIA/role-related changes |
design-critic | No .tsx files changed (pure logic/config/build scripts) |
bundle-checker | No package.json diff AND no new exports in src/index.ts equivalents |
When in doubt, include. Prefer noise to missed findings.
Step 3: SPAWN IN PARALLEL
Send all selected reviewers in a single message with multiple Agent tool calls:
Agent(
subagent_type: "{reviewer}",
name: "{reviewer}-audit",
prompt: "Review changes in {target path}. Changed files: {list}. Diff range: {base}..{head}. End your response with the Output Contract JSON block."
)Step 4: PARSE
For each reviewer response, extract the fenced ```json block at the end:
{
"severity": "ok|warning|error",
"blocking": true,
"summary": "...",
"findings": [
{ "file": "...", "line": 0, "rule": "...", "severity": "error|warning", "message": "..." }
]
}- Missing reviewer agent file → record as skipped
- Malformed or missing JSON → record as
severity: "warning", synthetic finding - Empty
findingswithseverity: "ok"→ pass
Step 5: AGGREGATE
Compute top-line verdict:
| Condition | Verdict |
Any reviewer returned blocking: true | ❌ BLOCKING |
| Any warnings, none blocking | ⚠️ WARNINGS |
All ok, no findings | ✅ CLEAN |
Step 6: REPORT
Print a single markdown block:
## Audit — {target summary}
**Verdict:** {emoji} {verdict-label}
**Changed files:** {N}
**Reviewers:** {ran}/{selected} (skipped: {skipped-list})
### Findings ({total})
#### {reviewer-name} — {severity}
{summary line}
- `{file}:{line}` — `{rule}` — {message}
- ...
(repeat per reviewer that returned findings)
### Clean
{reviewers that returned ok, comma-separated}If nothing blocking, no action. If any blocking: true, the user should fix those before merging — this skill does not auto-retry; that's the caller skills' job (/q, /do, /run).
Step 7: CLEANUP (PR mode only)
If the target was a PR fetched into a temp worktree:
git worktree remove {temp-path} --force 2>/dev/null
git branch -D {temp-branch} 2>/dev/nullRules
- Read-only. Never edit files, never commit, never merge.
- No auto-fix. Report findings; the user (or
/q//do) decides whether to remediate. - Never spawn non-contract reviewers.
ui-testerandtest-writerare separate tools — call them explicitly when needed, not from/audit. - Skip silently on missing agent files. Record in the skipped list; do not error.
- Parallel only. All reviewers spawn in a single message. Serial review defeats the point.
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.

