본문으로 건너뛰기
Skillpedia
일반 코딩33k · #8896

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/productivity/reducing-entropy/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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/

  1. List the files in the reference directory
  2. Read frontmatter descriptions to pick which applies
  3. Load at least one
  4. 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.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8896
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬