agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Systematic multi-perspective investigation with extended thinking and state management
How it fires
How this command gets triggered: by you, by Claude, or both.
/deep-diveContext preview
What this command does when you run it.
Systematic multi-perspective investigation with extended thinking and state management
allowed-tools: Read, Task, Bash(fd:*), Bash(rg:*), Bash(git:*), Bash(wc:*), Bash(sort:*), Bash(head:*), Bash(jq:*), Bash(gdate:*), Bash(npm:*), Bash(cargo:*), Bash(go:*), Bash(strace:*), Bash(perf:*), Bash(time:*) name: "Deep Dive" description: "Systematic multi-perspective investigation with extended thinking and state management" author: "wcygan" tags: ["analyze","research"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
Execute systematic multi-perspective exploration of $ARGUMENTS to build comprehensive understanding through structured investigation using extended thinking and state management.
STEP 1: Initialize Investigation Session
// /tmp/deep-dive-$SESSION_ID.json
{
"sessionId": "$SESSION_ID",
"target": "$ARGUMENTS",
"phase": "initialization",
"scope": "defined_from_arguments",
"objectives": [],
"findings": {
"technical": {},
"business": {},
"operational": {}
},
"checkpoints": {
"last_checkpoint": "investigation_initialized",
"next_milestone": "contextual_foundation",
"rollback_point": "session_start"
}
}STEP 2: Contextual Foundation Analysis
Think deeply about the investigation scope and establish baseline understanding.
TRY:
CATCH (insufficient_context):
STEP 3: Multi-Dimensional Analysis Execution
FOR EACH dimension IN [technical, business, operational]:
Think harder about the specific dimension and launch focused analysis:
**Technical Dimension Investigation:**
**Business Dimension Investigation:**
**Operational Dimension Investigation:**
Update state with dimension-specific findings after each analysis.
STEP 4: Deep Investigation Techniques
Think deeply about investigation approaches and execute systematic code archaeology:
**Code Evolution Analysis:**
# Understand historical context git log --oneline --graph -20 git blame [key-files] | head -10 git show --stat HEAD~5..HEAD
**Pattern Recognition:**
# Find architectural patterns rg "func|function|def|class" -A 1 | head -20 rg "config|setting|option|parameter" -i -A 2
**Dependency Mapping:**
# External dependencies fd "package.json|Cargo.toml|go.mod|requirements.txt" --type f rg "import.*from|require\(|use " -n | head -15 # Internal coupling analysis rg "\.\/|\.\.\/|@\/" -n | head -10 fd "index|mod|lib" --type f
**Data Flow Tracing:**
# Follow data transformations rg "map|transform|convert|parse|serialize" -A 2 -B 1 rg "input|output|request|response|data" -A 1 -B 1 rg "store|save|persist|cache|fetch|load" -A 1
Update investigation state with technical findings.
STEP 5: Knowledge Synthesis and Pattern Recognition
Use extended thinking to synthesize findings and identify patterns:
Think harder about:
Execute gap analysis:
Generate insights on:
Update state with synthesized knowledge and insights.
STEP 6: Structured Documentation Generation
Create comprehensive investigation report:
**Executive Summary Generation:**
# Deep Dive Investigation: $ARGUMENTS ## Key Findings - [3-5 critical d
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies