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

codebase-cleanup-tech-debt

하는 일

이 도구는 프로젝트 코드를 분석해 기술 부채를 찾아냅니다. 중복되거나 복잡하거나 오래된 코드처럼 기술적인 문제를 살펴봅니다. 이런 문제가 미치는 영향을 파악하고, 무엇을 먼저 고칠지 제안합니다.

사용하는 경우

  • ✓새 기능 개발이 느려질 때.
  • ✓버그가 자주 발생할 때.
  • ✓오래된 프로젝트를 개선할 계획을 세울 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codebase-cleanup-tech-debt/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codebase-cleanup-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에서 그대로 가져왔습니다.

Compatibility and maintenance

Compatibility alias of code-refactoring-tech-debt; use that ID for new references when no existing contract requires this one. The full instructions and support files remain local so existing installations continue to work offline. This is one shared procedure, not an additional capability. Preserve the callable ID when an existing manifest or client configuration uses it. Modified in AAS on 2026-09-05; original metadata and license notices are retained.

Technical Debt Analysis and Remediation

You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create actionable remediation plans.

Use this skill when

  • Working on technical debt analysis and remediation tasks or workflows
  • Needing guidance, best practices, or checklists for technical debt analysis and remediation

Do not use this skill when

  • The task is unrelated to technical debt analysis and remediation
  • You need a different domain or tool outside this scope

Context

The user needs a comprehensive technical debt analysis to understand what's slowing down development, increasing bugs, and creating maintenance challenges. Focus on practical, measurable improvements with clear ROI.

Requirements

Inspect the current repository, hotspots and real change/incident history. The numbers, thresholds, staffing and timelines below are hypothetical planning examples, not measurements, promised returns or mandatory quality gates. Report missing cost/usage inputs as unknown; never fill them with fabricated telemetry. Review-only scope does not authorize broad refactors, policy changes or deployment.

Instructions

1. Technical Debt Inventory

Conduct a thorough scan for all types of technical debt:

Code Debt

  • Duplicated Code

    • Exact duplicates (copy-paste)
    • Similar logic patterns
    • Repeated business rules
    • Quantify: Lines duplicated, locations
  • Complex Code

    • High cyclomatic complexity (>10)
    • Deeply nested conditionals (>3 levels)
    • Long methods (>50 lines)
    • God classes (>500 lines, >20 methods)
    • Quantify: Complexity scores, hotspots
  • Poor Structure

    • Circular dependencies
    • Inappropriate intimacy between classes
    • Feature envy (methods using other class data)
    • Shotgun surgery patterns
    • Quantify: Coupling metrics, change frequency

Architecture Debt

  • Design Flaws

    • Missing abstractions
    • Leaky abstractions
    • Violated architectural boundaries
    • Monolithic components
    • Quantify: Component size, dependency violations
  • Technology Debt

    • Outdated frameworks/libraries
    • Deprecated API usage
    • Legacy patterns (e.g., callbacks vs promises)
    • Unsupported dependencies
    • Quantify: Version lag, security vulnerabilities

Testing Debt

  • Coverage Gaps

    • Untested code paths
    • Missing edge cases
    • No integration tests
    • Lack of performance tests
    • Quantify: Coverage %, critical paths untested
  • Test Quality

    • Brittle tests (environment-dependent)
    • Slow test suites
    • Flaky tests
    • No test documentation
    • Quantify: Test runtime, failure rate

Documentation Debt

  • Missing Documentation
    • No API documentation
    • Undocumented complex logic
    • Missing architecture diagrams
    • No onboarding guides
    • Quantify: Undocumented public APIs

Infrastructure Debt

  • Deployment Issues
    • Manual deployment steps
    • No rollback procedures
    • Missing monitoring
    • No performance baselines
    • Quantify: Deployment time, failure rate

2. Impact Assessment

Calculate the real cost of each debt item:

Development Velocity Impact

Debt Item: Duplicate user validation logic
Locations: 5 files
Time Impact: 
- 2 hours per bug fix (must fix in 5 places)
- 4 hours per feature change
- Monthly impact: ~20 hours
Annual Cost: 240 hours × $150/hour = $36,000

Quality Impact

Debt Item: No integration tests for payment flow
Bug Rate: 3 production bugs/month
Average Bug Cost:
- Investigation: 4 hours
- Fix: 2 hours  
- Testing: 2 hours
- Deployment: 1 hour
Monthly Cost: 3 bugs × 9 hours × $150 = $4,050
Annual Cost: $48,600

Risk Assessment

  • Critical: Security vulnerabilities, data loss risk
  • High: Performance degradation, frequent outages
  • Medium: Developer frustration, slow feature delivery

…

자주 묻는 질문

‘기술 부채’란 무엇인가요?

소프트웨어 개발에서 지름길을 택하거나 좋은 방식을 따르지 않아 쌓이는 ‘빚’과 같습니다. 코드를 이해하기 어렵게 만들고, 오류가 더 자주 생기게 하며, 발전 속도를 늦출 수 있습니다.

어떤 종류의 문제를 찾나요?

중복된 코드, 지나치게 복잡한 코드, 구조 문제, 오래된 기술, 테스트 부족, 불완전한 문서, 인프라 문제 등을 찾습니다.

무엇을 먼저 고칠지는 어떻게 정하나요?

각 수정이 주는 효과(절약되는 시간이나 비용)와 구현에 필요한 노력을 비교해 우선순위를 정합니다. 빠르고 효율적인 해결책에 집중합니다.

상세 정보

작성자의 원본 설명

Identify technical debt from actual code and change history, estimate its impact, and prioritize bounded improvements with explicit assumptions.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4201
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬