/unicorn-team:technical-debtfrom unicorn-team
Guides recognition, tracking, prioritization, and paydown of technical debt using a quadrant model and structured templates.
Ships in unicorn-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reckless Prudent
+---------------------+---------------------+
Deliberate | "We don't have | "We must ship |
| time for tests" | now and deal |
| [DANGEROUS] | with consequences"|
| | [STRATEGIC] |
+---------------------+---------------------+
Inadvertent | "What's a | "Now we know how |
| design pattern?" | we should have |
| [INCOMPETENCE] | done it" |
| | [LEARNING] |
+---------------------+---------------------+
| Quadrant | Action |
|---|---|
| Prudent + Deliberate | Target. Track and schedule paydown. |
| Inadvertent + Prudent | Acceptable. Convert to tracked item. |
| Reckless + Deliberate | Dangerous. Escalate; requires paydown plan before merge. |
| Reckless + Inadvertent | Unacceptable. Training issue, not debt. |
except: pass)technical_debt_item:
id: TD-042
type: deliberate # deliberate | inadvertent
quadrant: prudent-deliberate
location: src/auth/login.py:45-89
description: >
Hardcoded session timeout to 30 minutes. Should be
configurable per environment.
why_taken: >
Config system not ready; needed auth for demo.
impact:
- Cannot adjust without redeploy
- Different envs need different values
interest: >
~2 hours per incident, ~3 incidents/month = 72 hours/year
payoff_plan:
effort: 2 hours
tasks:
- Add timeout config to settings
- Update login.py to read config
- Add tests for timeout values
- Deploy to all environments
priority: high
created: 2025-01-15
owner: "@developer"
due_date: 2025-02-01
status: tracked # tracked | scheduled | in_progress | paid
Inline marker format: # TODO(TD-042): Hardcoded timeout, see debt tracker
Trigger: shortcut taken, suboptimal code found, surprising behavior, repeated patterns.
Classify immediately:
TODO(TD-XXX) commentAnnual Interest = Cost per Incident x Incidents per Year
| Frequency | Multiplier |
|---|---|
| Daily | x 365 |
| Weekly | x 52 |
| Monthly | x 12 |
| Quarterly | x 4 |
Examples:
Priority Score = Annual Interest / Payoff Effort
| Score | Priority | Payback Period |
|---|---|---|
| > 10 | HIGH | < 1 month |
| 3-10 | MEDIUM | 1-4 months |
| < 3 | LOW | > 4 months |
Examples:
Payment workflow:
debt/TD-042-descriptionstatus: paid, record actual_effortfix(TD-042): make session timeout configurableLeave the code better than you found it.
Small improvements (do these inline):
Large changes (separate commits):
grep -r "TODO\|FIXME\|HACK" src/ | grep -v "TD-[0-9]" # Untracked TODOs
bandit -r src/ # Security issues
pip list --outdated # Stale dependencies
| Don't Say | Do Say |
|---|---|
| "We have technical debt" | "This shortcut costs us 10 hours/month in bug fixes" |
| "We need to refactor" | "Paying this debt reduces deployment from 2h to 15min" |
| "The code is messy" | "New features take 3x longer; investing 1 week saves 2 weeks/quarter" |
| "We should rewrite it" | "Incremental fixes over 3 sprints eliminate 80% of incidents" |
See references/debt-communication.md for standup, sprint planning, and retrospective templates.
| Anti-Pattern | Fix |
|---|---|
| Debt Bankruptcy ("rewrite from scratch") | Incremental refactoring with tests |
| Hidden Debt (shortcuts without docs) | Document immediately, assign ID |
| Eternal TODOs (years-old comments) | Convert to tracked items or delete |
| Debt as Excuse ("can't add features") | Quantify impact, prioritize, schedule |
references/debt-examples.md - Before/after examples (TD-050, TD-051, TD-052)references/debt-communication.md - Team communication templatesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/code-readingStrategic code comprehension protocol for navigating existing codebases. ALWAYS trigger on "understand this code", "how does this work", "refactor", "before changing", "legacy code", "code review", "what does this do", "explain this codebase", "walk me through", "unfamiliar code", "read through". Use when exploring unfamiliar code, preparing to modify legacy systems, debugging complex issues, or conducting code reviews. Different from pattern-transfer which maps known solutions across domains -- this skill builds accurate mental models of existing code./domain-devopsGuides the user through containerization, CI/CD pipelines, Kubernetes deployments, observability, and infrastructure management. ALWAYS trigger on "dockerize", "CI/CD", "kubernetes", "deploy", "monitoring", "logging", "metrics", "helm", "infrastructure", "observability", "rollback", "scaling", "pipeline", "container", "k8s", "GitOps", "Dockerfile", "health check", "troubleshoot deployment". Use when containerizing applications, building pipelines, deploying services, setting up monitoring, or debugging infrastructure issues. Different from the DevOps agent (agents/devops.md) which handles orchestration and runbook execution rather than pattern guidance./estimationGuides the user through risk-based task estimation using decomposition, three-point estimates, and PERT formula. ALWAYS trigger on "estimate", "how long will this take", "time to complete", "sizing", "scope this", "effort estimate", "how many hours", "story points", "project timeline", "when will this be done", "cost estimate", "level of effort". Use when sizing any work item, feature, or project.npx claudepluginhub aj-geddes/unicorn-team --plugin unicorn-teamOther plugins' skills for the same job