clean-code
/clean-code
Apply the superskills quality standard — KISS, DRY, SOLID, YAGNI — to the
code that changed on this branch, and prove each cleanup with tests. This is the
in-tree counterpart to Claude Code's built-in /simplify: it can be invoked from
inside any session or pipeline (/qa-full Step 3 runs it), and it works the same
in every tool ./setup targets.
The principles are defined once, in ENGINEERING_STANDARDS.md in the
superskills install (a plugin install exposes it at
${CLAUDE_PLUGIN_ROOT}/ENGINEERING_STANDARDS.md). Read its DRY, SOLID,
and YAGNI sections before auditing — this file does not restate them, it
only lists the diff-level signals to look for. Do not expect the file in the
project under review, and do not flag it as missing. KISS is not a separate
section there: it is the standard's "smallest correct change" + YAGNI rules
applied to structure — the simplest design that passes the tests.