Skip to content

/refactor

Safe multi-file refactoring with automatic rollback. Establishes a type/test baseline, plans all changes, executes file-by-file, and verifies zero regressions. Reverts if verification fails after two fix attempts. Handles renames, extracts, moves, splits, merges, and inlines.

From plugin
81149 skills7 agents2 MCP
shell
$ npx -y skills add SethGammon/Citadel --skill refactor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/refactor
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Safe multi-file refactoring with automatic rollback. Establishes a type/test baseline, plans all changes, executes file-by-file, and verifies zero regressions. Reverts if verification fails after two fix attempts. Handles renames, extracts, moves, splits, merges, and inlines.
Ships withcitadel

The operating layer for Claude Code + OpenAI Codex: persistent project memory, intent routing, safety hooks, cost telemetry, and parallel agent fleets.

Get the whole plugin, auto-invoked
Stats
811
Stars
0
Views
79
Forks
Active
Maintenance
JavaScript
Language
MIT
License
7h ago
Last commit
4mo ago
Created

Repo: SethGammon/Citadel

Other skills on citadel.