agentleFS
aleen42aleen42/PersonalContext/skills/code-review/SKILL.md

code-review

Skill3 starsChanged 8 months agoMITView on GitHub

Use when the user asks for a review, code review, codereview, commit review, PR review, diff review, or wants a bug-focused assessment of changes. Default to a code review mindset that prioritizes findings about correctness, regressions, risks, and missing tests over summaries.

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

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 23

    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 task is to evaluate code rather than to implement changes immediately.

    line 8
  2. Distinctive:

    Treat findings as the primary output.

    line 15
  3. Distinctive:

    Keep summaries brief and secondary.

    line 16
  4. Distinctive:

    If no findings are discovered, say that explicitly and mention residual risk or testing gaps.

    line 18
  5. Distinctive:

    Do not spend most of the review on style nits unless the user explicitly asks for style review.

    line 31
  6. Distinctive:

    Do not drift into implementation unless the user also asks for changes.

    line 33
  7. Distinctive:

    If the scope is ambiguous but one reasonable default exists, use it and state the assumption.

    line 41
  8. Distinctive:

    Read the relevant diff before reading large amounts of surrounding code.

    line 42
  9. Distinctive:

    Look for behavior changes, not just syntax issues.

    line 44
  10. Distinctive:

    Check whether tests cover the changed paths and important failure modes.

    line 45
  11. Distinctive:

    Stop once the highest-signal findings are supported by evidence.

    line 46
  12. Distinctive:

    When the user does not specify scope, prefer these defaults:

    line 50
  13. Distinctive:

    Only raise a finding when all of the following are true:

    line 60
  14. Distinctive:

    Prefer fewer high-confidence findings over many speculative comments.

    line 66
  15. Distinctive:

    Do not pad the review with weak observations just to make the review feel substantial.

    line 67
  16. Distinctive:

    If there are no findings, explicitly say no findings were identified.

    line 86
  17. Distinctive:

    Do not rewrite code or propose large redesigns unless needed to explain a finding.

    line 92
  18. Distinctive:

    Do not fix the code unless the user also asks for implementation.

    line 93
  19. Distinctive:

    Prefer evidence from the diff, surrounding code, and tests over intuition.

    line 94
  20. Distinctive:

    Keep overviews short. The review should center on actionable findings, not retelling the patch.

    line 95
  21. Distinctive:

    Read enough surrounding code to confirm whether a suspicious diff is actually wrong.

    line 99
  22. Distinctive:

    Check call sites, data flow, and tests before claiming a regression.

    line 100
  23. Distinctive:

    When uncertain, lower confidence and phrase it as an assumption or question instead of a hard finding.

    line 102

“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

Use this skill when the task is to evaluate code rather than to implement changes immediately.

Goal

Produce a review that mirrors Codex's built-in review behavior:

  • Prioritize bugs, behavioral regressions, risky assumptions, and missing tests.
  • Treat findings as the primary output.
  • Keep summaries brief and secondary.
  • Focus on the changed code and its likely runtime impact.
  • If no findings are discovered, say that explicitly and mention residual risk or testing gaps.

What To Inspect

Review with the following order of attention:

  1. Correctness and broken behavior
  2. Regressions versus prior behavior
  3. Edge cases and unsafe assumptions
  4. Compatibility or integration risks
  5. Missing, weak, or misleading tests
  6. Maintainability issues only when they create real risk

Do not spend most of the review on style nits unless the user explicitly asks for style review.

Do not drift into implementation unless the user also asks for changes.

When reviewing defensive checks, trace the control flow and data loop that reaches them. If earlier invariants, loop conditions, or caller contracts already make a guard unreachable or redundant, prefer pointing out the unnecessary defensive branch and its maintenance cost instead of preserving it by default.

Review Workflow

  1. Identify the review scope.
    • Current working tree, staged changes, a commit, a diff, a branch, or a specific file set.
    • If the scope is ambiguous but one reasonable default exists, use it and state the assumption.
  2. Read the relevant diff before reading large amounts of surrounding code.
  3. Open only the files needed to validate suspicious changes, call sites, and tests.
  4. Look for behavior changes, not just syntax issues.
  5. Check whether tests cover the changed paths and important failure modes.
  6. Stop once the highest-signal findings are supported by evidence.

Default Scope Assumptions

When the user does not specify scope, prefer these defaults:

  1. Review the latest local changes when the conversation is already about a recent edit.
  2. Review the latest commit when the user says latest commit or similar.
  3. Review the current diff or working tree when the user says review this with no other detail.

State the assumption briefly instead of blocking on a question unless the ambiguity is materially risky.

Findings Bar

Only raise a finding when all of the following are true:

  • There is a concrete problem or meaningful risk.
  • You can point to the file and line that caused the concern.
  • You can explain the user-visible or system-visible impact.

Prefer fewer high-confidence findings over many speculative comments. Do not pad the review with weak observations just to make the review feel substantial.

Response Format

Present findings first, ordered by severity.

For each finding, include:

  • A short severity label if useful, such as P1, P2, or P3
  • The affected file and line reference
  • The problem
  • Why it matters in behavior or risk terms

After findings, include:

  • Open questions or assumptions
  • A brief change summary only if it helps
  • Residual risk or testing gaps when there are no findings

If there are no findings, explicitly say no findings were identified.

Default Review Stance

  • Assume the author may be correct; verify before criticizing.
  • Be direct and specific, not dramatic.
  • Do not rewrite code or propose large redesigns unless needed to explain a finding.
  • Do not fix the code unless the user also asks for implementation.
  • Prefer evidence from the diff, surrounding code, and tests over intuition.
  • Keep overviews short. The review should center on actionable findings, not retelling the patch.

Evidence Standards

  • Read enough surrounding code to confirm whether a suspicious diff is actually wrong.
  • Check call sites, data flow, and tests before claiming a regression.
  • Distinguish confirmed findings from open questions.
  • When uncertain, lower confidence and phrase it as an assumption or question instead of a hard finding.

Example Triggers

This skill should trigger for requests such as:

  • review this
  • help me to review the last commit
  • code review
  • review this diff
  • check this PR for bugs
  • look for regressions

Non-Goals

  • Full style or lint review unless explicitly requested
  • Large-scale redesign proposals unless needed to explain a concrete issue
  • Silent implementation of fixes during a review-only request

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.