From solopilot
Staff-engineer adversarial review of current branch — security, types, race conditions, edge cases, scope drift. Severity-tagged findings. No mercy.
How this command is triggered — by the user, by Claude, or both
Slash command
/solopilot:grillThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /grill — Staff Engineer Code Grilling Brutally review the current branch like a staff engineer who hates your guts. Not friendly suggestions — actual blockers. Designed to catch what `/code-review` misses by adopting an adversarial mindset. ## Usage ## What this command makes Claude do ### 0. Setup - Detect base branch (`gh repo view --json defaultBranchRef -q .defaultBranchRef.name`, fallback `main`) - Generate run id: `<branch>-<short-sha>-<timestamp>` - Output dir: `.solopilot/grill/<run-id>.md` ### 1. Gather diff (use context-mode) Use `ctx_batch_execute`: - `git diff <base>......
Brutally review the current branch like a staff engineer who hates your guts. Not friendly suggestions — actual blockers. Designed to catch what /code-review misses by adopting an adversarial mindset.
/grill # review uncommitted + branch vs base
/grill --base main # diff against specific base
/grill --staged # only staged changes
/grill --pr 123 # grill an existing PR (fetches diff via gh)
/grill --severity high # only show high/critical findings
/grill --quick # skip deep analysis (no santa-method, no agent spawns)
gh repo view --json defaultBranchRef -q .defaultBranchRef.name, fallback main)<branch>-<short-sha>-<timestamp>.solopilot/grill/<run-id>.mdUse ctx_batch_execute:
git diff <base>...HEAD (label: "diff")git diff <base>...HEAD --stat (label: "stat")git log <base>..HEAD --oneline (label: "commits")git ls-files | head -50 (label: "tree")--pr <n>) gh pr diff <n> overridesSearch index for: imports, dependency changes, async patterns, error handlers, input validation surfaces.
Spawn subagents in parallel (use Agent tool with subagent_type matching language):
security-reviewer agent or security-review skill.any proliferation, missing null checks, type assertions, schema mismatches at boundaries (API ↔ DB ↔ UI). Language-specific reviewer agent (typescript-reviewer, python-reviewer, etc.).await, shared mutable state, request idempotency. Flag iterations over mutating collections.specs/PRD.md if exists, check diff against acceptance criteria. Flag changes outside current spec scope. Cross-reference LEARNINGS.md for past anti-patterns.(if not --quick) Then run santa-method skill for adversarial dual-review convergence on the top 3 findings.
Severity tags:
Filter by --severity if given. Default shows all but INFO.
Write to .solopilot/grill/<run-id>.md:
# Grill Report — <branch>
**Base:** <base> · **HEAD:** <sha> · **Date:** <YYYY-MM-DD HH:MM>
**Files:** N · **Findings:** X critical, Y high, Z medium
## 🔴 CRITICAL
### [path:line] <title>
**What:** <observed>
**Why it bites:** <concrete failure scenario>
**Fix:** <minimal change>
**Confidence:** high/medium/low
## 🟠 HIGH
...
## Spec drift
<list of diff hunks not covered by PRD acceptance criteria, or "no drift detected">
## Past patterns hit
<refs to LEARNINGS.md entries that this diff repeats or violates>
Print only the headers + counts to chat — full report stays in file. End with:
✓ report: .solopilot/grill/<run-id>.md
✓ verdict: <SHIP / FIX-FIRST / REWRITE>
REWRITE (don't merge, redesign)FIX-FIRSTSHIPLEARNINGS.md already records this anti-pattern, cite the entry.$ARGUMENTS:
--base <branch> — diff base (default: repo default)--staged — only staged--pr <n> — grill a remote PR--severity <level> — filter (critical|high|medium|low|info)--quick — skip santa-method + parallel agents (single-pass)npx claudepluginhub mrbaeksang/solopilot --plugin solopilot/grillSharpens a fuzzy idea into a clear spec by asking calibrated questions one at a time, with recommended answers at each step. Parks unresolved unknowns as ? items.
/grillStress-tests a plan, design, or PRD by interrogating decisions one at a time, grounding each question in the codebase to surface contradictions and assumptions before implementation.
/grillStress-tests a feature spec or plan by walking its decision tree, challenging assumptions, surfacing gaps, and proposing fixes. Supports --auto and --deep flags.