code-quality
Installation
SKILL.md
Code Quality Principles
Universal quality checklist for code reviews and implementation. Framework-agnostic.
Core Principles
DRY — Don't Repeat Yourself
- 3+ occurrences of the same pattern → extract into a reusable unit (function, module, type)
- Single source of truth — constants, types, schemas live in one place
- Shared logic belongs in a dedicated module, not copy-pasted across features
- Exception: 2 similar lines are fine. Don't extract for 2 occurrences — wait for the third.