← Files Software & AI CopilotARCHIVED FILE

skills/review-code/SKILL.md

1.18 KB · Dec 4, 2026 · 00:31 UTC

↓ Download file

See the change to this file →

---
name: review-code
description: Review a code diff, pull request or repository change for actual correctness, security, concurrency, test and compatibility risks.
---

# Review Code

Use this skill only for its stated purpose. Follow the shared source-of-truth, permission and evidence rules in `../../references/workflow-contract.md`. Read `../../references/code-review.md` for detailed method when necessary.

## Procedure
1. Read intent, diff, affected callers and nearby tests; identify what changed versus the baseline.
2. Prioritize demonstrable defects and security/data/contract risks over style concerns.
3. For each finding, provide grounded location, triggering input, consequence and concrete remediation.
4. Mark blocking/important/suggestion severities and distinguish hypotheses requiring reproduction.
5. If no issues found, state inspected scope and what was not tested; do not equate review with proof.
Deliver a concise prioritized review; no speculative file references.

## Handoff rule
State actual artifacts or grounded code findings and validation status. Never invent file paths, executed tests, tool access, or completed subagent work. Keep output proportionate to the user request.

SHA-256: ddacdce790ff88d8f0a7e1db177491c0b17d711e727524c76e9dac4b958f32f7