Agent Skills: Code Review

Use when reviewing code, diffs, PRs, branches, or pasted snippets; detects the language or framework and routes to the relevant technical review skills.

UncategorizedID: adibfirman/dotfiles/code-review

Install this agent skill to your local

pnpm dlx add-skill https://github.com/adibfirman/dotfiles/tree/HEAD/claude/.claude/skills/code-review

Skill Files

Browse the full folder contents for code-review.

Download Skill

Loading file tree…

claude/.claude/skills/code-review/SKILL.md

Skill Metadata

Name
code-review
Description
Use when reviewing code, diffs, PRs, branches, or pasted snippets; detects the language or framework and routes to the relevant technical review skills.

Code Review

General routing skill for code review workflows. Every review must apply both sets of guidance: the skills under this code-review/ directory and the matching programming-language or framework-specific skills. Use this skill to inspect the review target and route to those sources instead of duplicating review guidance here.

Routing

Process

  1. Determine the review scope: pasted code, selected files, git diff, PR, branch, or repository area.
  2. Inspect the target before choosing a specialized skill.
  3. Infer the primary language, framework, and review concern from filenames, imports, package manifests, and code patterns.
  4. Always load and apply the relevant skills under this code-review/ directory before writing findings.
  5. Always load and apply the matching programming-language or framework-specific skills before writing findings.
  6. Route to every relevant specialized skill when the review spans multiple ecosystems or concerns.
  7. Ask one concise clarification question if the target or intended review focus is ambiguous.
  8. After the review, mention the source skill or skills used for the review, using their skill names or paths.

Output

  • Findings remain the primary focus, ordered by severity with file and line references.
  • Include a concise Review sources line naming both the code-review/ skills and the programming-language or framework-specific skills that informed the review.