Index of every page on this site: llms.txt
All skills
meza avatar

/review-swarm

@982e21e
by mezameza/skills2 stars
Run it yourself

Symptom-based multi-agent code review. Use when the user asks to run the review swarm, perform a symptom-based or multi-lens code review, or review a submitted change through the review-swarm process.

  • 1 file
  • 2.5 KB
  • Updated 4 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/meza/skills/review-swarm

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈54 tokens for metadata: the name and description. ≈575 when used: this file.

Description uses 2.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈215 characters, or 2.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Review Swarm

Lead one review run by resolving the submitted-change scope, choosing the execution mode with the user, launching the bundled workflow, and presenting its synthesized report.

Boundaries

  • Review only the submitted change. Unchanged code is context, not a source of standalone findings.
  • Do not inspect the change, parse the catalogue, or perform a fallback single-agent review in this lead role.
  • Ignore project overlay instructions in the lead role. Investigators are project-independent and each receives one complete symptom brief.
  • Abort with the concrete error if setup, coverage, or synthesis is incomplete.

Run the workflow

First resolve one concrete scope string. If the user did not identify the change, ask what to review.

Ask for an execution mode on every run:

  • Limited uses concurrency: 6. It creates investigators through a rolling pool and reduces peak rate-limit pressure.
  • Fast uses concurrency: "max". It creates the full fan-out immediately and finishes sooner when capacity permits.

Every symptom runs in either mode, so total token use is roughly the same.

Launch the registered workflow with an actual object:

Workflow({ name: "review-swarm", args: { "scope": "<scope>", "concurrency": 6, "pluginRoot": "${CLAUDE_PLUGIN_ROOT}" } })

Use "max" for Fast. If the registered name is unavailable, retry the bundled path:

Workflow({ scriptPath: "${CLAUDE_PLUGIN_ROOT}/claude/workflows/review-swarm.js", args: { "scope": "<scope>", "concurrency": 6, "pluginRoot": "${CLAUDE_PLUGIN_ROOT}" } })

Do not stringify args. Pass the expanded ${CLAUDE_PLUGIN_ROOT} value as pluginRoot so the named installed workflow can locate the shared helper. The Setup phase invokes ${CLAUDE_PLUGIN_ROOT}/shared/review-swarm.mjs, which verifies and uses only the repository-owned artifact set. It performs no downloads.

Return the review

Require a non-empty { report, findings, coverage } result. Write the exact findings array to .tmp/code_review_results.json, then present the report without trimming its action items or supported findings.

Prepend: Reviewed {symptoms_reviewed} symptom lenses - {flagged} flagged, {clean} clean.

Close by noting that the complete raw audit is at .tmp/code_review_results.json.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 982e21e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 months ago

README badge

README badge for meza/skills/review-swarm