mkclean-codelisted
Install: claude install-skill ngocsangyem/MeowKit
# Clean Code — Pragmatic AI Coding Standards
> Be **concise, direct, and solution-focused**.
> For post-implementation complexity reduction within the current diff (Phase 3.5 workflow), use `mk:simplify`. `mk:clean-code` is for broader quality-standards enforcement at any phase.
## Core Principles
| Principle | Rule |
| ------------- | ---------------------------------------------------------- |
| **SRP** | Single Responsibility — each function/class does ONE thing |
| **DRY** | Don't Repeat Yourself — extract duplicates, reuse |
| **KISS** | Keep It Simple — simplest solution that works |
| **YAGNI** | You Aren't Gonna Need It — don't build unused features |
| **Boy Scout** | Leave code cleaner than you found it |
## Process
1. **Read existing code** — understand structure before changing
2. **Check dependencies** — what imports this file? what tests cover it?
3. **Apply coding standards** — load `references/coding-standards.md` for detailed rules
4. **Self-check** — goal met? all files edited? code works? no errors? nothing forgotten?
5. **Run verification** — execute agent-appropriate scripts from references
## References
| Reference | When to load | Content |
| ----------------------------------------------------------