agentleFS
euxxeuxx/claude-skills-for-copilot/skills/code-review/SKILL.md

code-review

Skill4 starsChanged 7 months agoMITView on GitHub

Multi-agent code review for local changes, files, or directories. Detects bugs, security issues, and conventions-file violations (AGENTS.md/CLAUDE.md/GEMINI.md).

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use starter, media-processing 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.
  • ww-w-aiSkill

    starter

    Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).

    Also in 4 projects that use this

  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 5 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 4 projects that use this

  • AWSSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 32 projects that use this

  • AWSSkill

    resolving-merge-conflicts

    Use when you need to resolve an in-progress git merge/rebase conflict.

    Also in 48 projects that use this

  • +1 more from mrgoonie
  • +2 more from aws

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 8

    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 a sub-agent to list file paths of relevant conventions files in this priority order: AGENTS.md, then CLAUDE.md, then GEMINI.md.

    line 18
  2. Distinctive:

    Use a sub-agent to scan the code changes and return a summary of the change.

    line 19
  3. Distinctive:

    Agent 3 — Git history: Read git blame and history of modified code to identify bugs in light of historical context.

    line 27
  4. Distinctive:

    Agent 4 — Code comments: Read comments in modified files and verify the changes comply with any guidance in those comments.

    line 28
  5. Distinctive:

    Agent 5 — Security & quality: Look for security issues and code quality problems that would directly impact functionality.

    line 29
  6. Distinctive:

    If no issues remain, output that no issues were found.

    line 46
  7. Distinctive:

    Treat the following as false positives in steps 2 and 3:

    line 51
  8. Distinctive:

    Do not attempt to build or typecheck the app — these run separately in CI.

    line 64

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

Code Review

Provide a code review for the given code changes (e.g. local changes, a file, or a directory).

Steps

Make a todo list first, then follow these steps precisely:

1. Gather context

  • Use a sub-agent to list file paths of relevant conventions files in this priority order: AGENTS.md, then CLAUDE.md, then GEMINI.md. Include the root file (if one exists), plus files in directories whose files were changed.
  • Use a sub-agent to scan the code changes and return a summary of the change.

2. Parallel review

Launch 5 parallel sub-agents to independently review the change. Each agent returns a list of issues with the reason flagged (e.g. conventions-file adherence, bug, historical context):

  • Agent 1 — Conventions-file compliance: Audit changes against AGENTS.md or similar conventions files (CLAUDE.md, GEMINI.md), using priority order AGENTS.md -> CLAUDE.md -> GEMINI.md. Note that these files are guidance for AI while writing code; not all instructions apply during code review.
  • Agent 2 — Bug scan: Shallow scan for obvious bugs, focusing only on the changed lines. Prioritize large bugs; ignore nitpicks and likely false positives.
  • Agent 3 — Git history: Read git blame and history of modified code to identify bugs in light of historical context.
  • Agent 4 — Code comments: Read comments in modified files and verify the changes comply with any guidance in those comments.
  • Agent 5 — Security & quality: Look for security issues and code quality problems that would directly impact functionality.

3. Confidence scoring

For each issue found in step 2, launch a parallel sub-agent to score it from 0–100 (give this rubric to each agent verbatim):

  • 0 — Not confident at all. False positive that doesn't stand up to light scrutiny, or a pre-existing issue.
  • 25 — Somewhat confident. Might be real, but unverified. If stylistic, not explicitly called out in the applicable conventions file.
  • 50 — Moderately confident. Verified as real, but may be a nitpick or rare in practice. Not very important relative to the rest of the change.
  • 75 — Highly confident. Double-checked; very likely a real issue that will be hit in practice. Important and directly impacts functionality, or directly mentioned in the applicable conventions file.
  • 100 — Absolutely certain. Confirmed real issue that will happen frequently. Evidence directly confirms it.

For issues flagged due to conventions files, double-check that the applicable conventions file actually calls out that issue specifically.

4. Filter and output

  • Discard issues scoring below 80.
  • If no issues remain, output that no issues were found.
  • Output the review directly to the user following the output format below.

False Positives

Treat the following as false positives in steps 2 and 3:

  • Pre-existing issues
  • Something that looks like a bug but is not actually a bug
  • Pedantic nitpicks that a senior engineer wouldn't call out
  • Issues a linter, typechecker, or compiler would catch (missing imports, type errors, formatting). Assume these run separately in CI.
  • General code quality issues (lack of test coverage, poor documentation), unless explicitly required in a conventions file
  • Issues called out in a conventions file but explicitly silenced in code (e.g. a lint-ignore comment)
  • Intentional functionality changes directly related to the broader change
  • Real issues on lines the user did not modify

Notes

  • Do not attempt to build or typecheck the app — these run separately in CI.
  • Cite and link each issue. If referring to a conventions file, you must link it.

Output Format

With issues found

### Code review

Found N issues:

1. <brief description> (conventions file says "<...>")

   <link to file and line range>

2. <brief description> (some/other conventions file says "<...>")

   <link to file and line range>

3. <brief description> (bug due to <file and snippet>)

   <link to file and line range>

No issues found

### Code review

No issues found. Checked for bugs and conventions-file compliance.

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.