tderoussel/codebase-audit

Runs a ranked, evidence-backed audit of a product, codebase, or subsystem, ending in a verify list that separates proven findings from inferred ones. Use when the user asks for an audit, a gap analysis, a deep read, a bug hunt, a readiness check, a re-audit, a state reconciliation, or asks what they are not seeing. Trigger phrases include "audit", "gap analysis", "what am I missing", "deep audit", "readiness", "bug hunt", "review the whole thing". Produces findings and a verify list; does not fix.

Qu'est-ce que codebase-audit ?

codebase-audit is a Claude Code agent skill that runs a ranked, evidence-backed audit of a product, codebase, or subsystem, ending in a verify list that separates proven findings from inferred ones. Use when the user asks for an audit, a gap analysis, a deep read, a bug hunt, a readiness check, a re-audit, a state reconciliation, or asks what they are not seeing. Trigger phrases include "audit", "gap analysis", "what am I missing", "deep audit", "readiness", "bug hunt", "review the whole thing". Produces findings and a verify list; does not fix.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tderoussel/agent-skills/tree/main/skills/codebase-audit

Installed? Explore more Développement et programmation skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Codebase audit

An audit's value is the ranking and the evidence, not the length. A finding without a file path, query result, PR number, or row count is a hypothesis — label it as one.

Ground the audit in code and production, not in documents

Project notes, plans, and status docs are checkpoints, not authority. Start from them to learn what was claimed, then verify against reality: the live commit, database state, PR checks, branch heads.

When the documents and the code disagree, that disagreement is itself a finding — often the most valuable one in the audit.

A claim about production requires a query against production. Pair this with a verification gate skill for the mechanics.

Structure

# <Scope> Audit (YYYY-MM-DD)

## TL;DR
<The three things that matter, and what you'd do first.>

## Part 1 — What you're not seeing (blind spots, ranked)
## Part 2 — Capabilities missing (ranked, each with a rough effort estimate)
## Part 3 — Existing capabilities that need improvement (ranked)
## Part 4 — Architecture changes (ranked, plain English)
## Part 5 — If I ran the next 30 days
## Verify list (discrepancies found during the audit)

Rank everything. An unranked list of 40 findings is an unactioned list of 40 findings.

Check for dormant scaffolds before estimating

Attach a rough effort estimate to each gap and say what makes it cheap or expensive.

The single most valuable audit finding is usually this one: most of the high-value "gaps" are days of work, not weeks, because the scaffolds already exist in the repo with no callers. A feature that is already 80% built is a completely different decision from one that is not.

Grep for the thing before declaring it missing. A function with zero callers is the canonical case — the code is there, nothing invokes it, and every status document describes the feature as absent.

The verify list

Every audit ends with the discrepancies it could not resolve. Each entry names:

  • what was claimed
  • what was observed
  • what query or check would settle it

This is the section the next session actually uses. Write it even when it is short.

The explicitly-not-worth-doing section

Name what you examined and deliberately rejected, with the reason.

Audits that only add to the backlog make the backlog useless. A finding you looked at and dismissed is worth more than one you never mention, because it stops the next audit from re-raising it.

Held items are not gaps

Anything already marked as deliberately deferred, or held for an explicit human decision, is held on purpose. Do not list it as a gap.

Re-surfacing a deliberate hold as a finding is how held decisions get executed by accident.

Output

Write the audit where the project keeps them. If it supersedes a prior audit, say which one and what changed — a folder of audits should stay readable as a sequence, not as a pile.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

tderoussel/competitive-teardown

Researches a competing product against your own and produces a ranked build-or-ignore verdict, plus optional comparison-page copy. Use when the user names a competitor or asks how their product stacks up against one. Trigger phrases include "vs us", "competitor", "what does X have", "should we copy", "competitive gap", "teardown", "are we behind". Produces a ranked verdict with effort estimates and an explicit not-worth-copying list.

tderoussel/decision-council

Run a structured multi-perspective review of a decision instead of getting one agreeable answer. Use when the user says run a council, get me perspectives on this, should I do X, stress-test this decision, or is this a good idea.

tderoussel/fleet-brief

Authors a workstream brief for dispatching multiple parallel build agents across one codebase, with per-lane file ownership, shared-ground warnings, and a derived DO-NOT list. Use whenever work is about to be split across concurrent agents, workers, lanes, or waves — even if the user does not say "write a brief". Trigger phrases include "fan out", "parallel agents", "orchestrate this", "split into lanes", "workstreams", "run these in parallel", "review-gated build". Produces the brief; does not dispatch.

tderoussel/inbox-triage

Triage an email inbox — sort what needs a reply, draft the replies, flag what needs a decision, and surface what can be ignored or unsubscribed. Use when the user says triage my inbox, do my email, what's in my inbox, or clean up my email.

tderoussel/overnight-build

Composes an autonomous unattended Claude Code build prompt that survives usage-limit resets via BUILD_LOG.md checkpointing, plus the launcher that restarts it. Use when the user asks for an overnight build, an autonomous build, a build to run while they sleep, an unattended or unsupervised session, or any long build they will not be monitoring. Trigger phrases include "overnight build", "run overnight", "build while I sleep", "autonomous build", "let it run", "unattended". Produces a single copyable prompt; does not run the build.

tderoussel/session-log

Write a durable record of a work session — what was built, root-caused, or shipped — into the project's notes. Use when the user says log this session, write a session log, record this, or when a substantial piece of work has just finished and needs to be handed off to a future session.

tderoussel/ship-gate

Verification gate for a Next.js-on-Vercel + Supabase + GitHub Actions stack, to run before claiming anything is shipped, deployed, live, merged, passing, or done. Use before saying a change is in production, before merging a PR, before reporting CI green, and before writing any status into a document — even if the user does not ask for verification. Trigger phrases include "is it live", "did it deploy", "ship it", "merge it", "is CI green", "confirm prod", "did that work". Encodes traps where the obvious check returns a false pass.

tderoussel/vault-doctor

Audits and repairs an Obsidian vault's structural health — broken [[wikilinks]], ambiguous duplicate filenames, missing or malformed frontmatter, stale status markers, and hub notes whose state sections have gone cold. Use when the user asks about vault health, broken links, vault cleanup, dead links, orphan notes, tag consistency, or says the vault feels messy or out of date. Trigger phrases include "vault health", "broken links", "clean up the vault", "audit the vault", "is the vault current". Read-only by default; every repair is proposed before it is made.

Skills associés