commit
Create git commits with user approval and no Claude attribution
**Comprehensive refactor analysis that runs all refactor commands and merges results.**
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/refactor-fullContext preview
What this command does when you run it.
**Comprehensive refactor analysis that runs all refactor commands and merges results.**
**Comprehensive refactor analysis that runs all refactor commands and merges results.**
Safe to run anytime. Runs multiple analysis passes and creates unified refactor plan without modifying files.
Orchestrates a complete refactor analysis by: 1. **Running all 3 analyses in parallel** using specialized agents:
2. Collecting results from all parallel agents 3. Reading and parsing all output files 4. Intelligently merging insights into one unified refactor plan 5. Writing merged plan to `./tmp/refactor-full-plan-[timestamp].md`
**Key advantage:** Much faster than running sequentially - all analyses run simultaneously!
For simple changes, just use `/simple` instead.
**CRITICAL: Launch all three agents in parallel using a SINGLE message with multiple Task tool calls.**
This runs all analyses simultaneously for maximum performance:
1. **Refactor Check Agent** - Quick classification and pattern check 2. **Simple Refactor Agent** - Focused analysis with refactor plan 3. **Deep Refactor Agent** - Comprehensive analysis
**Use the Task tool with three parallel invocations:**
// In a SINGLE message, make 3 Task tool calls:
Task({
subagent_type: "general-purpose",
description: "Run refactor-check analysis",
prompt: "Execute the /medium slash command to perform quick classification and pattern checking. Return the complete console output including classification, quality score, issues found, and recommendations."
})
Task({
subagent_type: "general-purpose",
description: "Run simple-refactor analysis",
prompt: "Execute the /simple slash command to perform focused refactor analysis. This will generate a plan file in ./tmp/simple-refactor-plan-[timestamp].md. Return the path to the generated plan file."
})
Task({
subagent_type: "general-purpose",
description: "Run deep-refactor analysis",
prompt: "Execute the /deep slash command to perform comprehensive refactor analysis. This will generate a plan file in ./tmp/deep-refactor-plan-[timestamp].md. Return the path to the generated plan file."
})**Show progress to user:**
π Running comprehensive refactor analysis in parallel... ββββββββββββββββββββββββββββββββββββββββββββββ β‘ Launching 3 parallel analysis agents: [1] refactor-check (quick classification) [2] simple-refactor (focused analysis) [3] deep-refactor (comprehensive analysis) β³ All agents running in parallel... ββββββββββββββββββββββββββββββββββββββββββββββ β All analyses complete! Results: [1] Refactor Check: Complete (console output captured) [2] Simple Refactor: ./tmp/simple-refactor-plan-[TS].md [3] Deep Refactor: ./tmp/deep-refactor-plan-[TS].md ββββββββββββββββββββββββββββββββββββββββββββββ
**Agent results will include:**
1. **Refactor Check Agent** β Returns complete console output with classification and quality score 2. **Simple Refactor Agent** β Returns path to generated plan file 3. **Deep Refactor Agent** β Returns path to generated plan file
**If agents don't return paths explicitly, locate the most recent output files:**
# Find most recent simple refactor plan ls -t ./tmp/simple-refactor-plan-*.md | head -1 # Find most recent deep refactor plan ls -t ./tmp/deep-refactor-plan-*.md | head -1
**Note:** `/refactor-check` outputs to console only (no file), captured from agent output.
**Read both plan files:**
**Extract from each:**
**Merging strategy:**
**1. Use Deep Refactor as Base**
**2. Enhance with Simple Refactor Insights**
**3. Add Refactor Check Summary**
**4. Deduplicate Issues**
**5. Prioritize Issues Consistently**
**6. Merge Auto-Fixable Lists**
**7. Merge Manual Fix Lists**
**8. Create Unified Quality Score (Orchestrator-Specific)**
**9. Consolidate Recommendations**
Write unified plan to `./tmp/refact
Repo: dcouple/Pane
Create git commits with user approval and no Claude attribution
You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and workβ¦
Generate comprehensive PR descriptions following repository templates
You are tasked with implementing an approved technical plan from `thoughts/shared/plans/`. These plans contain phases with specific changes and successβ¦
Iterate on existing implementation plans with thorough research and updates
You are tasked with conducting comprehensive research across the codebase to answer user questions. You will spawn one or more parallel sub-agents to performβ¦