Agent Skillsnearai/ironclaw › tech-debt-tracker

tech-debt-tracker

GitHub

用于检测、追踪和记录技术债务的助手。支持从对话、PR审查中被动提取或显式捕获债务项,提供清单查看、状态更新及转化为修复承诺的功能,帮助团队管理代码质量与重构计划。

skills/tech-debt-tracker/SKILL.md nearai/ironclaw

Trigger Scenarios

用户提及技术债相关关键词 需要查看或列出技术债务清单 标记某项技术债务已解决 将技术债务提升为修复任务

Install

npx skills add nearai/ironclaw --skill tech-debt-tracker -g -y
More Options

Use without installing

npx skills use nearai/ironclaw@tech-debt-tracker

指定 Agent (Claude Code)

npx skills add nearai/ironclaw --skill tech-debt-tracker -a claude-code -g -y

安装 repo 全部 skill

npx skills add nearai/ironclaw --all -g -y

预览 repo 内 skill

npx skills add nearai/ironclaw --list

SKILL.md

Frontmatter
{
    "name": "tech-debt-tracker",
    "version": "0.1.0",
    "activation": {
        "tags": [
            "commitments",
            "developer",
            "tech-debt"
        ],
        "keywords": [
            "tech debt",
            "technical debt",
            "hack",
            "hacky",
            "refactor later",
            "fixme",
            "workaround",
            "shortcut",
            "should refactor",
            "bandaid",
            "temporary fix",
            "show tech debt",
            "debt backlog"
        ],
        "patterns": [
            "(?i)(this|that) is (a |kind of )?(hack|workaround|bandaid|band-aid|shortcut|kludge)",
            "(?i)(we |I )should (refactor|clean up|rewrite|fix) (this|that) (later|eventually|someday)",
            "(?i)(show|list|review) (tech )?debt",
            "(?i)add.*tech ?debt"
        ],
        "max_context_tokens": 1200
    },
    "description": "Detect and track technical debt from conversation and PR review comments. Resurface in weekly retros, promote to commitments when ready to fix."
}

Tech Debt Tracker

Track technical debt from conversation and PR review comments. Debt items live in projects/commitments/tech-debt/ and are resurfaced weekly.

Mode A: Passive detection

When the user says something implying tech debt ("this is a hack but it works", "we should really refactor the auth module", "adding another TODO"), silently extract it.

Action:

  1. Check for duplicates via memory_search in projects/commitments/tech-debt/.
  2. Write to projects/commitments/tech-debt/<slug>.md:
---
type: tech-debt
detected_at: <today YYYY-MM-DD>
repo: <current repo context if known, else null>
severity: <high|medium|low>
category: <refactor|performance|security|testing|documentation|architecture>
source: conversation
source_pr: null
---
# <Brief title>
<What the debt is and why it exists.>

## Context
<What prompted the shortcut — deadline, complexity, missing knowledge.>

## Proposed fix
<What a proper fix would look like, if discussed.>

Severity rules:

  • high: security shortcuts, data integrity risks, architectural violations
  • medium: code quality, missing tests, poor abstractions
  • low: style issues, minor workarounds, documentation gaps
  1. At a natural pause: "Tracked tech debt: ."

Do NOT interrupt conversation flow.

Mode B: PR review scan (used by triage mission)

When the triage mission processes recently merged PRs, it should scan review comments for tech-debt patterns:

  • "can be addressed in follow-up work"
  • "not blocking but should fix later"
  • "TODO: address in next PR"
  • "leaving for now", "good enough for now"
  • "nit: ... (not blocking)"
  • "tech debt", "hack", "workaround" in review comments

For each match, create a tech-debt item with source: pr-review and source_pr: owner/repo#123.

Mode C: Explicit capture

User says: "add tech debt: the caching layer needs TTL eviction."

Write directly to projects/commitments/tech-debt/, confirm briefly.

Mode D: Listing

User says: "show tech debt" or "debt backlog"

Action:

  1. memory_tree("projects/commitments/tech-debt/", depth=1) — list files (skip README.md)
  2. memory_read each for title, severity, detected_at, repo, source
  3. Display grouped by severity, then age:
## Tech Debt Backlog

### High Severity
- **<title>** (repo: <repo>, <N> days old, source: <conversation|PR #X>) — <category>

### Medium Severity
- ...

### Low Severity
- ...

---
<count> total. <count> chronic (30+ days).
Say "resolve <title>" to mark fixed, or "promote <title>" to create a commitment.
For large items, use `/plan <description>` to create a structured fix plan.

Mode E: Resolution

User says: "resolved the caching TTL debt"

Move to projects/commitments/resolved/ with original type preserved. Confirm.

Mode F: Promotion to commitment

User says: "let's fix the auth refactor" or "promote the caching debt"

Create commitment in projects/commitments/open/ with tags: [tech-debt] and resolution_path: agent_can_handle if it's a code task. For complex items, suggest: "This looks like a multi-step refactor. Use /plan <description> to create a structured fix plan."

Filename conventions

Slugify: lowercase, hyphens, max 50 chars. Prefix with repo slug if known:

  • "Auth module needs refactor" in nearai/ironclaw → nearai-ironclaw-auth-refactor.md
  • Generic debt → caching-ttl-eviction.md

Version History

  • 5380a32 Current 2026-08-20 07:10

Same Skill Collection

.claude/skills/architecture-video/SKILL.md
.claude/skills/ironclaw-reborn-architecture-review/SKILL.md
.claude/skills/ironclaw-reborn-orientation/SKILL.md
.claude/skills/ironclaw-reborn-skill-maintainer/SKILL.md
.claude/skills/ironclaw-reborn-testing/SKILL.md
.claude/skills/mintlify-docs/SKILL.md
.claude/skills/railway-test/SKILL.md
.claude/skills/reborn-extension-surfaces/SKILL.md
.claude/skills/reborn-feature/SKILL.md
.claude/skills/thermo-nuclear-code-quality-review/SKILL.md
docs/internal/archived-skills/ceo-setup/SKILL.md
docs/internal/archived-skills/code-review/SKILL.md
docs/internal/archived-skills/commitment-setup/SKILL.md
docs/internal/archived-skills/content-creator-setup/SKILL.md
docs/internal/archived-skills/developer-setup/SKILL.md
docs/internal/archived-skills/github-workflow/SKILL.md
docs/internal/archived-skills/github/SKILL.md
docs/internal/archived-skills/linear/SKILL.md
docs/internal/archived-skills/llm-council/SKILL.md
docs/internal/archived-skills/local-test/SKILL.md
docs/internal/archived-skills/new-project/SKILL.md
docs/internal/archived-skills/parallel-pr-review/SKILL.md
docs/internal/archived-skills/plan-mode/SKILL.md
docs/internal/archived-skills/portfolio/SKILL.md
docs/internal/archived-skills/project-setup/SKILL.md
docs/internal/archived-skills/trader-setup/SKILL.md
docs/internal/archived-skills/web-ui-test/SKILL.md
skills/coding/SKILL.md
skills/commitment-digest/SKILL.md
skills/commitment-triage/SKILL.md
skills/decision-capture/SKILL.md
skills/delegation-tracker/SKILL.md
skills/delegation/SKILL.md
skills/idea-parking/SKILL.md
skills/product-prioritization/SKILL.md
skills/qa-review/SKILL.md
skills/review-checklist/SKILL.md
skills/review-readiness/SKILL.md
skills/routine-advisor/SKILL.md
skills/security-review/SKILL.md
skills/commit/SKILL.md

Metadata

Files
0
Version
5380a32
Hash
c2c1cc39
Indexed
2026-08-20 07:10

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 21:34
浙ICP备14020137号-1 $mapa de visitantes$