Skip to content
Agent Orchestration
Skill

/techdebt

기술 부채 정리 - 중복 코드, console.log, 사용하지 않는 import 등 검사 및 정리. 세션 종료 전 사용 권장. 트리거: "기술 부채", "techdebt", "console.log 정리", "사용하지 않는 import", "데드코드 정리", "의존성 정리", "기술부채 스캔". 안티-트리거: "새 기능 추가", "리팩토링", "코드 단순화(simplify)".

BOOST
From plugin
my-cc-harness
12543 skills12 agents4 commands10 hooks
Install
$ npx -y skills add jh941213/my-cc-harness --skill techdebt --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/techdebt

Context preview

The summary Claude sees to decide when to auto-load this skill.

기술 부채 정리 - 중복 코드, console.log, 사용하지 않는 import 등 검사 및 정리. 세션 종료 전 사용 권장. 트리거: "기술 부채", "techdebt", "console.log 정리", "사용하지 않는 import", "데드코드 정리", "의존성 정리", "기술부채 스캔". 안티-트리거: "새 기능 추가", "리팩토링", "코드 단순화(simplify)".

SKILL.md

techdebt.SKILL.md
name: techdebt
description: 기술 부채 정리 - 중복 코드, console.log, 사용하지 않는 import 등 검사 및 정리. 세션 종료 전 사용 권장. 트리거: "기술 부채", "techdebt", "console.log 정리", "사용하지 않는 import", "데드코드 정리", "의존성 정리", "기술부채 스캔". 안티-트리거: "새 기능 추가", "리팩토링", "코드 단순화(simplify)".
disable-model-invocation: true
allowed-tools: Read, Grep, Glob, Edit, Bash
user-invocable: true

기술 부채 정리

세션 종료 전 코드베이스의 기술 부채를 찾아 정리합니다.

검사 항목

1. 중복 코드

  • 유사한 함수/로직이 여러 파일에 있는지 확인
  • 공통 유틸리티로 추출 가능한 코드 식별

2. 사용하지 않는 코드

  • 사용하지 않는 import 문
  • 사용하지 않는 변수/함수
  • 주석 처리된 코드 블록

3. 디버그 코드

  • console.log / console.error
  • debugger 문
  • 임시 주석 (// TODO, // FIXME, // HACK, // XXX)

4. 코드 품질

  • any 타입 사용 (TypeScript)
  • 하드코딩된 값 (매직 넘버/스트링)
  • 너무 긴 함수 (50줄 초과)
  • 깊은 중첩 (4단계 초과)

검사 명령어

# console.log 찾기
grep -r "console\." --include="*.ts" --include="*.tsx" src/

# TODO 주석 찾기
grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.ts" --include="*.tsx" src/

# any 타입 찾기
grep -rn ": any" --include="*.ts" --include="*.tsx" src/

출력 형식

## 기술 부채 리포트

### 중복 코드 (3건)
- src/utils.ts:formatDate ↔ src/helpers.ts:formatDateTime

### 사용하지 않는 import (12건)
- src/components/Button.tsx: React (unused)

### 디버그 코드 (5건)
- src/api/auth.ts:23 - console.log

### 코드 품질 이슈 (8건)
- src/services/user.ts:45 - any 타입 사용

총 28건의 기술 부채가 발견되었습니다.
자동 수정을 진행할까요? (Y/n)

자동 수정 범위

  • 사용하지 않는 import 제거
  • console.log/debugger 제거
  • 중복 코드는 리포트만 (수동 확인 필요)
Read more
Ships withmy-cc-harness

my-claude-code-asset

Get the whole plugin

Other skills on my-cc-harness.

auto-memory
Skill

auto-memory

레포에서 실질적인 작업(구현·수정·배포·디버깅)을 시작할 때, 새 레포를 처음 파악할 때, 작업을 마치고 기억할 지식이 생겼을 때 사용. 작업 유형에 맞는 docs·메모리만 선택적으로 로드하는 라우팅 테이블을 운영한다

autodev-parallel
Skill

autodev-parallel

Ralph Loop 병렬 버전. 여러 에이전트가 worktree에서 동시에 PRD 항목을 처리한다. 트리거: "PRD 항목 병렬 구현", "병렬 구현", "autodev parallel", "워크트리 병렬 개발", "병렬 랄프"…

autodev
Skill

autodev

Ralph Loop 기반 자율 개발 루프. Stop Hook이 세션 종료를 가로채어 PRD 항목을 하나씩 완료하며 자동 커밋한다. 트리거: "autodev", "자율 개발", "밤새 돌려", "랄프 루프", "ralph loop",…

brainstorming
Skill

brainstorming

기능 추가·컴포넌트 생성·동작 변경 등 모든 창작 작업 전에 사용. 구현 전에 의도·요구사항·설계를 대화로 확정 (심층 인터뷰가 필요한 대규모 기능은 /spec 사용)