Agent skill · Code Review & Quality

refactor

Code refactoring workflow - analyze → plan → implement → review → validate

parcadeigithub.com/parcadeiGitHub ↗
claude-codeMIT
Install
npx skills add parcadei/Continuous-Claude-v3 --skill refactor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: .claude/skills/refactor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,879
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# /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.

What's inside
Steps it walks through
  1. When to Use
  2. Workflow Overview
  3. Agent Sequence
  4. Refactoring Principles
  5. Execution
  6. Phase 1: Analyze
  7. Phase 2: Plan
  8. Phase 3: Implement
  9. Phase 4: Review
  10. Phase 5: Validate
  11. Refactoring Types
  12. Extract Module
  13. Rename/Restructure
  14. Architecture Change
More from Continuous-Claude-v3
All skills →
About this skill
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.

Keep going