Check whether a codebase upholds its standards — a specific theme, or every code theme in parallel. Use when asked to review conventions, check standards, or audit codebase health.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Scan Standards?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ooloth-scan-standards)
---
name: scan-standards
description: Check whether a codebase upholds its standards — a specific theme, or every code theme in parallel. Use when asked to review conventions, check standards, or audit codebase health.
argument-hint: '[code-structure | code-readability | type-design | correctness | error-handling | security | privacy | data-integrity | testing | observability | instrumentation | performance | async-coordination | reliability | documentation | api-design | cli-design | dependencies | deployment | config | agent-harness | decision-making | prioritization | developer-experience | user-experience | bash | css | git | python | rust | terraform | typescript] [optional: path/glob or git-range e.g. src/api/ or main..HEAD]'
model: opus
effort: high
---
## Dispatch
**If the user specified a theme:**
1. Read `~/.agents/standards/README.md` to understand the framing and tier definitions
2. Load `~/.agents/standards/<theme>.md` (list `~/.agents/standards/` if unsure which file
applies), and every standards file it names as covering part of the same gap, such as
`instrumentation.md` for `observability.md`. When two files catch one gap, the README grades it
at the higher tier, so a scan that loads only the theme file can grade a gap lower than a review
would
3. Study the current project's documented guidance for this concern (if any)
4. Use up to 50 subagents to explore the codebase (or the path/git-range if the user specified a
smaller scope)
5. Identify violations of Must standards, deviations from Should standards, and unresolved Consider
tradeoffs
6. Focus especially on patterns you would not want a future agent to spread
7. Report separately any standard you could not evaluate against the code in front of you, quoting
its lead sentence. A lead sentence whose truth depends on knowing what recently changed cannot be
checked against a codebase that has no diff, and that is a defect in the standard rather than a
gap in the scan
**If no theme was specified, continue below for a full parallel review.**
---
## Important: stay in your coordinator role
Do NOT invoke any Skill tools yourself. Instead, launch 7 Agent subagents in a **single message**
(so they run in parallel), with each review's full prompt inlined as shown below.
## Full review
1. Read `~/.agents/standards/README.md` and all reference files for each cluster below. Then launch
all 7 Agent subagents in a **single message**, scoped to the entire codebase (or subsection if
the user specified a smaller scope). Paste the relevant reference file contents into each agent's
prompt. Each agent should return a structured list of findings with severity, location, and
recommendation.
Each subagent's prompt must include:
- The full content of the relevant reference files
- The tier definitions from README.md
- This shared task: "Read the files yourself, change nothing, and do not spawn subagents of your
own. Identify
violations of Must standards, deviations from Should standards, and unresolved Consider
tradeoffs. Focus especially on patterns you would not want a future agent to spread. Return
findings as a structured list with severity (Must/Should/Consider), location, and
recommendation. Report separately any standard you could not evaluate against the code in
front of you, quoting its lead sentence and naming what you would have needed. A lead sentence
whose truth depends on knowing what recently changed cannot be checked against a codebase that
has no diff, and skipping it silently is how it stays that way."
**Subagent 1 — Structure** (subagent_type: Explore, description: "review structure")
Inline: `~/.agents/standards/code-structure.md`, `~/.agents/standards/code-readability.md`,
`~/.agents/standards/user-experience.md`
**Subagent 2 — Types & Correctness** (subagent_type: Explore, description: "review types and
correctness")
Inline: `~/.agents/standards/type-design.md`, `~/.agents/standards/correctness.md`,
`~/.agents/standards/error-handling.md`
**Subagent 3 — Security & Privacy** (subagent_type: general-purpose, model: opus, description:
"review security and privacy"). Not Explore, which reads excerpts to locate code rather than
audit it, and a security gap it skims past ships silently.
Inline: `~/.agents/standards/security.md`, `~/.agents/standards/privacy.md`. Subagent 7 holds
`dependencies.md`, which covers the dependency claims `security.md` leaves to it
**Subagent 4 — Data** (subagent_type: Explore, description: "review data integrity")
Inline: `~/.agents/standards/data-integrity.md`
**Subagent 5 — Testing** (subagent_type: Explore, description: "review testing")
Inline: `~/.agents/standards/testing.md`
**Subagent 6 — Operations** (subagent_type: Explore, description: "review observability,
instrumentation, performance, async coordination, and reliability")
Inline: `~/.agents/standards/observability.md`, `~/.agents/standards/instrumentation.md`,
`~/.agents/standards/performance.md`, `~/.agents/standards/async-coordination.md`,
`~/.agents/standards/reliability.md`
**Subagent 7 — Documentation & Release** (subagent_type: Explore, description: "review
documentation, API design, dependencies, deployment, config, agent harness, decisions and
developer experience")
Inline: `~/.agents/standards/documentation.md`, `~/.agents/standards/api-design.md`,
`~/.agents/standards/dependencies.md`, `~/.agents/standards/deployment.md`,
`~/.agents/standards/config.md`, `~/.agents/standards/agent-harness.md`,
`~/.agents/standards/decision-making.md`, `~/.agents/standards/developer-experience.md`
`prioritization.md` is not assigned: it grades rankings of work, which a codebase does not hold,
so it runs only as a named theme.
Note: include language-specific files in the relevant agents when applicable:
`~/.agents/standards/bash.md` → Types & Correctness (if bash scripts);
`~/.agents/standards/python.md` → Types & Correctness (if Python);
`~/.agents/standards/rust.md` → Types & Correctness (if Rust);
`~/.agents/standards/typescript.md` → Types & Correctness (if TypeScript);
`~/.agents/standards/css.md` → Structure (if the project has stylesheets);
`~/.agents/standards/terraform.md` → Documentation & Release (if the project has `.tf` files);
`~/.agents/standards/git.md` → Operations (if the code runs git commands);
`~/.agents/standards/cli-design.md` → Structure (if the project has a CLI binary).
`~/.agents/standards/prioritization.md` → Documentation & Release (if the codebase holds agent
instructions, such as skills, that rank work). It judges rankings of work, which other codebases
do not hold.
2. Wait for all subagents to return their results
3. Collect anything a subagent reported as unevaluable. Those are defects in the standards files
rather than in the codebase, so they get their own short section and are not ranked among the
code findings
4. Explore specific areas of the codebase yourself if needed to compare the relative importance of
findings
5. Rank findings by priority (impact, cost of delay, ROI)
6. Present the prioritized findings with a summary table, followed by the unevaluable standards
7. Generate a self-contained HTML slide deck:
- Make a new folder with `mktemp -d`, so the report leaves nothing in the repo
- Write to `<folder>/scan-standards.html` — clean minimal styling, one slide per
category plus a title/summary slide, keyboard arrow-key and click navigation
- `open <folder>/scan-standards.html`
8. Recommend a next action and wait for the user's response