Skip to main content
Run any Skill in Manus
with one click

clean-code

Stars6
Forks5
UpdatedMay 29, 2026 at 14:11

Audit staged or branch-scoped code for clean-code violations before commit/PR — DRY/duplication, dead code, premature abstraction, fluff tests, banned patterns (force unwraps, GCD where async exists, useless comments), and copy-paste drift. Use when about to commit code, when the harness pre-commit hook reports findings, when a subagent finishes an implementation, when the user says "clean code review", "check for duplication", "review my diff", "is this clean", or whenever you've just written non-trivial code and want a second pass. Auto-invoked by the pre-commit hook when static detectors find candidates.

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