dimon94/skills/do-not-repeat-yourself

Claude Code and agent skill by dimon94/skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Find and reuse the nearest correct mechanism before adding another. Use when a change would add reusable code, policy, or workflow meaning.

Install

npx vskill@latest install dimon94/skills/do-not-repeat-yourself

SKILL.md

The same SKILL.md was published earlier as dimon94/skills/do-not-repeat-yourself.

Do Not Repeat Yourself

Run this gate before adding a helper, utility, adapter, validator, parser, script, schema, Skill, prompt rule, or any other reusable mechanism, and again before committing. DRY means do not duplicate meaning or wheels; it does not mean extracting every similar line into a bad abstraction.

Reuse-first gate

  1. Freeze the exact mechanism or staged diff in scope.
  2. Search nearby callers and same-directory patterns.
  3. Search repository utilities, scripts, Skills, docs, ADRs, and declared

entrypoints.

  1. Prefer the language standard library, native platform, and installed

dependencies before new code.

  1. Add a mechanism only when the earlier wheel is missing, wrong, or more costly

than a narrow implementation.

For every new mechanism, record the search evidence or reused wheel. If an existing wheel covers it, delete the duplicate and reuse the owner. If a close wheel is wrong, state the failed contract rather than quietly forking it.

Duplication classes

  • duplicate meaning: the same business rule, error semantics, prompt rule, or

state transition exists twice;

  • duplicate mechanism: a second implementation of an existing reusable path;
  • duplicate wheel: custom code where the standard library, platform, dependency,

or existing Skill already fits.

Keep boundary duplication when sharing would leak internals across trust boundaries. Keep independent test fixtures when that improves readability. Keep small local duplication when an abstraction costs more than the repeated lines. Temporary migration duplication needs a removal condition.

When touching current docs or Skills, prefer one owner plus pointers. Never copy a complete product chain, catalog, enumerator, or state machine into a second source.

End the gate with:

text
DRY record:
- scope:
- searched:
- reused:
- remaining duplication:

Use none only after searching. Historical duplication outside the ticket is reported, not fixed, unless it blocks current correctness.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
108
Repository forks
21
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dimon94/skills/do-not-repeat-yourself/badge)](https://verified-skill.com/skills/dimon94/skills/do-not-repeat-yourself)

Something wrong with this skill or its page? Tell us.