agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Ultra-fast parallel refactoring analysis with 8-10x speedup through concurrent smell detection and intelligent improvement strategies
How it fires
How this command gets triggered: by you, by Claude, or both.
/refactorContext preview
What this command does when you run it.
Ultra-fast parallel refactoring analysis with 8-10x speedup through concurrent smell detection and intelligent improvement strategies
allowed-tools: Read, Write, Edit, MultiEdit, Bash(fd:*), Bash(rg:*), Bash(jq:*), Bash(git:*), Task name: "Refactor" description: "Ultra-fast parallel refactoring analysis with 8-10x speedup through concurrent smell detection and intelligent improvement strategies" author: "wcygan" tags: ["code","refactor"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
**CRITICAL: Maximize parallel execution for 8-10x faster refactoring analysis. Sequential processing is obsolete.**
Think deeply about optimal refactoring strategies for this codebase. Consider maintainability, performance, and architectural patterns.
STEP 1: Initialize refactoring session
{
"sessionId": "$SESSION_ID",
"target": "$ARGUMENTS",
"phase": "discovery",
"language": "auto-detect",
"smells": [],
"refactorings": [],
"priority_order": [],
"test_coverage": null,
"checkpoints": []
}STEP 2: Determine analysis scope and approach
Think harder about the optimal analysis strategy based on codebase complexity and architectural depth.
IF $ARGUMENTS is directory AND contains >100 files:
ELSE IF $ARGUMENTS is single large file (>1000 lines):
ELSE:
STEP 3: Ultra-fast parallel code smell detection
**IMMEDIATELY DEPLOY 10 PARALLEL AGENTS** for instant comprehensive refactoring analysis:
[Launch ALL agents simultaneously - NO sequential execution]
Task 1: **Architectural Smell Detection Agent**
Task 2: **Code Duplication Hunter Agent**
Task 3: **Complexity Analyzer Agent**
Task 4: **Type Safety Auditor Agent**
Task 5: **Performance Bottleneck Agent**
Task 6: **Design Pattern Violation Agent**
Task 7: **Test Quality Inspector Agent**
Task 8: **Dependency Analysis Agent**
Task 9: **Security Smell Detection Agent**
Task 10: **Documentation Debt Agent**
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