agentleFS
tonmoy007tonmoy007/forge-plugins/skills/forge-review/SKILL.md

forge-review

Skill2 starsChanged 6 months agoMITView on GitHub

Run a multi-dimensional parallel code review over the current change.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

forge-review

Independent reviewers, one per dimension (correctness, security, performance, conventions), run in bounded parallel over the same change and their findings are merged into a single deduplicated, severity-sorted report. This is the first consumer of the orchestration primitive (scripts/_orchestrate.py).

When to Use

  • User runs /forge:review
  • User asks to review the current diff, a file, or the branch
  • User wants a broad review ("find anything wrong", "is this safe/fast/clean?")

Pre-flight

Background capability is not required — review is synchronous orchestration, not a daemon. But it does spend (one bounded agent per dimension), so it is cost-gated through _cost_cap. If .forge/capabilities.json reports background unavailable, the dimensions still run synchronously via claude -p; if the cost cap is hit, dimensions are skipped and noted (no silent truncation).

How to run

Pick the target — the staged diff is the common case:

git diff --staged > /tmp/forge-review-target.diff
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/review_synthesize.py \
  --target /tmp/forge-review-target.diff --cwd .

Or review a specific file, or pipe a diff on stdin (--target -):

git diff main... | python3 ${CLAUDE_PLUGIN_ROOT}/scripts/review_synthesize.py --target - --cwd .

The script fans the four dimensions out in parallel (deterministic, index-ordered), validates each reviewer's structured findings, drops any malformed dimension without sinking the review, and prints a Markdown report grouped by severity. Relay the report to the user; if dimensions were dropped (noted on stderr), say so rather than implying full coverage.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.