tech-debt

tech-debt is a skill for Claude Code from pixel-cellar/Claude-Code-Game-Studios. It costs 0 tokens per session (1,002 once invoked), scanned A, original, MIT.

A skill for finding, classifying, prioritizing, and reporting technical debt—the unfinished cleanup and outdated code that make future changes harder.

In plain words
What is it for?
Use it to scan a codebase, add known debt, rank items by impact and effort, and produce a status report.
Why use it?
It turns scattered TODOs, deprecated code, duplication, complexity, and missing tests or documentation into a tracked work list.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to scan a codebase, add known debt, rank items by impact and effort, and produce a status report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pixel-cellar/claude-code-game-studios/tech-debt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pixel-cellar/Claude-Code-Game-Studios --skill tech-debt
Clone the repo
git clone --depth 1 https://github.com/pixel-cellar/Claude-Code-Game-Studios

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tech-debt

README.md
[![agentmods](https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/tech-debt/github.svg)](https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt)
Your own site
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/tech-debt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tech-debt

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixel-cellar/claude-code-game-studios/tech-debt"><img src="https://agentmods.dev/badge/skills/pixel-cellar/claude-code-game-studios/tech-debt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,002 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01002
Opus 5.5 $0.00000 $0.00401
Sonnet 5.5 $0.00000 $0.00200
Haiku 4.5 $0.00000 $0.00100

Measured 3mo ago against content hash d7a380f0acb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tech-debt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/tech-debt/SKILL.md · 75 lines

What it actually says

可以将翻译结果写入 .claude/skills/tech-debt/SKILL.md 吗?

---
name: tech-debt
description: "跟踪、分类和优先级排序代码库中的技术债务(Technical Debt)。扫描债务指标,维护债务登记册,并推荐偿还计划。"
argument-hint: "[scan|add|prioritize|report]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write
---
当此技能被调用时:

1. **解析子命令**(Subcommand):
   - `scan` — 扫描代码库中的技术债务指标
   - `add` — 手动添加新的技术债务条目
   - `prioritize` — 重新排列现有债务登记册的优先级
   - `report` — 生成当前债务状态的汇总报告

2. **对于 `scan`**:
   - 搜索代码库中的债务指标:
     - `TODO` 注释(统计并分类)
     - `FIXME` 注释(伪装成债务的 Bug)
     - `HACK` 注释(需要正规解决方案的临时变通)
     - `@deprecated` 标记
     - 重复的代码块(多个文件中的相似模式)
     - 超过 500 行的文件(潜在的上帝对象,God Object)
     - 超过 50 行的函数(潜在的高复杂度)
   - 对每个发现进行分类:
     - **架构债务(Architecture Debt)**:错误的抽象、缺失的模式、耦合问题
     - **代码质量债务(Code Quality Debt)**:重复、复杂度、命名、缺失类型
     - **测试债务(Test Debt)**:缺失的测试、不稳定的测试(Flaky Test)、未覆盖的边界情况
     - **文档债务(Documentation Debt)**:缺失的文档、过时的文档、未文档化的 API
     - **依赖债务(Dependency Debt)**:过时的包、废弃的 API、版本冲突
     - **性能债务(Performance Debt)**:已知的慢路径、未优化的查询、内存问题
   - 更新 `docs/tech-debt-register.md` 中的债务登记册

3. **对于 `add`**:
   - 提示输入:描述、类别、受影响的文件、预估修复工作量、不修复的影响
   - 追加到债务登记册

4. **对于 `prioritize`**:
   - 读取债务登记册
   - 按以下公式对每项评分:`(不修复的影响 * 遇到频率) / 修复工作量`
   - 按优先级分数重新排序登记册
   - 推荐应纳入下一个 Sprint 的条目

5. **对于 `report`**:
   - 读取债务登记册
   - 生成汇总统计:
     - 按类别统计的总条目数
     - 总预估修复工作量
     - 自上次报告以来新增 vs 已解决的条目
     - 趋势方向(增长 / 稳定 / 减少)
   - 标记在登记册中超过 3 个 Sprint 未处理的条目
   - 输出报告

### 债务登记册格式

```markdown
## 技术债务登记册
Last updated: [日期]
Total items: [N] | Estimated total effort: [T恤尺码总和]

| ID | Category | Description | Files | Effort | Impact | Priority | Added | Sprint |
|----|----------|-------------|-------|--------|--------|----------|-------|--------|
| TD-001 | [类别] | [描述] | [文件] | [S/M/L/XL] | [Low/Med/High/Critical] | [分数] | [日期] | [修复的 Sprint 或 "Backlog"] |

规则

  • 技术债务本身不是坏事 — 它是一种工具。登记册追踪的是有意识的决定。
  • 每条债务条目必须说明接受它的原因(截止日期、原型验证、信息缺失)
  • 每个 Sprint 至少应运行一次 scan 以捕获新增债务
  • 超过 3 个 Sprint 未采取行动的条目应予以修复,或有意识地接受并记录原因
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 75 lines · 0 tokens per session scan A d7a380f0acb9

Subscribe to this mod's changes

tech-debt is a skill published in the GitHub repository pixel-cellar/Claude-Code-Game-Studios (399 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,002 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

tech-debt compared with skills from other repositories

tech-debt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tech-debtpixel-cellar/Claude-Code-Game-StudiosSkill3998mo agoMITA0Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k3d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code