Skip to main content
skill CX Codex

04-audit — Claude Code skill: what it does, how to install

04-audit is a Claude Code skill that audits a codebase across seven quality pillars and produces a ranked report without changing code.

MIT ★ 571 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ai-driven-dev/framework
/plugin install aidd-dev@aidd-framework
Open on GitHub

What 04-audit does

The skill diagnoses repositories in read-only mode across seven specific areas: code quality, architecture, security, dependencies, performance, tests, and UI. Each identified issue receives a severity level, a direct file:line reference, an explanation, an effort estimate, and a suggested resolution.

All audit findings are stored inside aidd_docs/tasks/<yyyy_mm>/<yyyy_mm_dd>_audit/. Each evaluated pillar writes its findings to <pillar>.md, while a full run compiles an aggregated report.md containing a unified table and top action items. If you submit a prompt without a specific target, the agent stops to ask whether to check one pillar or all seven.

Because the skill is strictly read-only, it will not edit files or implement fixes.

What it helps with

  • Audit project source code for OWASP security flaws and secrets
  • Detect performance bottlenecks like N+1 queries and heavy operations
  • Evaluate test pyramid balance and critical-path coverage
  • Generate a ranked report of technical debt with file locations and effort estimates

Example prompts for the agent

  • Run a security audit on this codebase
  • Audit architecture and check boundaries against our ADRs
  • Perform a full quality audit across all pillars

How to install 04-audit

1Plugin marketplace

/plugin marketplace add ai-driven-dev/framework
/plugin install aidd-dev@aidd-framework

This installs the whole aidd-dev plugin with all its skills

2Skills CLI (Vercel)

npx skills add ai-driven-dev/framework --skill 04-audit -a claude-code

3Manually: put the files in place

~/.claude/skills/04-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/04-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about 04-audit

How to install 04-audit in Claude Code?

In Claude Code, run /plugin marketplace add ai-driven-dev/framework followed by /plugin install aidd-dev@aidd-framework.

What does the 04-audit skill do?

It inspects codebases across seven quality pillars to produce ranked Markdown reports without changing any project files.

Can 04-audit apply automated code fixes?

No. It operates exclusively in read-only mode to locate, rank, and document problems rather than fix them.

Source text

SKILL.md · MIT
---
name: 04-audit
description: Audit a codebase read-only across seven quality pillars into one ranked report. Use when the user wants to assess, health-check, or audit a codebase or one pillar. Not for fixing findings, reviewing a change, or checking a feature works.
argument-hint: scope | pillar
---

# Skill: audit

Diagnose a codebase against quality pillars and emit one ranked findings report. Read-only: it identifies and ranks problems, never changes code.

## Actions

| #   | Action         | Pillar       | Lens                                                                 |
| --- | -------------- | ------------ | -------------------------------------------------------------------- |
| 01  | `code-quality` | code-quality | Clean code (naming, SOLID, DRY, readability, smells) and tech debt (dead code, complexity, file/function size, error handling) |
| 02  | `architecture` | architecture | Conformance to C4 / ADRs, coupling, boundaries, layering             |
| 03  | `security`     | security     | OWASP risks, authz, input validation, secrets in code                |
| 04  | `dependencies` | dependencies | CVEs, licenses, outdated and unused deps, supply chain               |
| 05  | `performance`  | performance  | N+1 queries, hot paths, bundle size, heavy operations                |
| 06  | `tests`        | tests        | Critical-path coverage, flakiness, test pyramid balance              |
| 07  | `ui`           | ui           | Loading/error/empty states, visual hierarchy, design-system drift, responsive, a11y |

Run the one pillar named, or offer all seven when the request is unscoped.
Before running an action, read its file in `actions/`, not only the table or assets.

## Transversal rules

- Read-only: diagnose and rank, never edit code.
- Scope: run the one named pillar, or for an unscoped request ask once "all seven pillars, or one?" before running. Never silently default to one pillar, never blind-run all without offering the choice.
- One folder per run, `aidd_docs/tasks/<yyyy_mm>/<yyyy_mm_dd>_audit/`, like a feature folder. Every pillar that runs always writes its own `<pillar>.md` there, alone or in a full run. A full run additionally writes a merged `report.md`: one Findings table (category = pillar, severity-first), one Top-actions list, and one Coverage section over all seven pillars.
- Unscannable pillar: skip it, record it under `Coverage > Skipped` with the reason, and never invent findings for it.
- Every finding row carries a severity, its pillar, a concrete `file:line`, the issue, a suggested fix, and an effort.

## Assets

- `assets/audit-template.md`: the report structure both run modes fill.

© AI-Driven Dev · MIT · ai-driven-dev/framework

Similar skills

All skills for Code review and refactoring →

From the same set80

The whole set →
07-refactor 07-refactor rewrites code along one of four axes: performance, security, cleanup, architecture. It scans on its own or takes a finished audit report as the to-do list. CX Codex +1 ★ 571repo stars 00-init 00-init controls AIDD telemetry in projects: turns resource tracking on or off with consent, configures identity, or purges recorded metrics. CX Codex +1 ★ 571repo stars 03-shadow-areas 03-shadow-areas — a skill that scans written artifacts (ideas, user stories, PRDs, specs) and produces a structured report of blind spots—what the author has not addressed. Runs on Claude Code, Cursor, Codex, GitHub Copilot, and OpenCode. CX Codex +1 ★ 571repo stars 11-explore 11-explore surveys a project along three axes: installed tooling, context and codebase. You get a compact map, then a deeper walk down whichever axis you name. CX Codex +1 ★ 571repo stars 01-bootstrap 01-bootstrap guides early SaaS architecture decisions and records them in aidd_docs/INSTALL.md. Use it while defining a new project’s stack and design. CX Codex +1 ★ 571repo stars checker checker — a subagent that judges finished work against a checklist, runs validation, and verifies the code serves the actual need. Reports findings with evidence, never edits. CX Codex +1 ★ 571repo stars 04-fact-check 04-fact-check verifies factual statements against authoritative sources and rewrites prose with citations, hedging claims that lack proof. Not meant for judging code. CX Codex +1 ★ 571repo stars distribution distribution — a skill for Claude Code, Cursor, Codex, GitHub Copilot and OpenCode that manages where plugin and marketplace content comes from and how to fetch it. CX Codex +1 ★ 571repo stars

Project sponsors

Companies that keep this analytics open