agentleFS
holon-runholon-run/holon/skills/code-review/SKILL.md

code-review

Skill150 starsChanged 57 days agoApache-2.0View on GitHub

Review a set of code changes using evidence-backed findings, explicit confidence, and a clear coverage summary.

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

16 rules. 0 are common, 12 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to review a code change independently of the hosting platform.

    line 10
  2. Distinctive:

    Use the context supplied by the caller.

    line 29
  3. Distinctive:

    Do not assume a particular directory or file name.

    line 37
  4. Distinctive:

    Read applicable project instructions before judging behavior.

    line 46
  5. Distinctive:

    If core context is missing, continue only with an explicit limited-scope result.

    line 49
  6. Distinctive:

    Do not stop at summarizing the apparent intent.

    line 65
  7. Distinctive:

    Follow important control flow into surrounding code when needed to establish impact, but avoid speculative project-wide criticism.

    line 70
  8. Distinctive:

    Run a focused test, type check, lint, query, or other available verification when it can distinguish a real issue from a false positive.

    line 78
  9. Distinctive:

    Do not publish a high-severity finding based only on a pattern match, naming preference, or an unverified hypothesis.

    line 87
  10. Distinctive:

    Do not lower confidence, severity, or omit an otherwise valid finding solely because a hosting platform cannot attach it to an inline …

    line 89
  11. Distinctive:

    Keep only actionable findings supported by the change or directly relevant surrounding code.

    line 94
  12. Very specific:

    Do not report a finding as critical or high unless its evidence and impact justify that severity.

    line 102
  13. Very specific:

    If the caller explicitly provides an artifact directory and requests exports, write review.md and review-result.json there.

    line 117
  14. Very specific:

    Use repository-relative paths and changed-line locations when available.

    line 147
  15. Distinctive:

    If verification cannot run, record the attempted command and reason.

    line 158
  16. Very specific:

    If a finding cannot be reproduced or precisely evidenced, mark it needs-context or omit it from actionable findings.

    line 159

“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 Skill

Summary

Use this skill to review a code change independently of the hosting platform. The result is a concise, evidence-backed assessment for a human or another workflow to consume. This skill does not know how to fetch a pull request or publish comments.

When To Use

  • Reviewing a patch, commit range, change set, or proposed implementation
  • Checking regressions before a merge, release, or deployment
  • Producing findings for a platform-specific review adapter

Do Not Use

  • Implementing the fix while reviewing
  • Approving, blocking, or otherwise replacing a human merge decision
  • Treating an unavailable file, test, or instruction as evidence that no issue exists

Inputs

Use the context supplied by the caller. It may include:

  • change_set: changed files, hunks, and the before/after revisions
  • baseline: relevant surrounding code, configuration, interfaces, and history
  • project_instructions: repository or path-specific review rules
  • prior_feedback: earlier findings and their current status
  • verification_budget: commands or checks that may be run

Do not assume a particular directory or file name. If a caller supplies a manifest, resolve inputs from its artifact entries and record missing or unavailable entries in the coverage summary.

Workflow

1. Establish scope and coverage

  • Identify the exact change set and its baseline.
  • Read applicable project instructions before judging behavior.
  • List the files and hunks actually reviewed.
  • Separate facts observed in the supplied context from assumptions.
  • If core context is missing, continue only with an explicit limited-scope result; never infer a clean review from missing evidence.

2. Generate candidates

Perform an explicit hunk-level risk scan. For every changed file and materially changed hunk, consider each applicable category before moving on:

  1. Correctness and data integrity
  2. Security, authorization, trust boundaries, and secret handling
  3. Lifecycle, failure handling, retries, cancellation, and cleanup
  4. Concurrency, ordering, idempotency, and duplicate side effects
  5. Compatibility, migrations, and public contract changes
  6. Resource usage and performance
  7. Tests, observability, and maintainability when they affect behavior

Do not stop at summarizing the apparent intent. Inspect changed conditions, state transitions, error paths, call sites, tests, documentation, and generated contracts as applicable. Record the causal changed hunk and the best actionable location for every candidate while the context is fresh.

Follow important control flow into surrounding code when needed to establish impact, but avoid speculative project-wide criticism.

3. Verify candidates

For every candidate finding:

  • Re-read the relevant code and trace the behavior to a concrete outcome.
  • Run a focused test, type check, lint, query, or other available verification when it can distinguish a real issue from a false positive.
  • Confirm that the issue is introduced or materially worsened by the change.
  • Confirm that the evidence and impact can be located precisely enough for the author to act. Prefer a changed-line location; when the impact appears in unchanged code, CI, generated output, or a cross-file interaction, record the best location and its causal relationship to the change.
  • Lower confidence or omit the finding when evidence remains inconclusive.

Do not publish a high-severity finding based only on a pattern match, naming preference, or an unverified hypothesis. Do not lower confidence, severity, or omit an otherwise valid finding solely because a hosting platform cannot attach it to an inline changed-line range.

4. Classify and deduplicate

Keep only actionable findings supported by the change or directly relevant surrounding code. For each finding, assign:

  • severity: critical, high, medium, or low
  • confidence: confirmed, likely, or uncertain
  • category: the primary risk category
  • status: open, needs-context, or not-reproducible

Do not report a finding as critical or high unless its evidence and impact justify that severity. Merge duplicate findings and distinguish a new impact from previously reported feedback.

5. Deliver the result

Return one user-facing brief containing:

  1. Conclusion first: findings, clean review, or limited review
  2. Findings ordered by severity, each with location, impact, evidence, and an actionable recommendation
  3. Coverage: revisions, files/hunks examined, instructions available, and verification performed
  4. Limitations and unresolved questions

If the caller explicitly provides an artifact directory and requests exports, write review.md and review-result.json there. These are optional exports, not required runtime files and not prerequisites for a valid review.

Finding Contract

Represent each finding with this platform-neutral shape:

{
  "id": "stable-within-this-review",
  "severity": "high",
  "confidence": "confirmed",
  "category": "correctness",
  "status": "open",
  "location": {
    "path": "src/example.rs",
    "start_line": 42,
    "end_line": 45
  },
  "title": "Short problem title",
  "impact": "Describe the user-visible or operational consequence.",
  "evidence": [
    "Describe the relevant code path, input, state transition, or verification."
  ],
  "recommendation": "Give a concrete direction for fixing or validating it.",
  "introduced_by_change": true
}

Use repository-relative paths and changed-line locations when available. location should identify the best actionable location even when it is not a changed line. It may be omitted for a valid repository- or check-level finding, but then explain why the issue cannot be mapped precisely and keep it in the brief rather than silently mapping it to an unrelated line.

Degradation Rules

  • Missing change-set or baseline context means limited review, not clean.
  • Missing project instructions must be reported as an instruction-coverage limitation; do not claim that no such instructions exist.
  • If verification cannot run, record the attempted command and reason.
  • If a finding cannot be reproduced or precisely evidenced, mark it needs-context or omit it from actionable findings.

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.