agentleFS
philoserfphiloserf/claude-code-config/skills/code-audit/SKILL.md

code-audit

Skill13 starsChanged 2 months agoMITView on GitHub

Reviews a codebase for bugs, design issues, and code cleanliness problems with specific file paths and line numbers. Use when auditing code quality, finding bugs, doing a code review, or reviewing a project for issues. Writes issues to `.issues/`.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use browser-extension-reverse, cloud-k8s and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • xAmirHamza77Skill

    browser-extension-reverse

    Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

    Also in 3 projects that use this

  • xAmirHamza77Skill

    cloud-k8s

    Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

    Also in 3 projects that use this

  • +10 more from xAmirHamza77

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify before you claim. A finding whose Description says what you ran and what it printed is worth several that assert from reading.

    line 37
  2. Very specific:

    Write .issues/000-audit.md last, once the findings exist: what you covered, what you ran, where you stopped, what the set adds up to, and …

    line 43

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review this codebase for bugs, design issues, and code cleanliness problems. Be specific and cite file paths and line numbers.

Scope the review to $ARGUMENTS if provided, otherwise review the entire project. Examples: src/auth/, lib/api.ts, security, tests/.

Skip vendored dependencies, build output, generated/minified code, and lockfiles (e.g. node_modules/, dist/, build/, vendor/, *.min.js, package-lock.json, go.sum).

Output

Findings go to .issues/ and the overview to .issues/000-audit.md, following issues-protocol.md — read it before writing anything. It is the canonical copy shared across the code-* review skills, and it defines the file layout, the finding format and severity scale, the dedup checks against .issues/ and GitHub, and what to do on a re-run.

Process

Work the protocol's "Before filing anything" checks against every candidate finding, then file each surviving one as its own .issues/ file in the protocol's format, with **Source:** code-audit.

A bug you find in code another skill has already written about is the case to handle deliberately, not the exception. code-reduction proposing that a function be deleted and this skill finding a null deref inside it are both true; file yours, cross-reference theirs, and say which move you would make first.

Verify before you claim. A finding whose Description says what you ran and what it printed is worth several that assert from reading. Where a fix is checkable by an existing build or test command, name it in ## Suggested fix.

Overview

Write .issues/000-audit.md last, once the findings exist: what you covered, what you ran, where you stopped, what the set adds up to, and the index table. Report the same index to the caller in the conversation.

Do not use when

  • Reviewing harness customizations (skills, hooks, settings) — use /doctor
  • Reviewing a specific staged or branch diff — use /code-review
  • The ask is a target design or a migration plan rather than a findings list — use code-refactor

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.