Headcount

Skills / Technology / Technical debt management

Skill

Technical debt management

Makes technical debt visible and decidable — distinguishing real debt from mess, quantifying its cost, and arguing for remediation in business terms.

When it loads

Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.

Makes technical debt visible and decidable — distinguishing real debt from mess, quantifying its cost, and arguing for remediation in business terms. Use this to assess and prioritize debt, decide whether to fix or live with something, justify remediation work to non-engineers, or plan a migration off a system nobody wants to touch.

Add it to your assistant

This skill ships in the Technology department, with 18 others.

Claude Code

/plugin marketplace add cbrock84/headcount
/plugin install technology@headcount

ChatGPT and Codex

Add Headcount: Technology to ChatGPT from the ChatGPT plugin directory.

GitHub Copilot CLI

copilot plugin marketplace add cbrock84/headcount
copilot plugin install technology@headcount

Cursor

The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/technology into ~/.cursor/plugins/local/ and reload the window.

Gemini CLI

Gemini CLI installs one skill at a time:

gemini skills install https://github.com/cbrock84/headcount.git --path plugins/technology/skills/technical-debt-management

The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.

What the skill tells the assistant

The full text, as it installs. View the source on GitHub.

Debt is a deliberate trade: taking on future cost to move faster now. Most of what gets called debt is not that — it is mess, which was never a decision, or drift, where the world moved and the code did not. The distinction matters because the arguments and remedies differ.

Classify before prioritizing

  • Deliberate debt — a known shortcut with a reason. Has a principal and interest. Legitimate.
  • Mess — nobody chose it; it accumulated. No trade was made, so there is nothing to defend.
  • Drift — the code was right for a context that has changed. Neither shortcut nor carelessness.
  • Not debt at all — code someone dislikes, or would have written differently. Taste is not debt, and rewriting on taste is how remediation budgets get spent with nothing to show.

Cost is a rate, not a total

Debt matters proportional to how often you pay it. Ugly code in a module nobody has touched in three years costs nothing; a moderate awkwardness in the file every feature crosses costs continuously.

Measure by contact: change frequency, how long changes there take relative to elsewhere, how often changes there cause incidents, and how many people avoid the area. Overlay change frequency on complexity and the priorities become obvious and defensible — the expensive parts are where both are high, which is rarely where intuition points.

Argue in the language of the decision-maker

"The code is bad" loses to any feature request. What wins is the rate: this area consumes a disproportionate share of delivery time, causes a disproportionate share of incidents, and the gap widens.

Frame remediation as capacity recovery with a payback period — the same terms as finance:capital-allocation, which is where any large migration will eventually be judged.

Remediate incrementally

Large rewrites fail at a well-documented rate: they take longer than estimated, deliver no value until the end, and are canceled halfway leaving two systems. Prefer strangling the old system gradually behind a stable interface, so value lands continuously and the work can stop at any point without leaving a mess.

Improve opportunistically where you are already working — the code you are touching anyway is the cheapest code to improve, and it is by definition the code that is being touched.

Sources

references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.

Never

  • Present debt as a quality argument to someone accountable for delivery dates.
  • Prioritize by how bad code looks rather than how often it is paid for.
  • Start a rewrite with no value delivered until completion.
  • Classify taste as debt.

Company context

Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.

Other departments

A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.

Files it ships with

Loaded only when the skill calls for them.

Sources it checks against

Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.

More in Technology