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

principle-subtract-before-you-add

하는 일

새 기능을 추가하기 전에 단순화하는 규칙을 에이전트에 제공합니다. 시간이 지나며 코드베이스가 무거워진 팀을 위한 스킬입니다.

사용하는 경우

  • ✓지저분하거나 비대해진 코드 부분에 기능을 추가하려고 할 때.
  • ✓리팩터링이나 재작성이 계획되어 있을 때.
  • ✓죽은 코드 경로, 중복 검증기, 빈 참조가 있는 경우.

스킬 링크

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-subtract-before-you-add/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“새 내보내기 기능을 추가하기 전에, 그 모듈의 죽은 코드와 불필요한 검사를 정리해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 죽은 코드, 중복 검증기, 빈 참조를 먼저 제거하고, 그 위에 더 단순해진 기반을 두고 새 작업을 만듭니다. 추측한 예외 상황이 아니라 실제 사용을 기준으로 설계합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Subtract Before You Add

When evolving a system, remove complexity first, then build. Default to subtraction.

Make simplification a continual investment. Leave the design slightly simpler and more capable behind the same or smaller surface than you found it.

  • Sequence removal before construction
  • Cut before you polish (get to the minimum before investing in quality)
  • Design for observed usage, not speculative edge cases
  • No speculative validators, parsers, or guards beyond what the spec demands
  • Simplify prompts (remove redundant instructions, excessive templates)
  • When a reference has no novel content, delete it rather than leaving a stub
자주 묻는 질문

모든 것을 지운다는 뜻인가요?

아닙니다. 죽었거나 불필요한 것만 제거하고, 추측이 아니라 실제 사용을 기준으로 설계합니다.

품질이 먼저인가요?

이 스킬은 다듬기에 투자하기 전에 최소한으로 줄이라고 말합니다.

빈 참조는 어떻게 하나요?

참조에 새 내용이 없다면, 빈 자리를 남기지 말고 삭제하라고 말합니다.

상세 정보

작성자의 원본 설명

Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base.

repo: cursor/plugins

인기도

GitHub 스타
15k
순위
#10989
라이선스
—
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬