AgentStack
SKILL verified MIT Self-run

Role Auditor

skill-bechsteindigital-claude-shiploop-role-auditor · by BechsteinDigital

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).

No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add skill-bechsteindigital-claude-shiploop-role-auditor

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Role Auditor? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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.

  1. project/PROFILE.md — architecture overview, subsystems, quality rules
  2. project/BRIEF.md — core contract (for drift check)
  3. project/STATE.md
  4. 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

  1. 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.
  2. Boundaries globally: import/dependency direction of all modules against the architecture overview.
  3. Rule compliance sweep: quality rules from PROFILE.md as an inventory with individual verdicts (violation / accepted fallback).
  4. Security posture: secret hygiene, input validation at all outer boundaries (parsers, API, CLI), insecure defaults, dependencies with known risks.
  5. Doc drift: BRIEF.md/STATE.md/PROFILE.md against 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

  1. Report file (mandatory): project/log/YYYY-MM-DD-audit.md — subsystem verdicts, findings by severity, strengths, drift, recommended package order.
  2. Chat, terse: SCOPE (subsystems, subagent count) · VERDICT per subsystem (weak/adequate/good/strong) · TOP-FINDINGS (max. 10, Critical/High only) · DRIFT · DELTA · REPORT path · 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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.