Skip to main content

strict-refactor

Stars5
Forks0
UpdatedJune 4, 2026 at 04:53

Use when a large function, component, or call site needs decomposing into named single-purpose units โ€” extract computation blocks, guard clauses, setup phases, UI subtrees, or bundled parameter groups, or move a function to a better module. Triggers on "strict refactor", "/strict-refactor", "extract function", "extract component", "break up this function", "split into smaller functions", "group these parameters". Changes structure only โ€” no logic, no renames, no designed abstractions.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly