Forked from khtsly/skills
Project Files
samples / code-review / SKILL.md
Use this skill when asked to review, audit, critique, or improve any piece of code.
Always work through these layers in order. Never skip a layer even if earlier ones look fine.
Structure your review as follows:
Result types in Rust, Option chaining in Swift, context.Context propagation in Go).See language-notes.md for common pitfalls per language to check during review.
| Level | Meaning |
|---|---|
| Critical | Will cause a bug, crash, or security issue in production |
| Warning | Degrades quality, reliability, or maintainability |
| Suggestion | Improvement only - no functional impact |
## Summary
One paragraph: overall quality signal and the single most important finding.
## Critical (must fix)
Issues that will cause bugs, data loss, or security vulnerabilities.
For each: problem → why it matters → specific fix with corrected code snippet.
## Warnings (should fix)
Issues that degrade reliability or maintainability.
Same format: problem → why → fix.
## Suggestions (nice to have)
Style, readability, or minor performance improvements.
Brief - one sentence per item is enough.
## Positive notes (optional)
What is done well. Skip if nothing stands out.