·dont-repeat-yourself
</>

dont-repeat-yourself

yanko-belov/code-craft

Use when writing similar code in multiple places. Use when copy-pasting code. Use when making the same change in multiple locations.

28Installs·0Trend·@yanko-belov

Installation

$npx skills add https://github.com/yanko-belov/code-craft --skill dont-repeat-yourself

SKILL.md

Every piece of knowledge must have a single, unambiguous representation in the system.

If you find yourself writing the same logic twice, extract it. Duplication is a bug waiting to happen.

If you're about to copy code and modify it, STOP:

Use when writing similar code in multiple places. Use when copy-pasting code. Use when making the same change in multiple locations. Source: yanko-belov/code-craft.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/yanko-belov/code-craft --skill dont-repeat-yourself
Category
</>Dev Tools
Verified
First Seen
2026-02-12
Updated
2026-02-18

Quick answers

What is dont-repeat-yourself?

Use when writing similar code in multiple places. Use when copy-pasting code. Use when making the same change in multiple locations. Source: yanko-belov/code-craft.

How do I install dont-repeat-yourself?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill dont-repeat-yourself Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/yanko-belov/code-craft