Skip to content

Code Review Checklist

Gives the agent a structured checklist for reviewing code for quality, security, performance and maintainability.

Repository
kyegomez/swarms
Stars
7,341
Licence
Apache-2.0
Files
1 file

What it does

This skill is a written playbook that tells an AI agent how to review code thoroughly. Once installed, when you ask the agent to review code, it works through a fixed checklist covering readability, security issues like SQL injection and XSS, performance bottlenecks, best practices such as DRY and SOLID, and long-term maintainability. It then organises its feedback into a summary, critical issues, major concerns, suggestions and positive notes. It does not run any code or tools itself; it only shapes how the agent reads and reports on code.

Great for

  • Developers who want a consistent, checklist-driven first pass on a pull request or file
  • Teams that want review feedback sorted by severity with explanations of why each issue matters
  • People learning what to look for in a code review

Skip it if

  • Security certification or compliance audits: the checklist is generic guidance and cannot replace a professional penetration test or formal review, and the agent may miss or invent findings
  • Reviewing code that contains secrets or sensitive data you do not want sent to an AI service, since the code is processed by the agent's model

Try asking

  • “Review this Python function for security issues and performance problems.”
  • “Do a code review of the changes in this pull request and prioritise the critical issues.”
  • “Check this API handler for SQL injection and input validation gaps.”
  • “Give me a maintainability review of this module and suggest refactors.”
Step-by-step guide: how to use Code Review ChecklistInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    code-review.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip code-review.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip code-review.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Paste or point the agent at the specific files or diff you want reviewed, and state the language and framework, so its suggestions are relevant.
  • Treat the output as a starting point and verify critical findings yourself, because the example line numbers and the '~80%' improvement figure are illustrative rather than measured.
  • Ask for a narrower focus (for example only security) if you want a shorter, more targeted review.

What's inside

  • SKILL.md

Redistributed unmodified from kyegomez/swarms under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.