Audit

From eddiebelaval/squire · View interactive version

Audit is an AI agent skill from the GitHub repository eddiebelaval/squire. Run a structured, read-only codebase audit using parallel agents. Surfaces dead code, security gaps, wiring issues, type safety problems, and UI shells. Produces a prioritized fix plan. Use for ship-readiness checks, pre-launch reviews, or periodic hygiene sweeps.

How to use this skill

Skill file

/audit - Codebase Audit

Core Workflows

Workflow 1: Primary Action

  1. Analyze the input and context
  2. Validate prerequisites are met
  3. Execute the core operation
  4. Verify the output meets expectations
  5. Report results

Run a comprehensive, read-only audit of the target codebase. Do NOT make any changes — only read, search, and report.

Arguments

/audit [scope] where scope is optional:

Audit Dimensions

Run ALL dimensions by default. Use parallel Task agents (subagent_type: Explore) — one per dimension — for speed.

1. Security

2. Dead Code

3. Wiring Gaps

4. Type Safety

5. UI Shells

Output Format

For each finding, report:

| # | File:Line | Severity | Dimension | Finding | Suggested Fix |

Severity levels: critical (security/data loss risk), high (broken feature), medium (dead code/tech debt), low (style/cleanup)

Deliverable

After all dimensions complete, produce a single consolidated report:

  1. Executive Summary — 2-3 sentences: overall health, biggest risks
  2. Findings Table — grouped by severity (critical first), then by dimension
  3. Fix Plan — prioritized list of fixes, grouped into PRs, with effort estimates (S/M/L):

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.