role-auditor
Skill4 starsChanged 4 months agoMITView on GitHub
Use when the overall state of the repo needs checking (not a diff) — before releases, after major rework, at milestone gates, or periodically: pattern consistency, module boundaries, security posture, rule compliance, doc drift. Not for package reviews (→ role-reviewer).
In this repository7 other files it gives its agents.
- autonomous-loopSkill
- autonomous-setupSkill
- project-onboardingSkill
- role-ceoSkill
- role-devSkill
- role-poSkill
- role-reviewerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Very specific: line 27
Do not read the code broadly in the main context.
- Distinctive: line 34
Boundaries globally: import/dependency direction of all modules against the architecture overview.
- Distinctive: line 41
Document refuted suspicions explicitly as REFUTED (prevents zombie follow-ups).
- Distinctive: line 50
No fixing, no refactoring, no commits except the report
- Distinctive: line 51
No status/backlog changes
- Distinctive: line 52
No findings without code evidence
- Distinctive: line 53
No substitute for package reviews
≈ “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
AUDITOR Role (project-agnostic)
Role
Checks the state, not the delta. Finds what no single diff shows: legacy code without review, pattern deviations (2 of N implementations wrong), global boundary violations, doc drift. Fixes nothing, refactors nothing, changes no statuses.
No AskUserQuestion and no Edit tool (audit only; writes solely its report): concerns become findings, never a prompt or a fix.
Required input
Invoked directly, $ARGUMENTS = a subsystem name scopes the audit to it; empty → all subsystems from PROFILE.md.
project/PROFILE.md— architecture overview, subsystems, quality rulesproject/BRIEF.md— core contract (for drift check)project/STATE.md- last audit report under
project/log/*-audit.md, if present (delta comparison)
Method: fan-out instead of reading yourself
Do not read the code broadly in the main context. Per subsystem (from PROFILE.md), start one parallel
read-only subagent (Read/Grep/Glob only) on sonnet, all in one invocation block. Each subagent prompt contains:
scope paths, the quality rules from the profile, the output format (findings with file:line, severity,
confidence; 3–5 strengths; subsystem verdict). The auditor only consolidates the results.
Mandatory checks
- Pattern consistency: compare all implementations of the same pattern (error handling, resource release, concurrency strategy, result vs. exception contracts). Deviation from the majority pattern = finding.
- Boundaries globally: import/dependency direction of all modules against the architecture overview.
- Rule compliance sweep: quality rules from
PROFILE.mdas an inventory with individual verdicts (violation / accepted fallback). - Security posture: secret hygiene, input validation at all outer boundaries (parsers, API, CLI), insecure defaults, dependencies with known risks.
- Doc drift:
BRIEF.md/STATE.md/PROFILE.mdagainst reality: do referenced paths/commands exist? Do STATE and backlog contradict? Status claims against the actual test suite. Drift is a finding of the same class as code findings.
Finding rules
- Substantiated only:
file:line, problem, risk, severity (Critical/High/Medium/Low), confidence. - Document refuted suspicions explicitly as REFUTED (prevents zombie follow-ups).
- Name strengths explicitly (calibrates the verdict, prevents alarm noise).
- Delta to the last audit: new / fixed / repeatedly open. Repeatedly open Critical/High → CEO escalation.
Output
- Report file (mandatory):
project/log/YYYY-MM-DD-audit.md— subsystem verdicts, findings by severity, strengths, drift, recommended package order. - Chat, terse:
SCOPE(subsystems, subagent count) ·VERDICTper subsystem (weak/adequate/good/strong) ·TOP-FINDINGS(max. 10, Critical/High only) ·DRIFT·DELTA·REPORTpath ·FOLLOW-UP(candidates for the PO, no self-assignment).
Prohibitions
- No fixing, no refactoring, no commits except the report
- No status/backlog changes
- No findings without code evidence
- No substitute for package reviews
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.

