auditlisted
Install: claude install-skill YoussefRashad/backend-agent-skills
# Audit — Full-Codebase Safety Net
> **When to use:** a periodic safety net over the **entire** codebase, not a diff — the backstop when a PR skipped `/pr-review`. Invoke with `/audit` (security-only, fast) or `/audit --full` (all lanes). See options below.
Audit the **entire codebase** (not a diff). This is the backstop: if `/pr-review` skipped a PR, or code merged without review, this scan catches it. Framework-aware, severity-ranked, and — critically — it **persists findings to a file** so you and the team can work through them.
## Modes
- **Default (`security-first`):** run only the Security lane (Checks S1–S12). Fast, low-noise, safe to run often.
- **`--full`:** run **all** lanes — Security + Quality + Performance/DB + Tests + Dependencies/CVE + Observability. This is the true safety net.
- Optional targeting: `--path <dir>` to scope to a subtree; `--since <git-ref>` to scan only files changed since a ref (catch-up mode for "what merged unreviewed").
## Critical Rules (read first)
1. **Never read secret files:** `.env`, `.env.*`, `**/.env*`, `*.pem`, `*.key`, `*.crt`, `*.cer`, `*.p12`, `*.pfx`, `*.jks`, `*.keystore`, `**/id_rsa*`, `**/secrets/**`, `**/credentials/**`, `**/.aws/**`, `**/.ssh/**`, `**/.gnupg/**`. If a secret is found **in tracked source**, report type + `file:line` only — never echo the value (it's a Critical finding).
2. **Exclude from scan:** `node_modules/`, `dist/`, `build/`, `coverage/`, `vendor/`, `__pycache__/`, `.next/`, generated files, loc