name: refactor-and-split
description: Refactor existing code without changing behavior — split oversized files, extract duplicates, simplify over-engineered patterns. Use when files exceed size thresholds, code is duplicated 4+ times, or has speculative abstractions, dead options, or wrapper indirection. Triggers "refactor", "split", "deduplicate", "simplify", "untangle", "clean up". Complements built-in simplify (which only reviews recent diffs).
refactor-and-split
This is a Codex discovery shim. The authoritative skill lives at:
@../../../.claude/skills/refactor-and-split/SKILL.md
When using this skill, read the authoritative file above and treat .claude/skills/refactor-and-split/ as the skill root for resolving relative paths, scripts, references, and assets.