audit-local
Skill2 starsChanged 44 days agoApache-2.0View on GitHub
Audit uncommitted local working-tree changes for bugs, security issues, regressions, and missing tests. Use when the user asks to audit/review local changes, dirty tree, uncommitted diff, ``/audit-local``, or wants a hands-on review instead of only launching Bugbot.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- keep-starknet-strange/starknet-skillstheir own version, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- keep-starknet-strange/starknet-skills★ 2same 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 repository6 other files it gives its agents.
- ak5-live-testSkill
- create-prSkill
- cursor-delegateSkill
- releaseSkill
- ak5Skill
- releaseSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Default scope: uncommitted changes (staged + unstaged + untracked that belong to the change).
- Distinctive: line 19
Do not fix findings or commit unless the user explicitly asks next.
- Very specific: line 48
If there is no staged/unstaged/untracked change: say so in one sentence and stop.
- Distinctive: line 72
Run a focused pytest subset only when it clearly validates the audit claim and is cheap.
- Distinctive: line 77
Start with 1–2 sentences: overall risk / theme of the change.
- Very specific: line 94
If no issues: one line, e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Audit Local Changes
You review the local diff. Do not only spawn a subagent and wait — read the diff, open the touched code, and report findings yourself.
Default scope: uncommitted changes (staged + unstaged + untracked that belong
to the change). If the user asks for branch / committed work vs dev/*.x or
master, widen the scope accordingly.
Do not fix findings or commit unless the user explicitly asks next.
Workflow
Audit-Local Progress:
- [ ] 1. Collect diff
- [ ] 2. Read critical new/changed code
- [ ] 3. Check tests & call sites
- [ ] 4. Report findings table1. Collect diff (parallel)
From the repo root:
git status
git diff # unstaged
git diff --cached # staged
git diff --stat HEADAlso list untracked files from git status and read new source/test files
that are part of the change (do not skip them because they are absent from
git diff).
If there is no staged/unstaged/untracked change: say so in one sentence and stop.
Empty or tiny formatting-only diffs: say so briefly; still flag risk if relevant.
2. Read critical code
Prioritize (in order):
- New modules / public APIs / auth / DB / crypto / filesystem / shell exec
- Control-flow changes (error handling, gates, migrations, defaults)
- Routers/CLI entrypoints and clients that must stay in sync with API auth
- Tests that claim to lock the new behavior
Open full files when the hunk is insufficient (imports, helpers, callers).
3. Check tests & call sites
For each behavior change ask:
- Is there a regression test that would fail if this were reverted?
- Did callers (CLI, MCP, frontend, Docker/env) get updated with the new contract?
- Can import-time / startup side effects break recovery paths (e.g. migrate)?
- Are defaults safe (auto-restore, destructive flags, open auth)?
Run a focused pytest subset only when it clearly validates the audit claim and is cheap; do not block the report on a full suite.
4. Report
Start with 1–2 sentences: overall risk / theme of the change.
Then a markdown table, severity highest first:
| Severity | Location (file:line) | Finding |
| High/Medium/Low | path:line | Imperative, concrete, actionable |
Severity guide:
- High — data loss, auth bypass, RCE, broken recovery path, silent wrong DB
- Medium — incorrect behavior under realistic use, security hygiene, multi-worker footgun
- Low — dead code, docs/test gaps, minor robustness
Also include a short Coverage gaps bullet list when tests clearly miss a new gate or failure mode.
If no issues: one line, e.g. Audit: no blocking issues in local diff (N files).
Optional: if the user also wants Bugbot, run it after (or in parallel with) your own audit and merge unique findings into the same table — never replace your own review with Bugbot alone.
Anti-patterns
- Launching Bugbot / another agent and producing no direct analysis
- Reviewing only
git diffhunks while ignoring new untracked files - Vague findings (“looks fine”, “consider improving”) without location + reason
- Auto-fixing or committing as part of the audit
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.

