Reviews code snippets or diffs, flagging common issues and suggesting fixes.
- What it does
- This skill guides an agent through a code review of a snippet or diff the user provides. It identifies common problems such as null-pointer risks, unhandled exceptions and resource leaks, and checks code style and naming conventions. It produces a review report containing a list of issues with severity, location and description, suggested changes, and an overall assessment.
- When to use it
- Use it when a user asks for a code review, submits a diff and wants feedback, or wants to check code quality. It fits quick, general-purpose review of pasted code rather than repository-wide tooling.
- Requirements
- No scripts or tools are required; it is instructions only. The user must supply the code snippet or diff.