Refactor For Humans

Refactor AI-generated or difficult repository code to reduce complexity and human cognitive load while preserving behavior. Use when Codex must inspect real code and simplify excessive files, tiny functions, thin wrappers, pass-through layers, shallow abstractions, caller-specific APIs, speculative patterns, duplicated rules, configuration flags, special cases, unclear ownership, tangled error handling, or broad AI rewrites; then compare designs, implement a focused refactor, and verify it with available tests.

erikuus Updated

File contents

erikuus/codex-skills/tree/main/refactor-for-humans commit 04a4f72b59

Frequently asked questions

npx skillmds@latest add erikuus/refactor-for-humans