Legion Review — Git skill for Claude Code
Run a Legion code review on $ARGUMENTS (a file path, directory, or "all changes" for the full git diff).
How to install Legion Review
Installs to ~/.claude/commands/shayomi-legion-legion-review.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/shayomi/legion/HEAD/.claude/commands/legion-review.md -o ~/.claude/commands/shayomi-legion-legion-review.md Restart Claude Code, or start a new session, for it to be picked up.
What Legion Review does
Run a Legion code review on $ARGUMENTS (a file path, directory, or "all changes" for the full git diff).
First get the code to review:
# If $ARGUMENTS is a file or directory, read it
# If $ARGUMENTS is empty or "changes", run:
git diff HEAD
Then perform a full Legion review as two agents:
**LENS (Code Reviewer) checks:**
- Correctness — will this work for all cases including edge cases?
- Design — is this consistent with the existing architecture?
- SOLID principles — single respo
Alternatives in Git
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- Review And Fix PR — @description Review an existing PR with parallel agents, fix findings, and push 1.6k ★
- GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Factory Review Signoff Manual
Human-invoked manual review sign-off for a factory campaign branch — lock, gather the full diff + proofs + con
Factory Review Signoff
Supervisor-triggered review sign-off for a factory campaign branch — lock (collapsed campaign scope), gather t
Files
The message has no diff. The changes are in the git repository in the current directory, and they are not comm
Git Context
!git status --short !git branch --show-current !git log -3 --oneline !git diff --stat --- Based on the changes
Explain Diff
Walk through code changes (PR / branch vs main) or a given path, one file at a time, in plain Polish — accept
Review Gate
Run an independent review gate on the current diff (or a given branch/path) before commit or merge.
Related Agents
Refactor Agent
Large-scale refactoring specialist. Use for renames touching 10 files, API shape changes, directory reorganiza
Worca Cc Code Reviewer
Code Reviewer for the orchestrator pipeline. Reviews the git diff of the implementation against the plan, writ
Correctness Adversary
Red-team correctness reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focuse