mcpField
K
kiss-dry-yagni

kiss-dry-yagni

github.com/thebeardedbearsasDevelopment107252 installsUpdated today
Repository

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

  1. 01KISS complexity and length guidelines
  2. 02DRY abstraction and single source of truth
  3. 03YAGNI scope discipline
  4. 04Early returns and composition

Use cases

  1. 01Reviewing methods for unnecessary complexity
  2. 02Deciding when to abstract repeated code
  3. 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-yagni

After installing, type/kiss-dry-yagniin Claude Code to confirm it loaded.

Bundled filesREFERENCE.md

Details

From the project README

Principes 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