Deep, focused analysis of a single screen or feature. Combines code correctness, security, UX, and performance in one unified Opus pass with cross-domain reasoning. Finds bugs that broad audits miss by tracing full data flows and component interactions. Use when user says "deep review", "deeply analyse", "review this screen", "find all bugs in X", or wants thorough analysis of a specific area. Requires a target area argument.
Deep analysis of a focused area. You are Opus analyzing directly — no delegation, no team. The value is YOUR cross-domain reasoning across all related files in one context.
ultrathink
$ARGUMENTS is REQUIRED. If empty, STOP: "Please specify a target area to review. Example: /deep-review settings page"mcp__linear__list_teams. If unavailable, STOP: "Linear MCP is not connected. Run /mcp to reconnect, then re-run."mcp__linear__list_teams (there should only be one team in most cases).mcp__linear__list_issues with discovered team name, state "Backlog". Record titles and file paths to avoid creating duplicates.Trace the full dependency graph for $ARGUMENTS. Find EVERY file that participates in the target feature.
Read CLAUDE.md's STRUCTURE section to discover file patterns. Use Glob to locate primary files matching $ARGUMENTS based on the discovered patterns. Common patterns include:
src/app/**/page.tsx, src/routes/**/*.ts)src/components/**/*.tsx, src/ui/**/*.jsx)src/hooks/**/*.ts)src/app/api/**/*.ts, api/**/*.ts)If the argument is ambiguous, use Grep to search for the feature name across the codebase.
Read each entry point. For every import:
Follow imports recursively until the full dependency tree is mapped.
For any API calls, data store access, or external service interactions:
For each source file:
__tests__/ or *.test.ts patterns (consult CLAUDE.md)List all discovered files grouped by role:
Output the manifest before proceeding so the user can verify scope.
Read EVERY file in the manifest. Cross-domain reasoning requires holding all related code in context simultaneously.
Read in dependency order: types → lib → hooks → API routes → components → pages → tests.
Read references/deep-review-checklist.md for the comprehensive cross-domain checklist.
Critical instruction: Do NOT analyze each file in isolation. Reason about how files INTERACT. For each finding, trace the impact across the full stack.
Walk through the user's journey for this feature:
For each finding, record:
For each finding, check against existing Backlog issues. Skip if a matching issue already exists.
Use mcp__linear__create_issue:
team: "<discovered-team-name>"
state: "Backlog"
title: "[Brief description]"
priority: [1-4] (critical=1, high=2, medium=3, low=4)
labels: [mapped label]
description: (format below)
Issue description format:
**Problem:**
[1-2 sentence problem statement]
**Context:**
[File paths with line numbers — include ALL related files, not just the primary location]
**Impact:**
[Who is affected and how — trace the user-facing consequence]
**Acceptance Criteria:**
- [ ] [Verifiable criterion]
- [ ] [Another criterion]
Label mapping:
| Finding domain | Linear label | |---------------|-------------| | code (bugs, logic, async, edge cases) | Bug | | security (auth, validation, XSS) | Security | | ux (loading, feedback, accessibility, responsive) | Improvement | | performance (re-renders, bundle, images, CWV) | Performance | | convention (CLAUDE.md violation) | Convention |
Output this report and STOP:
## Deep Review: $ARGUMENTS
**Files analyzed:** N
**Scope:** [list of file groups with counts]
### Findings (ordered by severity)
| # | ID | Severity | Domain | Title |
|---|-----|----------|--------|-------|
| 1 | PROJ-XX | Critical | code | Brief title |
| 2 | PROJ-XX | High | ux | Brief title |
| ... | ... | ... | ... | ... |
X issues created | Duplicates skipped: N
### Cross-cutting Observations
[Systemic patterns observed across the feature — e.g., "error handling is inconsistent between the API route and client component" or "loading states exist but don't cover all async paths"]
Do not ask follow-up questions. Do not offer to fix issues.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer