agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Systematic Go concurrency documentation loading with comprehensive context analysis
How it fires
How this command gets triggered: by you, by Claude, or both.
/context-load-go-concurrencyContext preview
What this command does when you run it.
Systematic Go concurrency documentation loading with comprehensive context analysis
allowed-tools: Task, WebFetch, Bash(fd:*), Bash(rg:*), Bash(gdate:*), Bash(git:*), mcp__context7__resolve-library-id, mcp__context7__get-library-docs name: "Context Load Go Concurrency" description: "Systematic Go concurrency documentation loading with comprehensive context analysis" author: "wcygan" tags: ["context","go"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Context Loading Session Initialization
Think deeply about optimal Go concurrency documentation loading strategies and comprehensive pattern analysis.
// /tmp/context-go-concurrency-$SESSION_ID.json
{
"sessionId": "$SESSION_ID",
"target": "go-concurrency-patterns",
"phase": "initialization",
"project_context": {
"has_go_files": false,
"go_version": "unknown",
"existing_patterns": [],
"complexity_level": "unknown"
},
"loaded_sources": [],
"context_analysis": {
"patterns_covered": [],
"examples_loaded": 0,
"documentation_depth": "basic"
},
"checkpoints": {
"session_initialized": "complete",
"context_loading": "pending",
"analysis_complete": "pending"
}
}STEP 2: Systematic Documentation Source Loading
TRY:
**Primary Documentation Sources Loading:**
FOR EACH source IN priority_sources:
1. **Go Official Documentation** (Context7 Integration):
2. **Go by Example - Concurrency Patterns**:
3. **Effective Go - Concurrency Section**:
4. **Go Blog - Advanced Concurrency**:
5. **Go Concurrency Patterns Presentation**:
6. **Sync Package Documentation**:
Update session state after each successful source load.
CATCH (context7_unavailable):
CATCH (documentation_load_failure):
STEP 3: Concurrency Pattern Analysis and Extraction
Think harder about Go concurrency pattern categorization and practical application strategies.
**Pattern Categories to Extract:**
1. **Basic Goroutine Patterns**:
2. **Channel Communication Patterns**:
3. **Select Statement Patterns**:
4. **Advanced Concurrency Patterns**:
5. **Synchronization Primitives**:
6. **Error Handling in Concurrent Code**:
Update session state with extracted patterns and examples.
STEP 4: Practical Implementation Guidance Generation
**Implementation Decision Framework:**
## Concurrency Pattern Selection Guide ### When to Use Goroutines: - I/O-bound operations that can run concurrently - Independent tasks that don't require shared state - Background processing and cleanup tasks ### When to Use Channels: - Communication between goroutines - Coordinating goroutine execution -
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