convention-dry
CommunityKeep knowledge centralized, avoid duplication
Software Engineering#anti-patterns#refactoring#clean-code#dry#coding-principles#dont-repeat-yourself
AuthorsunLeee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
DRY (Don't Repeat Yourself) 원칙은 시스템 내에서 지식과 로직을 하나의 명확한 표현으로 관리하게 하여 중복과 불일치를 줄이는 것을 목표로 한다.
Core Features & Use Cases
- 중앙화된 검증 유틸리티: 반복되는 검증 로직을 재사용 가능한 함수로 추출한다.
- 일관된 구성 패턴: 하드코딩 값을 제거하고 구성 파일에서 참조하도록 한다.
- 반패턴 탐지: 카피 앤 페이스트 패턴을 찾아 리팩토링을 촉진한다.
- 사용 사례: create_user와 update_user에 동일한 검증이 필요할 때 단일 유효성 검증 함수로 통합한다.
Quick Start
Identify duplicated logic in a module and move it into a shared function called by all affected code paths.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: convention-dry Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-dry Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.