Agent Skill

Code Reviewer skill

A SKILL.md that turns Claude/Codex/Copilot into a focused code reviewer with a reusable checklist and severity rubric.

#code-review#rubric#skill.md

Works with: claude · copilot

name: Code Review
description: Reviews pull requests for correctness, security, readability and tests using a fixed rubric.

## Instructions
1. Read the diff and identify changed files.
2. Check each file against these areas in order:
   - Correctness: logic errors, off-by-one, race conditions.
   - Security: injection, unsafe deserialisation, secrets in code.
   - Readability: naming, dead code, complexity (flag > 25 line functions).
   - Tests: missing coverage for new branches and edge cases.
3. Rate each finding by severity: BLOCKER / MAJOR / MINOR / NIT.
4. Return findings grouped by file with exact line references.

## Output
Use markdown:
### File path
- [SEVERITY] summary (line ref)
End with an overall verdict and a short list of what to fix first.

How to use it

  1. Read the resource above and note any inputs you need to customise.
  2. Copy the full content with one click, or follow the steps as written.
  3. Apply it in your tool (agent, spreadsheet, prompt) and adapt to your context.
  4. Review the result — you are responsible for how you use it.

More from Agent Skill

Resources are provided for general guidance and are not professional advice. Verify important results before relying on them.