adilfaisal01

code-review-swarm

"Code review — 5 parallel workers reviewing code from different lenses (correctness, style, security, performance, testability), reading the file and cross-checking best practices online."

adilfaisal01 10 Updated 3mo ago

Resources

1
GitHub

Install

npx skillscat add adilfaisal01/llm-multiagent-swarm/code-review-swarm

Install via the SkillsCat registry.

SKILL.md

Code Review Swarm

When to Use

Questions that ask to review, critique, or debug a piece of code. Workers each read the code file and review it from a different lens, so the combined review covers correctness, style, security, performance, and testability.

Workflow

  1. Vera — correctness: does it do what it's supposed to, edge cases, bugs.
  2. Cyrus — style: readability, naming, structure, idioms.
  3. Romy — security: injection, unsafe calls, secrets, input validation.
  4. Ash — performance: algorithmic complexity, wasted work, hot spots.
  5. Zara — testability: how to test it, missing tests, refactor suggestions.

All 5 run in parallel. Each worker reads the file with read_file, may run/verify with python_exec, consults best practices via web_search when useful, and logs findings with scratchpad_add. The orchestrator synthesizes an ordered, prioritized review.

Running under swarm

python3 -m swarm --skill code-review-swarm --goal "Review /path/to/code.py for bugs, security, and style"

Running under Hermes

Delegate 5 parallel review tasks (one per lens above), each reading the code file. Collect the five reports and merge into a prioritized review, or use the swarm directly via --skill code-review-swarm.