Skip to content
coworkplugins

Claude skill

Refactor

Refactor is a Claude skill in the Sd0x Harness plugin. Multi-target refactoring orchestrator. Use when: cleaning up messy code/docs, simplifying code, restructuring documents, batch cleanup.

CommunityShips in Sd0x HarnessDeveloper Tools

What it does

The description in the skill's SKILL.md, which Claude reads to decide when to use it:

Multi-target refactoring orchestrator. Use when: cleaning up messy code/docs, simplifying code, restructuring documents, batch cleanup. Not for: new features (use feature-dev), bug fixes (use bug-fix), code understanding (use code-explore). Output: refactored code/docs + review gate.

The skill's instructions (about 1,615 words) cover:

  • Trigger
  • When NOT to Use
  • Prohibited Actions
  • Arguments
  • Workflow
  • agentctl (optional)
  • Phase 0: Target Detection & Planning
  • --mode reference-stability Branch (checked first)
  • --target Mode
  • --auto Mode
  • Phase 2: Incremental Refactor Loop
  • Code Targets

How to use it

  1. Refactor comes inside the Sd0x Harness plugin, so you get it by installing that plugin, along with its 101 other skills. A plugin installs as one unit, with all its skills. The plugin's page has the install steps, and plugins are saved to your Claude account.
  2. Ask Claude for the task. When your request matches the skill's description, Claude loads it.
  3. To pick it yourself in Claude chat, type / or click + and choose refactor. In Claude Code and Cowork, type:
    /sd0x-dev-flow:refactor

Source

Plugin
Sd0x Harness
SKILL.md
View on GitHub
Repo stars
196
Repo last pushed
Nov 16, 2026
Checked
Nov 16, 2026

More skills in Sd0x Harness