agentleFS
fiveonecodefiveonecode/agent-skills/code-review/SKILL.md

code-review

Skill19 starsChanged 3 months agoMITView on GitHub

Review pull requests, commits, or diffs for high-signal engineering issues and merge risk. Use when asked to review code, audit a patch, find bugs, or provide merge readiness feedback. Focus on defects introduced by the proposed changes (correctness, security, performance, reliability, and maintainability) and report actionable findings with severity, confidence, and precise code locations.

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

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

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 9

    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. Distinctive:

    Run a high-signal review with a low false-positive rate.

    line 10
  2. Distinctive:

    If intent or scope is missing, infer conservatively and state assumptions.

    line 19
  3. Distinctive:

    Use independent perspectives when possible, then merge only validated findings.

    line 37
  4. Distinctive:

    Keep a finding only if all checks pass:

    line 41
  5. Distinctive:

    Not an intentional behavior change by the author.

    line 47
  6. Distinctive:

    If confidence is low, drop the finding or convert it into an explicit question.

    line 50
  7. Very specific:

    Add a confidence score from 0.0 to 1.0.

    line 61
  8. Very specific:

    Default to reporting only high-confidence findings (for example, >= 0.80) unless the user asks for exhaustive mode.

    line 62
  9. Distinctive:

    Write one finding per distinct issue:

    line 66
  10. Distinctive:

    Keep tone factual and neutral.

    line 74
  11. Distinctive:

    If no qualified findings remain, explicitly state that no issues were found after high-signal filtering.

    line 84

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

Overview

Run a high-signal review with a low false-positive rate. Prioritize issues the author would likely fix immediately if they knew.

Required Inputs

  • Changed code scope (PR, commit range, patch, or diff).
  • Author intent (PR title/description, ticket, or summary).
  • Project-specific rules if provided. Treat explicit local rules as higher priority than generic guidance.

If intent or scope is missing, infer conservatively and state assumptions.

Workflow

1. Triage Scope

  • Confirm what changed and where.
  • Focus on changed code first; use nearby context only when needed to validate impact.
  • Ignore mechanical noise unless it introduces risk.

2. Run Multi-Pass Analysis

  • Pass A: Compile/runtime correctness (syntax, type use, imports, control flow).
  • Pass B: Security and data integrity (auth, validation, secret handling, unsafe defaults).
  • Pass C: Reliability and performance (resource leaks, blocking calls, hot-path regressions).
  • Pass D: API and compatibility impact (breaking behavior, migrations, version assumptions).
  • Pass E: Test and observability coverage for changed behavior.

Use independent perspectives when possible, then merge only validated findings.

3. Qualify Each Candidate Issue

Keep a finding only if all checks pass:

  • Introduced by this change (not pre-existing debt).
  • Evidence-backed and reproducible from available context.
  • Meaningful impact on correctness, security, performance, reliability, or maintainability.
  • Discrete and actionable with a clear fix direction.
  • Not an intentional behavior change by the author.
  • Likely something the author would want to fix now.

If confidence is low, drop the finding or convert it into an explicit question.

4. Assign Severity and Confidence

Use priority tags:

  • P0: Release-blocking or universally critical failure.
  • P1: Urgent and should be fixed in the next cycle.
  • P2: Important but not immediately blocking.
  • P3: Low urgency but valid and actionable.

Add a confidence score from 0.0 to 1.0. Default to reporting only high-confidence findings (for example, >= 0.80) unless the user asks for exhaustive mode.

5. Write Findings

Write one finding per distinct issue:

  • Title: [Px] plus a short imperative summary (<= 80 chars).
  • Body: one paragraph explaining why this is a problem and when it occurs.
  • Evidence: exact file path with a minimal line range.
  • Fix direction: concise, concrete guidance (avoid large rewrites unless requested).
  • Confidence: numeric score.

Keep tone factual and neutral. Avoid praise, blame, and style-only commentary.

6. Provide Overall Verdict

Always include:

  • overall_correctness: patch is correct or patch is incorrect.
  • overall_explanation: 1-3 sentences.
  • Residual risks or unreviewed areas, if any.

If no qualified findings remain, explicitly state that no issues were found after high-signal filtering.

High-Signal Filter (Do Not Report)

  • Style-only nits or formatting-only concerns.
  • Speculative risks without clear evidence.
  • Issues outside changed scope unless the change clearly triggers them.
  • Broad "could be better" suggestions without defect impact.
  • Duplicate findings for the same root cause.
  • Company-specific process/policy violations unless those policies were explicitly provided for this review.

Output Template (Markdown)

## Findings

1. [P1] <title>
<one-paragraph explanation>

File: `path/to/file.ext:line`
Confidence: 0.92
Fix direction: <one short actionable suggestion>

## Overall correctness
patch is incorrect

<1-3 sentence explanation>

## Residual risks
- <optional>

For detailed checklists and calibration rules, use:

  • references/review-checklists.md

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.