agentleFS
AaqibhafeezkhanAaqibhafeezkhan/skillself/skills/codebase-review/SKILL.md

codebase-review

Skill0 starsChanged 4 days agoMITView on GitHub

Detects Python/Django, JavaScript/React or Java/Spring Boot in supplied files and applies the matching checklist. Use it when someone says “audit this codebase”, “review my Django app”, “check this React project”, or “review this Spring Boot service”.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user supplies source files, a file tree, a module or several related files and requests an engineering review.

    line 13
  2. Distinctive:

    Do not infer production configuration from sample environment files.

    line 37
  3. Distinctive:

    Do not infer behavior or context that the supplied source does not establish.

    line 42
  4. Distinctive:

    Do not omit a required field, test or referenced checklist.

    line 43
  5. Distinctive:

    Do not claim a review or validation passed without observing the result.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 5 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

Purpose

Detect the application stack and identify concrete security, performance, structure, testing and error-handling risks.

When to use

Use this skill when the user supplies source files, a file tree, a module or several related files and requests an engineering review.

Inputs needed

Require source files or a file tree with relevant code. Ask for missing source when none is supplied. Ask for the framework version only when a finding depends on version-specific behavior.

Step-by-step procedure

  1. Inventory supplied paths and read source, manifests, configuration and tests. Record evidence by path and line.
  2. Detect Python/Django, JavaScript/React or Java/Spring Boot from manifests, imports and framework configuration. Record the detected stack.
  3. Select references/django.md, references/react.md or references/spring-boot.md. Apply relevant checks and mark unavailable checks not assessable rather than passed.
  4. Trace data flow, trust boundaries, resource ownership, asynchronous work, validation and error propagation. Record only issues supported by supplied code.
  5. Sort findings by severity, path and line. Return the required five-column table.

Exact output format

Return one Markdown table with exactly these columns in order: severity, file path, line, issue, fix. Sort Critical, High, Medium, Low, then path and line. Use Not available only when a line cannot be established. Add no verdict paragraph.

Edge cases

Do not infer production configuration from sample environment files. Do not claim a control is absent when its file was not supplied. For ambiguous or mixed stacks, report only identifiable files and ask for the one missing file needed to disambiguate.

Do not

  • Do not infer behavior or context that the supplied source does not establish.
  • Do not omit a required field, test or referenced checklist.
  • Do not claim a review or validation passed without observing the result.

Worked example summary

For a Django view with an unrestricted queryset, report the exact line and require a tenant-scoped queryset plus cross-tenant tests.

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.