About kiss-dry-yagni
A coding skill with KISS, DRY, and YAGNI guidelines for developers seeking simpler, maintainable code. It also recommends early returns and composition over inheritance.
Key features
- 01KISS complexity and length guidelines
- 02DRY abstraction and single source of truth
- 03YAGNI scope discipline
- 04Early returns and composition
Use cases
- 01Reviewing methods for unnecessary complexity
- 02Deciding when to abstract repeated code
- 03Keeping implementation limited to current requirements
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ thebeardedbearsas/ claude-craft --skill kiss-dry-yagniAfter installing, type/kiss-dry-yagniin Claude Code to confirm it loaded.
Bundled filesREFERENCE.md
Details
From the project READMEPrincipes KISS, DRY, YAGNI
This skill provides simplicity and code quality guidelines.
See @REFERENCE.md for detailed documentation.
Quick Reference
- KISS: Methods < 20 lines, complexity < 10, indent < 3 levels
- DRY: Abstract after 3 occurrences, single source of truth
- YAGNI: Only build what's explicitly required NOW
- Early returns: Prefer guard clauses over nested else
- Composition: Prefer over inheritance
Comments
Markdown supported