← ClaudeAtlas

refactorlisted

Behavior-preserving structural refactors with stack gates. Survey candidates first, then apply all actionable in-scope structural fixes in one run — interactively or from automation hints (duplication_block, oversized_unit). Default is survey only; apply edits only when the user explicitly requests apply or automation sets may_edit in Constraints. Architecture: proposal first, one approved slice per apply batch. Not for lint-only style, features, behavior-changing bugfixes, or upgrades.
y-miyazaki/config · ★ 1 · Code & Development · score 68
Install: claude install-skill y-miyazaki/config
**UTILITY SKILL** — structural refactor survey and apply, not feature work. ## Input - **Interactive:** paths/symbols and optional mode — constraints in `## Constraints` or [category-scope.md](references/category-scope.md) - **Automation:** detect JSON with `hints[]` in prompt; read `may_edit`, `write_target`, and `report_file` (when `write_target: report`) from `## Constraints` per [category-automation-envelope.md](references/category-automation-envelope.md) Path allowlist, when present, arrives in `## Constraints`. ## Output Specification Refactor report per [common-output-format.md](references/common-output-format.md). Survey shape when no files are edited; apply shape when edited — within [category-scope.md](references/category-scope.md). Automation path: [common-output-format-automation.md](references/common-output-format-automation.md) and [category-automation-envelope.md](references/category-automation-envelope.md). ## Execution Scope ### USE FOR: - Survey structural candidates; dedupe, extract/inline, clarify, shallow moves; automation hints; architecture Phase A/B; characterization tests ### DO NOT USE FOR: - Lint/style-only; features/API/behavior fixes; cross-boundary apply; platform-wide architecture refactors; tech-debt input ## Reference Files Guide - [common-checklist.md](references/common-checklist.md) (always read) - [common-output-format.md](references/common-output-format.md) (always read) - [category-scope.md](references/category-scope.md) (alwa