trackbed:code:refactor-pass
Simplify recent changes and clean up AI slop slice by slice without changing behavior; --rewrite redoes mediocre recent work properly.
/trackbed:code:refactor-pass [scope ... | --rewrite]- Invocation: User
- Hosts: Claude Code, Codex (
$trackbed:code:refactor-passin Codex) - Category: Code Changes
- Source:
trackbed/skills/code:refactor-pass/SKILL.md
Description
Section titled “Description”Perform a refactor pass focused on simplicity after recent changes, including AI-slop cleanup for unnecessary comments, defensive noise, weak typing, over-engineering, and style drift. Use for a narrow cleanup, simplification, dead-code removal, suspected AI-generated code, or an explicit request to redo mediocre recent work properly with --rewrite. Applies Chesterton's Fence, rejects changes that require modifying tests, and keeps the default mode slice-by-slice.