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.

KISS — Keep It Simple

  • Simplest solution that works. No cleverness.
  • If a junior dev can't understand it in 30 seconds, simplify
  • Prefer boring, obvious code over elegant abstractions
  • One clear way > multiple "flexible" ways
Related skills

More from b4r7x/agent-skills

Installs
8
First Seen
Mar 30, 2026