zero-tech-debt
하는 일
이 스킬은 AI가 의도한 최종 설계를 중심으로 코드 변경을 다시 만들고, 호환성을 위한 잔여 코드와 쓰이지 않는 경로를 제거하도록 요청합니다. 패치 위에 또 패치를 붙이는 대신 깔끔한 결과를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓변경 사항이 임시 수정으로 지저분해져서 더 깔끔한 버전을 원할 때.
- ✓더 이상 사용자가 없는 오래된 모드, 플래그, 대체 경로를 제거하고 싶을 때.
- ✓기능을 리팩터링하면서 코드가 최종 제품 형태와 맞기를 원하는 경우.
스킬 링크
https://github.com/trycompai/crm/blob/release/.agents/skills/zero-tech-debt/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
State the intended end state in one or two sentences.
Search for real callers before preserving compatibility. If a mode, prop, wrapper, route alias, or fallback has no current caller, delete it.
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.
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.
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.
댓글
- …
이 저장소의 다른 스킬
ai-elements
12k에이전트가 대화, 메시지, 도구 표시, 프롬프트 입력을 위한 기성 컴포넌트로 AI 채팅 화면을 만들도록 돕습니다.
ai-sdk
12k에이전트가 Vercel AI SDK로 텍스트 생성, 스트리밍, 도구 호출, 에이전트를 포함한 AI 기능을 만들도록 돕습니다.
better-accessibility
12k에이전트가 키보드와 스크린 리더로도 사용할 수 있도록 인터페이스를 만들며, 포커스, 레이블, ARIA, 양식을 다루도록 돕습니다.
better-auth-best-practices
12k에이전트가 TypeScript 앱에서 문서에 나온 단계에 따라 Better Auth로 로그인, 세션, OAuth, 플러그인을 설정하도록 돕습니다.