Skip to content
Back to skills

Code Review Swarm

ASecurity

Use when an org role runs a multi-pass code review split by concern (security, performance, style, architecture) and merges findings into one review. Diff-scoped with block, warn or suggest severities; for a single-reviewer workflow see code-reviewer.

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
code-qualitysqlcode-reviewgitdevopssecurityperformance

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill code-review-swarm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review Swarm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review Swarm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-code-review-swarm/badge)](https://www.skillsdirectory.com/skills/monoes-code-review-swarm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-review-swarm
description: "Use when an org role runs a multi-pass code review split by concern (security, performance, style, architecture) and merges findings into one review. Diff-scoped with block, warn or suggest severities; for a single-reviewer workflow see code-reviewer."
tags: ["engineering","devops","code-review"]
tools: ["monograph_query","monograph_context","monograph_impact"]
license: Apache-2.0
source: https://github.com/monoes/monomind
---
# Code Review Swarm — Best Practices

## Focus
Run multi-angle code review — security, performance, style, and architecture — as coordinated specialist passes rather than one generalist skim, and turn findings into actionable, prioritized feedback.

## Best practices
- Split review by concern, not by file: a security pass looks for injection/auth/secrets across the whole diff, a performance pass looks for N+1s and hot-path regressions, independently.
- Scale review depth to risk: files under `**/auth/**` or `**/payment/**` get comprehensive review; docs and config changes get a light pass.
- Every finding needs a severity (block / warn / suggest) and a concrete fix, not just "this looks wrong."
- Compare against the actual diff, not the whole file — flag what changed, don't re-review unrelated existing code.
- Check for missing tests on new logic paths, not just code style.
- Group and summarize findings before posting — one structured review beats a dozen scattered comments.
- Track false-positive rate over time and tune rules; a reviewer that cries wolf gets ignored.

## Common pitfalls
- Blocking a PR on style nits while missing an actual SQL injection or auth bypass in the same diff.
- Duplicating the same finding across multiple "specialist" passes without deduplication.
- Reviewing generated/vendored/lockfile diffs as if they were hand-written code.
- Giving vague feedback ("this could be better") instead of a specific suggested change.
- Ignoring architectural drift (growing coupling, layer violations) because it doesn't fail a lint rule.

## Tools & techniques
- OWASP Top 10 checklist for the security pass (injection, auth, secrets, CORS, crypto).
- Static complexity/coupling metrics to flag architecture regressions objectively.
- Diff-scoped review (`gh pr diff`) so comments map to exact changed lines.
- Severity-tiered quality gates (block on critical security, warn on performance, suggest on style) so automation knows what to enforce vs. advise.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…