dry

Centralize duplicated business rules and configurations into a single source of truth.

6|2|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/JordanCoin/codingskills --skill dry-jordancoin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dry
Source: https://github.com/JordanCoin/codingskills/tree/main/skills/dry
Command: npx skills add https://github.com/JordanCoin/codingskills --skill dry-jordancoin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Eliminates duplicated knowledge and business logic by centralizing rules into a single source of truth to prevent inconsistencies across modules and services.

Core Features & Use Cases

  • Centralize business rules and configurations to avoid drift
  • Improve maintainability by updating a rule in one place
  • Safer refactoring and incremental abstraction when patterns stabilize

Quick Start

Ask the AI to identify and consolidate duplicated knowledge across the codebase.

Frequently Asked Questions about dry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I eliminate duplicated business logic across multiple modules?

To eliminate duplicated business logic, you centralize shared rules and configurations into a single source of truth. This prevents inconsistencies across modules and services by ensuring updates apply in one place.

What is the best way to refactor code to establish a single source of truth?

The best way to establish a single source of truth is to guide gradual extraction when duplicated patterns stabilize. This approach enables safer refactoring by incrementally abstracting shared domain logic.

When should I centralize configuration and validation rules in a multi-module application?

You should centralize configuration and validation rules when the same rules are implemented in multiple places. Centralization avoids drift and improves maintainability by allowing you to update a rule in one place.

How does removing duplicated knowledge improve code maintainability?

Removing duplicated knowledge improves code maintainability by preventing inconsistencies across modules. Centralizing business rules and configurations avoids drift, enabling safer refactoring and easier updates.

Can I use gradual extraction for refactoring duplicated domain logic?

Yes, you can use gradual extraction to refactor duplicated domain logic. This technique guides incremental abstraction when patterns stabilize, ensuring safer refactoring and preventing inconsistencies across services.

Why does duplicated configuration cause drift across services?

Duplicated configuration causes drift across services because identical rules are maintained in multiple places. Centralizing these rules into a single source of truth prevents inconsistencies and ensures all modules use the same validation logic.