mkclean-code

Solid

Enforces KISS/DRY/YAGNI during authoring and ad-hoc quality reviews. Pragmatic standards: concise, direct, no unnecessary comments. NOT for post-hoc diff/PR review (see mk:review); NOT for behavior-preserving simplification passes (see mk:simplify).

AI & Automation 15 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
40
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 | | ----------------------------------------------------------...

Details

Author
ngocsangyem
Repository
ngocsangyem/MeowKit
Created
4 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category