tech-debt
하는 일
이 스킬은 코드베이스에서 기술 부채의 흔적을 스캔하고, 각 발견 사항을 범주로 나누며, 가장 중요한 항목 목록을 관리합니다. 정리 작업을 계획하려는 개발자와 리드를 위한 스킬입니다.
사용하는 경우
- ✓지저분하거나 위험한 영역이 있는지 팀이 코드를 스캔하고 싶을 때.
- ✓개발자가 알려진 부채 항목을 직접 부채 목록에 추가해야 할 때.
- ✓리드가 계획을 위해 부채 상태와 우선순위 요약이 필요할 때.
스킬 링크
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/tech-debt/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“코드베이스에서 기술 부채를 스캔하고, 무엇을 먼저 고쳐야 하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 TODO, FIXME, HACK 같은 표시를 찾고, 매우 긴 파일과 함수를 표시하며, 각 발견 사항을 부채 범주로 나눕니다. 목록을 관리하고, 순위를 다시 매기거나 보고서를 만들 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow
Tech Debt
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Phase 1: Parse Subcommand
Determine the mode from the argument:
scan— Scan the codebase for tech debt indicatorsadd— Add a new tech debt entry manuallyprioritize— Re-prioritize the existing debt registerreport— Generate a summary report of current debt status
If no subcommand is provided, output usage and stop. Verdict: FAIL — missing required subcommand.
Phase 2A: Scan Mode
Search the code root (resolve per .claude/docs/code-root-resolution.md:
src/, Assets/ or Source/ by engine) for debt indicators:
TODOcomments (count and categorize)FIXMEcomments (these are bugs disguised as debt)HACKcomments (workarounds that need proper solutions)@deprecatedmarkers- Duplicated code blocks (similar patterns in multiple files)
- Files over 500 lines (potential god objects)
- Functions over 50 lines (potential complexity)
Categorize each finding:
- Architecture Debt: Wrong abstractions, missing patterns, coupling issues
- Code Quality Debt: Duplication, complexity, naming, missing types
- Test Debt: Missing tests, flaky tests, untested edge cases
- Documentation Debt: Missing docs, outdated docs, undocumented APIs
- Dependency Debt: Outdated packages, deprecated APIs, version conflicts
- Performance Debt: Known slow paths, unoptimized queries, memory issues
Before presenting anything, establish that there was something to scan.
Count the source files the scan actually covered. If the code root is
unresolved, report NOT ASSESSED — code root unresolved and stop as below. If
that count is zero — the code root is absent, or holds no source files — report:
NOT ASSESSED — no source files to scan. The code root contains no code, so "no debt indicators found" would be a statement about an empty search, not about the codebase. Run this once implementation is under way.
and stop. Do not write to the register and do not emit a COMPLETE verdict.
The distinction is the whole point of the scan: zero findings over 400 files is a clean codebase; zero findings over zero files is no information at all. Rendering both as "COMPLETE — scan findings written to register" reads as the first. State the denominator whenever findings are reported, including when it is large and the count is genuinely zero.
Present the findings to the user.
Ask: "May I write these findings to docs/tech-debt-register.md?"
If yes, update the register, never overwriting it. Match before appending: a
finding with the same file and the same kind of debt as an existing Open entry
updates that entry instead of adding a duplicate. An existing Open entry whose
pattern is no longer in its file is proposed as Resolved [date] — list those and
include them in the same approval. Verdict: COMPLETE — scan findings written to register.
If no, stop here. Verdict: BLOCKED — user declined write.
Phase 2B: Add Mode
Ask the user for the description and affected files (plain text prompts).
Run as a subagent? lead-programmer preloads this skill, and a subagent has
no AskUserQuestion. Return the three questions below (category, effort,
impact) in one reply, each as a short list of its options, and stop: whoever
called you asks the user. Nothing goes into the register until the answers
come back.
Then use AskUserQuestion to collect the category:
- Prompt: "What category does this tech debt belong to?"
- Options:
[A] Architecture Debt — wrong abstractions, missing patterns, coupling issues[B] Code Quality Debt — duplication, complexity, naming, missing types[C] Test Debt — missing tests, flaky tests, untested edge cases[D] Documentation Debt — missing/outdated docs, undocumented APIs[E] Dependency Debt — outdated packages, deprecated APIs, version conflicts[F] Performance Debt — known slow paths, memory issues, unoptimized queries
Then use AskUserQuestion to collect the estimated fix effort:
- Prompt: "What is the estimated effort to fix this item?"
- Options:
[A] S — Small (under 1 day)[B] M — Medium (1–3 days)[C] L — Large (3–7 days)- `[D
자주 묻는 질문
무엇을 찾나요?
TODO, FIXME, HACK 주석, 사용 중단 표시, 중복 코드, 매우 긴 파일이나 함수를 찾습니다.
FIXME는 왜 다르게 다루나요?
FIXME는 이미 깨진 것으로 알려진 코드를 표시하므로, 스킬은 이를 위장된 버그로 취급합니다.
부채 항목을 직접 추가할 수 있나요?
네. 추가 모드에서 부채 항목을 직접 입력할 수 있습니다.
상세 정보
작성자의 원본 설명
Track, categorize and prioritize technical debt across the codebase — scans for debt indicators, maintains a register.
인기도
- GitHub 스타
- 33k
- 순위
- #8500
- 라이선스
- MIT
- 업데이트
- 2026. 10. 18.
댓글
- …
이 저장소의 다른 스킬
adopt
33k기존 게임 프로젝트의 문서가 스튜디오 템플릿 형식을 따르는지 확인하고, 빠진 부분을 고치기 위한 번호 매긴 이전 계획을 씁니다.
architecture-decision
33k기술적 선택에 대한 아키텍처 결정 기록을 쓰고, 맥락, 대안, 결과를 담으며, 적절한 기술 역할의 검토를 거치도록 돕습니다.
architecture-review
33k기술 결정이 모든 설계 요구 사항을 다루고, 서로 충돌하지 않으며, 엔진 버전에 맞는지 점검해 통과 또는 우려 판정을 명확히 줍니다.
art-bible
33k게임의 시각적 정체성을 정의하는 아트 바이블을 써서, 자산 제작이 하나의 명확한 스타일 규칙을 따르게 합니다.