
Refactor
This is a five-agent pipeline that handles refactoring with actual safety gates. Phoenix analyzes your code for smells and risks, plan-agent breaks the work into small reversible steps, kraken implements the changes, plan-reviewer checks you didn't break behavior, and arbiter runs your full test suite. The step-by-step approach is smart for large refactors where you want to catch issues early rather than debug a massive diff later. It assumes you have decent test coverage to begin with, otherwise the validation phase won't catch much. The dry-run and step-by-step flags are nice if you want to preview the plan or approve each change individually before moving forward.
- skills.sh installs
- 623
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill refactor --agent claude-codeInstalls into .claude/skills of the current project.
Files
/refactor - Refactoring Workflow
Safe refactoring with review gates.
When to Use
- "Refactor X"
- "Clean up this code"
- "Extract this into a module"
- "Improve the architecture of Y"
- Large-scale code restructuring
- Technical debt reduction
Workflow Overview
┌──────────┐ ┌────────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐
│ phoenix │───▶│ plan- │───▶│ kraken │───▶│plan-reviewer│───▶│ arbiter │
│ │ │ agent │ │ │ │ │ │ │
└──────────┘ └────────────┘ └──────────┘ └──────────┘ └───────────┘
Analyze Plan Implement Review Verify
current changes refactor changes tests pass
Agent Sequence
Sponsors
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Categories
- Git & Pull Requests, Code Review & Quality, Productivity & Planning, Automation & Workflows
- First seen
- Jun 3, 2026
More from parcadei/continuous-claude-v3
All 108- Recall Reasoning603
- Graceful Degradation601
- Explore580
- Agentic Workflow567
- Modular Code567
- Math Help545
- Sub Agents537
- Security532
- Research Agent530
- Perplexity Search528
- Agent Orchestration525
- Ast Grep Find523
- Git Commits523
- Remember523
- Repo Research Analyst522
- Review521
- Planning Agent520
- Repoprompt517
- Agent Context Isolation514
- Parallel Agents514
- Create Handoff512
- Continuity Ledger511
- Debug509
- Hooks509