reducing-entropy
하는 일
이 스킬은 최종적으로 남는 코드의 총량으로 판단해 코드베이스를 가능한 한 작게 만들도록 에이전트를 밀어붙입니다. 군더더기를 줄이고 싶은 개발자에게 맞으며, 요청할 때만 실행됩니다.
사용하는 경우
- ✓프로젝트의 코드 양을 줄이라고 명시적으로 요청할 때.
- ✓코드베이스가 불어나 지울 수 있는 것을 찾고 싶을 때.
- ✓제안된 변경이 코드를 추가할 때 더 작은 대안이 있는지 확인하고 싶을 때.
스킬 링크
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/productivity/reducing-entropy/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 모듈에서 지울 수 있는 것을 찾고 싶습니다. reducing-entropy를 사용해 최종 코드베이스를 가능한 한 작게 유지해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 스킬의 사고방식 중 하나를 불러오고, 가장 작은 결과가 함수 몇 개나 아무것도 없는 것일 수 있는지 묻고, 각 변경 전후의 줄 수를 세며, 삭제를 우선합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Reducing Entropy
More code begets more code. Entropy accumulates. This skill biases toward the smallest possible codebase.
Core question: "What does the codebase look like after?"
Before You Begin
Load at least one mindset from references/
- List the files in the reference directory
- Read frontmatter descriptions to pick which applies
- Load at least one
- State which you loaded and its core principle
Do not proceed until you've done this.
The Goal
The goal is less total code in the final codebase - not less code to write right now.
- Writing 50 lines that delete 200 lines = net win
- Keeping 14 functions to avoid writing 2 = net loss
- "No churn" is not a goal. Less code is the goal.
Measure the end state, not the effort.
Three Questions
1. What's the smallest codebase that solves this?
Not "what's the smallest change" - what's the smallest result.
- Could this be 2 functions instead of 14?
- Could this be 0 functions (delete the feature)?
- What would we delete if we did this?
2. Does the proposed change result in less total code?
Count lines before and after. If after > before, reject it.
- "Better organized" but more code = more entropy
- "More flexible" but more code = more entropy
- "Cleaner separation" but more code = more entropy
3. What can we delete?
Every change is an opportunity to delete. Ask:
- What does this make obsolete?
- What was only needed because of what we're replacing?
- What's the maximum we could remove?
Red Flags
- "Keep what exists" - Status quo bias. The question is total code, not churn.
- "This adds flexibility" - Flexibility for what? YAGNI.
- "Better separation of concerns" - More files/functions = more code. Separation isn't free.
- "Type safety" - Worth how many lines? Sometimes runtime checks in less code wins.
- "Easier to understand" - 14 things are not easier than 2 things.
When This Doesn't Apply
- The codebase is already minimal for what it does
- You're in a framework with strong conventions (don't fight it)
- Regulatory/compliance requirements mandate certain structures
Reference Mindsets
See references/ for philosophical grounding.
To add new mindsets, see adding-reference-mindsets.md.
Bias toward deletion. Measure the end state.
자주 묻는 질문
스스로 실행되나요?
아니요. 이 스킬은 수동으로만 작동하며, 사용자가 명시적으로 요청할 때만 활성화됩니다.
코드가 적을수록 항상 좋은가요?
스킬은 최종 코드 양으로 성공을 측정하므로, 더 깔끔해 보여도 줄을 추가하는 변경은 거부될 수 있습니다.
핵심 질문은 무엇인가요?
변경 후 코드베이스가 어떤 모습이 되는지를 묻는 것입니다.
상세 정보
작성자의 원본 설명
Manual-only skill for minimizing total codebase size. Only activate when explicitly requested by user. Measures success by final code amount, not effort. Bias toward deletion.
인기도
- GitHub 스타
- 33k
- 순위
- #8896
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
owasp-security
33k웹 앱, API, 모바일, 컨테이너, AI 에이전트를 위한 OWASP 보안 지침을 따르도록 해서, 흔한 약점을 찾고 수정안을 제안하게 합니다.
agent-management
33k에이전트가 AI Maestro 명령줄을 사용해 AI 에이전트를 만들고, 나열하고, 일시 정지하고, 깨우고, 이름을 바꾸고, 삭제하도록 돕습니다.
agent-messaging
33k에이전트가 Agent Messaging Protocol로 AI 에이전트 사이에 서명된 메시지를 보내고, 받고, 답하도록 돕습니다. 대부분 내 컴퓨터에서 작동합니다.
docs-search
33k에이전트가 자동 생성된 코드 문서에서 함수 시그니처, 클래스 정의, 주석을 검색하도록 해서, 코드를 바꾸기 전에 실제 API를 확인하게 합니다.