# Techdebt

> >

- **Type:** Skill
- **Install:** `agentstack add skill-jh941213-codex-lattice-techdebt`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [jh941213](https://agentstack.voostack.com/s/jh941213)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [jh941213](https://github.com/jh941213)
- **Source:** https://github.com/jh941213/codex-lattice/tree/main/skills/techdebt

## Install

```sh
agentstack add skill-jh941213-codex-lattice-techdebt
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 기술 부채 정리

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

## 검사 항목

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

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

### 3. 디버그 코드
- console.log / console.error
- debugger 문
- 임시 주석 (// TODO, // FIXME, // HACK, // XXX)

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

## 검사 명령어
```bash
# 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 제거
- 중복 코드는 리포트만 (수동 확인 필요)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [jh941213](https://github.com/jh941213)
- **Source:** [jh941213/codex-lattice](https://github.com/jh941213/codex-lattice)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jh941213-codex-lattice-techdebt
- Seller: https://agentstack.voostack.com/s/jh941213
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
