architect
Produces Alon's design-doc system BEFORE code: SOURCE_OF_TRUTH, ARCHITECTURE_ROADMAP, TODO_WORKFLOW, CLAUDE.md (+ modular docs/architecture). Model first: data…
Local, free, multi-specialist review of a diff: parallel Claude subagents (correctness, security/trust boundaries, data/perf, architecture-altitude, ponytail-simplicity, tests/failure paths), adversarial verification, dedup, ranked file:line report. Use proactively when asked to
$ npx -y skills add alonbaron/claude-skills --skill review-swarm --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/review-swarmContext preview
The summary Claude sees to decide when to auto-load this skill.
Local, free, multi-specialist review of a diff: parallel Claude subagents (correctness, security/trust boundaries, data/perf, architecture-altitude, ponytail-simplicity, tests/failure paths), adversarial verification, dedup, ranked file:line report. Use proactively when asked to
name: review-swarm description: > Local, free, multi-specialist review of a diff: parallel Claude subagents (correctness, security/trust boundaries, data/perf, architecture-altitude, ponytail-simplicity, tests/failure paths), adversarial verification, dedup, ranked file:line report. Use proactively when asked to review, check, or assess a diff, branch, or PR — and after any non-trivial implementation, before the PR. Also on "review-swarm", "swarm review", "deep review". Not for trivial diffs, not when asked to fix rather than review, not when security alone is the whole ask (built-in "security-review"), and not when "/code-review" is named explicitly. argument-hint: "[optional: 'staged' | 'branch' | a path]"
Review the working changes with a panel of specialists in parallel, then keep only the findings that survive scrutiny. Free and local (Claude subagents).
If the user asks to review, check, or assess changes — or you've just finished a non-trivial implementation and a PR is next — invoke this without being asked: announce in one line ("Running review-swarm on <scope>") and proceed. Never ask permission to run the skill.
1. **Scope the diff.** Default: working tree vs the default branch. `staged` → `git diff --staged`; `branch` → vs merge-base with main; a path → limit to it. Read the changed hunks and enough surrounding code to judge them. **Size guard:** over ~40 changed files or ~2000 changed lines, don't swarm the whole thing — split by area and say which slice you reviewed, or ask which slice matters. A swarm that overruns its context reports confidently on code it never read. 2. **Fan out specialists — in parallel.** Spawn the reviewers below with the Agent tool, **all in one message** so they run concurrently. Give each the diff plus the files it needs and its single lens. Each returns findings as: `severity · file:line · what · why · suggested fix`.
concurrency/races.
boundaries, injection, IDOR, leaked secrets.
unbounded queries, transaction scope, lazy-load traps.
enforced at the core? wrong layer, leaky abstraction.
dead code, a stdlib/native one-liner that replaces the change.
failure paths, error handling that could lose data. 3. **Adversarially verify.** For each non-trivial finding, spawn a verifier that tries to *refute* it: is it real, reproducible, not already handled elsewhere? Drop findings that don't survive. Default to dropping when uncertain. 4. **Synthesize.** Dedup overlaps, then rank: **Blockers → Should-fix → Nits**, each with file:line and a one-line fix. Close with a short "what's solid".
might consider" padding.
manufactured nit.
implementer (or to `/code-review --fix`) if the user wants changes applied.
`/code-review` covers it; a swarm is overkill.
for the UX/a11y read; this swarm judges correctness, not interface quality.
This is the **local, free, your-stack-tailored** swarm. For the heavyweight cloud version, `/code-review ultra` runs specialists in the cloud; plain `/code-review` is a single-pass diff review. Reach for this skill when you want parallel local specialists with adversarial verification and no cloud round trip.
The user has a short, ranked, evidence-backed list where every item is a real, verified problem in the diff — and knows what's clean.
Apply on every run — canonical home `~/.claude/CLAUDE.md`:
Six Claude Code skills (architect, review-swarm, ask-the-council, prompt-generator, up-to-date, ponytail) bundled as an installable plugin.
Produces Alon's design-doc system BEFORE code: SOURCE_OF_TRUTH, ARCHITECTURE_ROADMAP, TODO_WORKFLOW, CLAUDE.md (+ modular docs/architecture). Model first: data…
Convenes a panel of opinionated advisors (parallel Claude subagents, each with a distinct mandate and a forbidden move so they genuinely diverge), then a…
Forces the laziest solution that actually works — YAGNI, reuse before new code, stdlib before custom, native platform before dependencies, one line before…
Turns a vague ask into a rigorous, grounded, token-efficient prompt: role + objective, testable done criteria, anti-hallucination (verify or say "I don't…
Preflight sync + situational brief before repo work: fetch origin, ahead/behind divergence, recent commits, open PRs/issues, dirty-state warnings, one…