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 1mo 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 1mo 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. 1mo 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 (361 stars, last pushed 6mo 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

Other skills, from other repositories

bug-triage

Re-evaluate open bugs — priority vs severity, assign to sprints, surface systemic trends. Run when the count grows.

Donchitos/Claude-Code-Game-Studios · 30 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

triage-issue-reports

Triage Slack issue reports with one thread-only verdict, evidence review, cause-aware routing, tracker dedupe, and fail-closed ticket creation. Use only from the configured Benny triage automation.

backnotprop/pstack · 46 tokens

triage-issue

Intelligently triage bug reports and error messages by searching for duplicates in Jira and offering to create new issues or add comments to existing ones. When an agent needs to: (1) Triage a bug report or error message, (2) Check if an issue is a duplicate, (3) Find similar past issues, (4) Create a new bug ticket…

atlassian/atlassian-mcp-server · 116 tokens

moai-lane-watchdog

One lane stall watchdog iteration: measure lane progress on three channels, classify the stall cause, apply the remedy or resolve the judgment through the decision ladder — instead of waiting on a reply — then record the outcome and report. Reads the unified --auto doctrine at…

modu-ai/moai-adk · 86 tokens

investigation

Create an investigation ticket + live-doc for sustained root-cause work (retros, bug archaeology, regression hunts).

me2resh/apexyard · 26 tokens