Skip to content

Team Code Review

Reviews Python changes for bugs, missing tests and security issues against team standards

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

What it does

Once installed, the agent reviews Python code the way a careful senior engineer would. It checks that the code does what the change describes, looks for common bugs such as off-by-one errors, unhandled None values and swallowed exceptions, confirms bug fixes include a test, and flags risky patterns like SQL built from strings, use of eval, or secrets left in code or logs. Findings are returned as a list ordered by severity, each pointing to the file and line.

Great for

  • Developers who want a consistent first-pass review of Python pull requests before a human reviews them
  • Teams that want review feedback to follow the same checklist every time

Skip it if

  • Non-Python codebases, since the skill only describes Python-focused checks (reason: its rules would miss language-specific issues elsewhere)
  • Security-critical sign-off, since it is a checklist prompt and not a security scanner or audit (reason: it can miss vulnerabilities and gives no guarantee)

Try asking

  • “Review this Python pull request for bugs and missing tests”
  • “Check my diff for security issues like SQL injection or eval use”
  • “Look over this bug fix and tell me whether it has a test that would fail without the fix”
Step-by-step guide: how to use Team Code ReviewInstall, 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 to the diff or files you want reviewed, and say which PR or goal the change is meant to achieve so the correctness check has context.
  • Treat the output as a first pass; ask the agent to explain any finding it marks as severe before acting on it.
  • The skill refers to 'the team's standards' but includes only these three rules, so add your own conventions in your request if you need more.

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.