オプション
家 Skill 開発者ツール tech-debt-tracker

コードベースをスキャンして技術的負債を検出し、重大度を評価し、トレンドを追跡し、優先順位付きの修正計画を生成します。

...すべて拡張します
25
更新された時間 2026年8月29日

Tech Debt Tracker

ティア: POWERFUL 🔥
カテゴリ: エンジニアリングプロセス自動化
専門分野: コード品質、技術的負債管理、ソフトウェアエンジニアリング

概要

技術的負債は、ソフトウェア開発において最も厄介な課題の一つです。時間が経過するにつれて複利のように蓄積し、開発速度を低下させ、保守コストを増加させ、コード品質を低下させます。このスキルは、コードベース全体にわたって技術的負債を特定、分析、優先順位付け、追跡するための包括的なフレームワークを提供します。

技術的負債は単に汚いコードのことではありません。アーキテクチャ上の妥協、テストの欠如、古い依存関係、ドキュメントの不足、インフラストラクチャへの妥協などを含みます。金融上の負債と同様に、開発時間の増加、バグ率の上昇、チームの生産性低下といった「利息」が発生します。

このスキルが提供するもの

このスキルは、完全な技術的負債管理システムを構成する3つの相互に関連するツールを提供します。

  1. Debt Scanner - コードベース内の技術的負債のシグナルを自動的に特定します
  2. Debt Prioritizer - 遅延コストフレームワークを使用して負債項目を分析し、優先順位付けします
  3. Debt Dashboard - 時間経過に伴う負債のトレンドを追跡し、経営層向けのレポートを提供します

これらのツールを組み合わせることで、エンジニアリングチームは技術的負債に関するデータ駆動型の意思決定を行い、新機能の開発と保守作業のバランスを取ることができます。

クイックスタート — スキャン → 優先順位付け → ダッシュボード

すべてのパスは、このスキルフォルダを基準とします。スキャナのJSON出力は優先順位付けツールに直接入力され、日付付きのインベントリスナップショットはダッシュボードに入力されます。

1. コードベースのスキャン

python3 scripts/debt_scanner.py /path/to/codebase --format json --output debt_inventory.json

scan_metadatasummarydebt_items[]file_statisticsrecommendationsを含む debt_inventory.json を出力します。ユーザーに対して summary のカウントを報告してください。(ドライランの場合: assets/sample_codebase。)

2. バックログの優先順位付け

python3 scripts/debt_prioritizer.py debt_inventory.json --framework wsjf --team-size 6 --sprint-capacity 20 --format json --output debt_priorities.json

フレームワーク: cost_of_delay(デフォルト)、wsjfrice。出力には prioritized_backlog(トップダウンで作業)、sprint_allocation(スプリント計画に貼り付け用)、insights が含まれます。

3. 時間経過に伴うトレンドの追跡

日付付きのスナップショット(debt_YYYY-MM-DD.json)を保持し、その後:

python3 scripts/debt_dashboard.py --input-dir snapshots/ --period monthly --format both --output debt_dashboard

または、ファイルを明示的に指定します(サンプル: assets/historical_debt_2024-01-15.json assets/historical_debt_2024-02-01.json)。ダッシュボードはトレンドの方向性と経営層向けの要約を報告します。クリーンアップスプリントが実際に負債を削減したことを確認するために使用してください。

検証ループ

修正スプリント後: ステップ1を再実行し、新しいスナップショットでステップ3を再実行し、対象カテゴリのカウントが減少したことを確認します。ダッシュボードに動きがないクリーンアップは、負債返済ではなく手戻りです。

技術的負債分類フレームワーク

→ 詳細は references/debt-frameworks.md を参照してください(その他: references/debt-classification-taxonomy.md、references/prioritization-framework.md、references/stakeholder-communication-templates.md)

一般的な失敗例と回避方法

1. 分析のパラリシス(分析過多)

問題: 修正するよりも分析に多くの時間を費やすこと。解決策: 分析に時間制限を設定し、ほとんどの項目に対して「十分良好」なスコアリングを使用する。

2. 完璧主義

問題: 負債を管理するのではなく、すべての負債を排除しようとする。解決策: 高インパクトの負債に焦点を当て、一部の負債は許容可能であることを受け入れる。

3. ビジネスコンテキストの無視

問題: ビジネス価値よりも技術的な洗練さを優先すること。解決策: 常に負債作業をビジネス成果や顧客インパクトに結びつける。

4. 一貫性のない適用

問題: 一部のチームはプラクティスを採用するが、他のチームは無視する。解決策: 負債追跡を標準的な開発ワークフローの一部にする。

5. ツールの過剰設計

問題: 誰も使用しない複雑な負債管理システムを構築する。解決策: シンプルに始め、実際の使用パターンに基づいて反復する。

技術的負債管理は、単により良いコードを書くことではありません。短期的な納期プレッシャーと長期的なシステムの健全性のバランスを取る、持続可能な開発プラクティスを作成することです。これらのツールとフレームワークを使用して、いつ、どのように負債削減に投資するかについて、情報に基づいた意思決定を行ってください。

GitHubで見る
---
name: tech-debt-tracker
description: Scan codebases for technical debt, score severity, track trends, and generate prioritized remediation plans.
---

# Tech Debt Tracker

**Tier**: POWERFUL 🔥  
**Category**: Engineering Process Automation  
**Expertise**: Code Quality, Technical Debt Management, Software Engineering

## Overview

Tech debt is one of the most insidious challenges in software development - it compounds over time, slowing down development velocity, increasing maintenance costs, and reducing code quality. This skill provides a comprehensive framework for identifying, analyzing, prioritizing, and tracking technical debt across codebases.

Tech debt isn't just about messy code - it encompasses architectural shortcuts, missing tests, outdated dependencies, documentation gaps, and infrastructure compromises. Like financial debt, it accrues "interest" through increased development time, higher bug rates, and reduced team velocity.

## What This Skill Provides

This skill offers three interconnected tools that form a complete tech debt management system:

1. **Debt Scanner** - Automatically identifies tech debt signals in your codebase
2. **Debt Prioritizer** - Analyzes and prioritizes debt items using cost-of-delay frameworks
3. **Debt Dashboard** - Tracks debt trends over time and provides executive reporting

Together, these tools enable engineering teams to make data-driven decisions about tech debt, balancing new feature development with maintenance work.

## Quick Start — scan → prioritize → dashboard

All paths relative to this skill folder. The scanner's JSON output feeds the prioritizer directly; dated inventory snapshots feed the dashboard.

### 1. Scan the codebase

```bash
python3 scripts/debt_scanner.py /path/to/codebase --format json --output debt_inventory.json
```

Emits `debt_inventory.json` with `scan_metadata`, `summary`, `debt_items[]`, `file_statistics`, and `recommendations`. Report the `summary` counts to the user. (Dry run: `assets/sample_codebase`.)

### 2. Prioritize the backlog

```bash
python3 scripts/debt_prioritizer.py debt_inventory.json --framework wsjf --team-size 6 --sprint-capacity 20 --format json --output debt_priorities.json
```

Frameworks: `cost_of_delay` (default), `wsjf`, `rice`. Output contains `prioritized_backlog` (work top-down), `sprint_allocation` (paste into sprint planning), and `insights`.

### 3. Track trends over time

Keep dated snapshots (`debt_YYYY-MM-DD.json`), then:

```bash
python3 scripts/debt_dashboard.py --input-dir snapshots/ --period monthly --format both --output debt_dashboard
```

Or pass files explicitly (samples: `assets/historical_debt_2024-01-15.json assets/historical_debt_2024-02-01.json`). The dashboard reports trend direction and executive-ready summaries — use it to verify a cleanup sprint actually reduced debt.

### Verification loop

After a remediation sprint: re-run step 1, re-run step 3 with the new snapshot, and assert the targeted categories' counts dropped. A cleanup that doesn't move the dashboard is rework, not debt paydown.

## Technical Debt Classification Framework
→ See references/debt-frameworks.md for details (also: references/debt-classification-taxonomy.md, references/prioritization-framework.md, references/stakeholder-communication-templates.md)

## Common Pitfalls and How to Avoid Them

### 1. Analysis Paralysis
**Problem**: Spending too much time analyzing debt instead of fixing it.
**Solution**: Set time limits for analysis, use "good enough" scoring for most items.

### 2. Perfectionism
**Problem**: Trying to eliminate all debt instead of managing it.
**Solution**: Focus on high-impact debt, accept that some debt is acceptable.

### 3. Ignoring Business Context
**Problem**: Prioritizing technical elegance over business value.
**Solution**: Always tie debt work to business outcomes and customer impact.

### 4. Inconsistent Application
**Problem**: Some teams adopt practices while others ignore them.
**Solution**: Make debt tracking part of standard development workflow.

### 5. Tool Over-Engineering
**Problem**: Building complex debt management systems that nobody uses.
**Solution**: Start simple, iterate based on actual usage patterns.

Technical debt management is not just about writing better code - it's about creating sustainable development practices that balance short-term delivery pressure with long-term system health. Use these tools and frameworks to make informed decisions about when and how to invest in debt reduction.

すべてのファイル

0件のファイル

tech-debt-trackerをインストール

スキルファイルをダウンロードして、.claude/skills/ ディレクトリに展開してください。

ZIPをダウンロード

リポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。

git clone https://github.com/alirezarezvani/claude-skills/tree/main/engineering/skills/tech-debt-tracker # Copy SKILL.md to your .claude/skills/ directory

コピー コピー
クイックセットアップ: スキルフォルダを .claude/skills/ にコピーしてください。Claude はそのスキルを自動的に検出し、使用します。

関連スキル

algorithmic-art
更新された時間 2026年8月27日
receiving-code-review
更新された時間 2026年9月3日
senior-backend
更新された時間 2026年8月30日
systematic-debugging
更新された時間 2026年9月3日
OR