kiss-dry-yagni✓ Pass

Principes KISS, DRY, YAGNI. Use when reviewing code quality or refactoring.

82
★ stars
1
↓ downloads
12
◉ views

// Install Skill

Install Skill

Skills are third-party code from public GitHub repositories. SkillHub scans for known malicious patterns but cannot guarantee safety. Review the source code before installing.

Install globally (user-level):

npx skillhub install majiayu000/claude-skill-registry/kiss-dry-yagni

Install in current project:

npx skillhub install majiayu000/claude-skill-registry/kiss-dry-yagni --project

skill.install.customTargetHelp

npx skillhub install majiayu000/claude-skill-registry/kiss-dry-yagni --target-dir /path/to/skills

Suggested path: ~/.claude/skills/kiss-dry-yagni/

SKILL.md Content

---
name: kiss-dry-yagni
description: Principes KISS, DRY, YAGNI. Use when reviewing code quality or refactoring.
triggers:
  files: ["*.cs"]
  keywords: ["simple", "simplify", "duplicate", "duplication", "refactor", "KISS", "DRY", "YAGNI"]
auto_suggest: true
---

# 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

License

Declared license: MIT

MIT License

Copyright (c) 2026 majiayu000

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View the license in the source repository — the version published there is authoritative.