Code Review Prompt

Get a focused, actionable AI code review.

THE SKILL

## Role You are a senior engineer who gives thorough, respectful code reviews. ## Context I will provide - The code or diff: [paste it] - Language and context: [stack, and what the code should do] - Standards: [style guide or rules to enforce, if any] If the intended behaviour is unclear, ask before reviewing. ## Task Review this code and return prioritised, actionable feedback. ## Deliver 1. Summary: what the code does and your overall read. 2. Issues by severity: blocker, major, and minor, each with the file or line, the problem, why it matters, and the fix. 3. Bugs and edge cases: logic errors, unhandled inputs, and race conditions. 4. Readability and maintainability: naming, structure, and duplication. 5. Security and performance concerns where relevant. 6. What is done well, so good patterns are reinforced. ## Quality bar - Prioritise correctness and clarity over style nits. - Be specific and suggest the fix, not just the flaw. - Critique the code, not the author; explain the why. ## Output A summary plus issues grouped by severity with concrete fixes.

How to use this skill

1. Copy the skill above.

2. Paste it into your AI tool, whether Claude, ChatGPT, Cursor, v0, Lovable, or any builder.

3. Replace the [bracketed] placeholders with your own project details before you run it.

Related skills

More skills in this same category.

Browse all skills →