refactor
Code refactoring workflow - analyze → plan → implement → review → validate
npx skills add parcadei/Continuous-Claude-v3 --skill refactor --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# /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 | # | Agent | Role | Output | |---|-------|------|--------| | 1 | **phoenix** | Analyze current code, identify improvement areas | Analysis report | | 2 | **plan-agent** | Create safe refactoring plan | Step-by-step plan | | 3 | **kraken** | Implement the refactoring | Code changes | | 4 | **plan-reviewer** | Review changes for correctness | Review report | | 5 | **arbiter** | Verify all tests still pass | Test report | ## Refactoring Principles 1. **Tests first**: Ensure adequate test coverage before refactoring 2. **Small steps**: Each change should be independently verifiable 3.
- When to Use
- Workflow Overview
- Agent Sequence
- Refactoring Principles
- Execution
- Phase 1: Analyze
- Phase 2: Plan
- Phase 3: Implement
- Phase 4: Review
- Phase 5: Validate
- Refactoring Types
- Extract Module
- Rename/Restructure
- Architecture Change
What does the refactor skill do?
Code refactoring workflow - analyze → plan → implement → review → validate
How do I install it?
Run `npx skills add parcadei/Continuous-Claude-v3 --skill refactor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From parcadei/Continuous-Claude-v3, a repository with 3,879 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
