docs-sync
Check documentation freshness after code changes. Delegates to docs-updater subagent (Sonnet) to propose doc/changelog updates - main session applies approved…
Delegate code review to the code-reviewer subagent (Sonnet, read-only) and apply approved fixes in the main session
> /plugin marketplace add Filip-Podstavec/claude-leverage > /plugin install claude-leverage@filip-podstavec
How it fires
How this command gets triggered: by you, by Claude, or both.
/code-reviewContext preview
What this command does when you run it.
Delegate code review to the code-reviewer subagent (Sonnet, read-only) and apply approved fixes in the main session
description: Delegate code review to the code-reviewer subagent (Sonnet, read-only) and apply approved fixes in the main session allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*) argument-hint: "[optional file paths to review]"
Status: !`git status --short` Staged shortstat: !`git diff --cached --shortstat` Unstaged shortstat: !`git diff --shortstat` Recent commits: !`git log --oneline -5`
You are orchestrating a two-phase code review:
You do NOT review the code yourself. The subagent does that. Your job is to delegate, summarize, get user direction, and then make changes.
1. **Determine review scope:**
2. **Capture session-decisions context (recommended for non-trivial sessions).** If you made non-obvious choices during this session that the subagent could waste output re-litigating, capture them as 2-5 lines of explicit constraints to pass alongside the diff. Examples:
Do NOT pass full session history. If no such non-obvious decisions exist, skip this step. The point is to prevent wasted review effort on already-settled questions, not to bias the review's independence.
3. **Invoke the `code-reviewer` subagent** with the scope and (if step 2 produced any) the constraints block. Wait for its structured report.
4. **Present findings to the user.** Keep your summary concise. Use the subagent's priority sections (Critical / Important / Nice to have). Do not editorialize - the subagent already prioritized.
5. **Ask for direction.** Offer these options:
Wait for explicit confirmation. Never apply fixes preemptively.
6. **Apply approved fixes** using your full toolset (Edit, Write, Bash). The subagent has no write tools and is not involved in this phase.
Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development.Building blocks for Claude Code: subagents, slash commands, hooks, and workflow patterns. Copy what you need. A working developer's stack for Claude Code.
Repo: Filip-Podstavec/claude-leverage
Check documentation freshness after code changes. Delegates to docs-updater subagent (Sonnet) to propose doc/changelog updates - main session applies approved…
Gather implementation context before starting a task. Delegates to context-gatherer subagent (Sonnet) to pre-fetch everything Opus needs.
Delegate test execution to the test-runner subagent (Sonnet) and apply approved fixes in the main session
Diagnose a flaky test by running it N times. Delegates to flaky-test-isolator subagent — N runs, signature-grouped failures, stability report. Does NOT fix the…