What problem does it solve?
This Skill helps prevent low-quality, brittle, or misleading production code from reaching users by adding a focused review pass after code is written or changed. It is especially useful for AI-assisted development, where plausible-looking code can hide duplication, weak abstractions, swallowed errors, and fake success paths.
Core Features & Use Cases
- Production code review guardrail: Reviews changed code against Clean Code, SOLID, DRY, KISS, YAGNI, and AI-specific failure modes before merge or delivery.
- Structured review mode: Produces a prioritized findings report for PRs, audits, and merge-readiness checks without editing code unless asked.
- Refactor safety checks: Helps ensure cleanup and simplification work preserves observable behavior unless the user explicitly requests a behavior change.
- Use cases: Reviewing a pull request, auditing AI-generated implementation code, making a function cleaner without changing behavior, or checking whether a bug fix introduced unnecessary complexity.
Quick Start
Ask the AI to use clean-code-guard to review the changed files and report any must-fix issues before merge.