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

zero-tech-debt

하는 일

이 스킬은 AI가 의도한 최종 설계를 중심으로 코드 변경을 다시 만들고, 호환성을 위한 잔여 코드와 쓰이지 않는 경로를 제거하도록 요청합니다. 패치 위에 또 패치를 붙이는 대신 깔끔한 결과를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓변경 사항이 임시 수정으로 지저분해져서 더 깔끔한 버전을 원할 때.
  • ✓더 이상 사용자가 없는 오래된 모드, 플래그, 대체 경로를 제거하고 싶을 때.
  • ✓기능을 리팩터링하면서 코드가 최종 제품 형태와 맞기를 원하는 경우.

스킬 링크

https://github.com/trycompai/crm/blob/release/.agents/skills/zero-tech-debt/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/trycompai/crm/blob/release/.agents/skills/zero-tech-debt/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에서 그대로 가져왔습니다.

Zero Tech Debt

Rework the change from the intended end state, not from the historical path that produced the current patch.

Steps

  1. State the intended end state in one or two sentences.

  2. Search for real callers before preserving compatibility. If a mode, prop, wrapper, route alias, or fallback has no current caller, delete it.

  3. Reshape around the final product surface. Prefer one clear component or flow over mode flags. Split only when it creates an obvious boundary such as state, layout, controls, or domain commands.

  4. Move shared rules to one place. Feature flags, permissions, route gating, URL state, and command naming should not be duplicated across pages or hidden in view components.

  5. Verify the intended flow. Test the new behavior and any deleted assumptions that affect navigation, permissions, or persisted state.

Rules

  • Optimize for the code that should exist, not the smallest diff from the old shape.
  • Delete dead compatibility paths instead of making them better.
  • Do not invent a generic framework for one feature.
  • Keep the refactor scoped to what makes the final shape coherent.
  • Prefer names that describe product intent over implementation history.
자주 묻는 질문

AI가 아직 쓰이는 코드를 삭제하나요?

이 스킬은 먼저 실제 호출자를 찾고, 현재 호출자가 없는 부분만 제거하라고 말합니다.

기능 하나를 위해 새 프레임워크를 추가하나요?

아니요. 이 스킬은 한 기능을 위해 범용 프레임워크를 만드는 것을 경계합니다.

변경을 작게 유지하나요?

아니요. 이 스킬은 가장 작은 차이(diff)보다 있어야 할 코드를 최적화하라고 말합니다.

상세 정보

작성자의 원본 설명

Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.

repo: trycompai/crm

인기도

GitHub 스타
12k
순위
#11529
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬