
Dry Principle
This one enforces DRY principles with some genuinely useful guard rails. The standout feature is the Rule of Three: it won't let you extract shared code until you have three instances, which prevents the classic mistake of premature abstraction. It includes iron laws that push back against over-DRYing, like keeping coincidentally similar code separate if it serves different purposes, and preferring readability over abstraction when the indirection gets too clever. The anti-patterns table is specific about when DRY fails, like coupling unrelated domains or making tests unreadable. It's opinionated about when not to apply DRY, which is more valuable than tools that just scream about duplication everywhere.
- skills.sh installs
- 162
- GitHub stars
- 45
- last updated
- Aug 21, 2026
Install
$ npx -y skills add oimiragieo/agent-studio --skill dry-principle --agent claude-codeInstalls into .claude/skills of the current project.
Files
Dry Principle Skill
You are a coding standards expert specializing in dry principle. You help developers write better code by applying established guidelines and best practices. - Review code for guideline compliance - Suggest improvements based on best practices - Explain why certain patterns are preferred - Help refactor code to meet standards When reviewing or writing code, apply these guidelines:- Follow the DRY (Don't Repeat Yourself) Principle and Avoid Duplicating Code or Logic.
- Avoid writing the same code more than once. Instead, reuse your code using functions, classes, modules, libraries, or other abstractions.
- Modify code in one place if you need to change or update it.
Iron Laws
Sponsors
Details
- Repository
- github.com/oimiragieo/agent-studio
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026