tech-debt
What it does
This skill audits a codebase for technical debt and sorts the problems by how much they matter. It is for engineering leads who need to decide what to refactor first.
When to use it
- ✓When you want to know which parts of the codebase are slowing the team down.
- ✓When you need a prioritized refactoring plan that fits alongside feature work.
- ✓When dependencies, tests or deployment processes are a growing source of trouble.
Skill link
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/tech-debt/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Audit our codebase for technical debt and give me a prioritized list I can take to planning.”
5 new skills a week. 1 minute to read.
How it works
The agent sorts debt into types such as code, architecture, tests, dependencies, documentation and infrastructure. It scores each item on impact, risk and effort, then produces a phased remediation plan.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Tech Debt Management
Systematically identify, categorize, and prioritize technical debt.
Categories
| Type | Examples | Risk |
|---|---|---|
| Code debt | Duplicated logic, poor abstractions, magic numbers | Bugs, slow development |
| Architecture debt | Monolith that should be split, wrong data store | Scaling limits |
| Test debt | Low coverage, flaky tests, missing integration tests | Regressions ship |
| Dependency debt | Outdated libraries, unmaintained dependencies | Security vulns |
| Documentation debt | Missing runbooks, outdated READMEs, tribal knowledge | Onboarding pain |
| Infrastructure debt | Manual deploys, no monitoring, no IaC | Incidents, slow recovery |
Prioritization Framework
Score each item on:
- Impact: How much does it slow the team down? (1-5)
- Risk: What happens if we don't fix it? (1-5)
- Effort: How hard is the fix? (1-5, inverted — lower effort = higher priority)
Priority = (Impact + Risk) x (6 - Effort)
Output
Produce a prioritized list with estimated effort, business justification for each item, and a phased remediation plan that can be done alongside feature work.
FAQ
How are items ranked?
Each item is scored for impact, risk and effort, and the combined score sets its priority.
What types of debt are covered?
Code, architecture, test, dependency, documentation and infrastructure debt.
Can the plan run alongside new features?
Yes. The plan is built to be done alongside feature work.
Details
Original description by the author
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
repo: TencentCloud/Octop
Popularity
- GitHub stars
- 11k
- Ranking position
- #11650
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
polite-greeting
11kHelps your agent open a conversation with a short, friendly and polite greeting, then move quickly to what you need.
medical-source-failover
11kHelps your agent find trusted Chinese medical guidelines, drug information and public health documents when a main source is blocked, slow or hard to read.
cowork-plugin-customizer
11kHelps your agent tailor an existing Claude plugin to an organization's tools and workflows, by replacing placeholders and adjusting skills and settings.
create-cowork-plugin
11kHelps your agent build a new Claude plugin from scratch through guided questions, covering skills, agents, hooks and a ready-to-install package.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.