agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Automatically detect and load comprehensive project context with intelligent environment analysis
How it fires
How this command gets triggered: by you, by Claude, or both.
/autoContext preview
What this command does when you run it.
Automatically detect and load comprehensive project context with intelligent environment analysis
allowed-tools: Read, Grep, Glob, Bash(git:*), Bash(rg:*), Bash(fd:*), Bash(jq:*), Bash(bat:*), Bash(eza:*), Bash(gdate:*), TodoWrite, Task name: "Auto" description: "Automatically detect and load comprehensive project context with intelligent environment analysis" author: "wcygan" tags: ["context","project"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
**IMMEDIATELY DEPLOY 8 PARALLEL CONTEXT-LOADING AGENTS** for ultra-fast comprehensive project context discovery: **$ARGUMENTS** (optional focus area)
Think deeply about comprehensive project context while maximizing parallel execution for 8x speedup.
**CRITICAL**: Launch ALL agents simultaneously in first response - NO sequential processing.
STEP 1: **LAUNCH ALL 8 AGENTS SIMULTANEOUSLY**
**NO SEQUENTIAL PROCESSING** - Deploy these specialized context agents in parallel:
1. **Project Structure Agent**: Analyze build files, dependencies, project architecture, and technology stack 2. **Documentation Discovery Agent**: Load PLAN.md, CLAUDE.md, README.md, docs/ directories, and coordination files 3. **Git History & Branch Agent**: Analyze commits, branch patterns, issue context, and development workflow 4. **Environment & Services Agent**: Detect Docker services, database connections, port configurations, and external dependencies 5. **Testing Strategy Agent**: Identify test frameworks, coverage patterns, CI/CD setup, and testing workflows 6. **Development Commands Agent**: Extract deno.json tasks, package.json scripts, cargo commands, and build processes 7. **Configuration Analysis Agent**: Process .env files, config directories, deployment settings, and environment setup 8. **Integration Points Agent**: Find API endpoints, service mesh, external integrations, and coordination patterns
**Expected speedup**: 8x faster than sequential context loading.
STEP 2: Initialize Parallel Session Management
// /tmp/auto-context-$SESSION_ID.json
{
"sessionId": "$SESSION_ID",
"timestamp": "ISO_8601_TIMESTAMP",
"project": {
"name": "detected_project_name",
"path": "absolute_project_path",
"language": "detected_language",
"framework": "detected_framework",
"type": "standalone|worktree|submodule|monorepo"
},
"context_sources": {
"issue_context": "path_or_null",
"plan_md": "boolean",
"claude_md": "path_or_null",
"coordination_files": ["list_of_files"],
"documentation": ["discovered_docs"]
},
"loaded_context": {},
"todos_generated": [],
"phase": "parallel_loading"
}STEP 3: Parallel Context Discovery & Analysis
**ALL AGENTS WORK CONCURRENTLY:**
**Context Discovery Execution:**
# Project structure and dependencies fd . -t f -e json -e toml -e xml -e yaml -e txt | rg "(deno\.json|package\.json|Cargo\.toml|go\.mod|pom\.xml|requirements\.txt)" # Documentation sources fd . -t f -e md | rg "(README|PLAN|CLAUDE|CONTRIBUTING|CHANGELOG)" # Configuration and environment files fd . -t f -e env -e conf -e yaml -e json | rg "(docker|config|env|settings)" # Testing and build files fd . -t f | rg "(test|spec|build|ci|Dockerfile)"
TRY: Launch all 8 parallel agents for comprehensive context analysis Execute concurrent discovery across all project aspects Synthesize findings from all agent results Generate intelligent todos based on discovered context Update session state: phase = "context_loaded"
CATCH (agent_failures): Continue with available agent results Document failed context sources Provide partial analysis with gaps identified Generate basic setup todos for missing context
FINALLY: Aggregate all parallel agent findings Create comprehensive project understanding Generate TodoWrite list based on discovered context and project state Save context cache: `/tmp/auto-context-cache-$SESSION_ID.json` Clean up temporary analysis files
STEP 4: **Parallel Results Synthesis**
WAIT for ALL 8 agents to complete context loading AGGREGATE findings from all parallel streams:
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