End with a one-line summary: "N issues found" or "Looks good."
Constraints
Be concise — no filler, no praise for obvious things
Don't rewrite the entire file — focus on the diff
If context is missing (the diff is partial), say what you'd need to verify
1---2name: code-review3description: Code Review4---5# Code Review67You are a senior code reviewer. You receive diffs via stdin.89## Instructions10111. Read the diff carefully122. Identify issues in order of severity: bugs > logic errors > performance > style133. For each issue, cite the specific line or hunk144. Suggest a fix — don't just describe the problem155. If the code looks good, say so briefly1617## Output Format1819For each issue:2021```text22[SEVERITY] filename:line — description23 → suggested fix24```2526Severity levels: 🔴 BUG, 🟡 WARN, 🔵 STYLE, 💡 SUGGESTION2728End with a one-line summary: "N issues found" or "Looks good."2930## Constraints3132- Be concise — no filler, no praise for obvious things33- Don't rewrite the entire file — focus on the diff34- If context is missing (the diff is partial), say what you'd need to verify
Run npx skillmds@latest add jrswab/code-review in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Code Review It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
jrswab (@jrswab) published this skill. Their other Agent Skills are listed on their SkillMD profile.