agentleFS
Vimalk0703Vimalk0703/shipworthy/skills/operations/tech-debt-tracking/SKILL.md

tech-debt-tracking

Skill6 starsChanged 8 months agoMITView on GitHub

Track shortcuts with justifications, prevent debt accumulation, and surface outstanding debt at session start.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every shortcut has a cost.

    line 11
  2. Very specific:

    Add an entry to .shipworthy/tech-debt.md:

    line 25
  3. Distinctive:

    Before starting a new feature in the same area

    line 47
  4. Distinctive:

    When the debt is causing real problems (bugs, slowness, confusion)

    line 48
  5. Distinctive:

    When the effort to work around the debt exceeds the effort to fix it

    line 50
  6. Distinctive:

    Not tracking debt at all ("we'll remember")

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tech Debt Tracking

Purpose

Every shortcut has a cost. This skill ensures shortcuts are conscious decisions with documented justifications, not accidents that compound silently.

When to Track

  • Skipping tests for time pressure
  • Using a workaround instead of a proper fix
  • Hardcoding a value that should be configurable
  • Writing a TODO comment
  • Bypassing a quality gate with justification
  • Using a deprecated API or pattern
  • Choosing a quick solution over the correct one

How to Track

Add an entry to .shipworthy/tech-debt.md:

## [Short Description]
- **Date**: YYYY-MM-DD
- **Severity**: low | medium | high | critical
- **Effort to fix**: hours | days | weeks
- **Justification**: Why was this shortcut taken?
- **Impact if not fixed**: What happens if this stays forever?
- **Files affected**: List specific files

Rules

  1. Every shortcut requires justification — "I didn't have time" is a valid justification, but document it
  2. No silent TODOs — every TODO in code must have a corresponding entry in tech-debt.md
  3. Review at session start — the session-start hook surfaces the debt count
  4. Debt has a severity — critical debt should be fixed before adding new features
  5. Debt has a shelf life — if it's been there >30 days with no plan to fix, escalate the conversation

When to Pay Down Debt

  • Before starting a new feature in the same area
  • When the debt is causing real problems (bugs, slowness, confusion)
  • During dedicated refactoring time
  • When the effort to work around the debt exceeds the effort to fix it

Anti-Patterns

  • Tracking debt but never paying it down
  • Not tracking debt at all ("we'll remember")
  • Treating all debt as equal (prioritize by severity and impact)
  • Using debt tracking as an excuse to write sloppy code ("I'll track it as debt")

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.