Tech Debt Skill
SkillDocs & knowledgeYour coding agent gains a ready-made skill for technical debt work, drawn from a collection of 380+ skills built for engineering, marketing, product, compliance, and business tasks. tech-debt is one skill in that collection, which also includes 30+ agents, 70+ custom commands, and customizable references and scripts. The collection works with Claude Code, Codex, Gemini CLI, Cursor, and 8 more coding agents.
Available today. Use it from your connected AI after setup.
No other account needed.
After adding tech-debt, bring technical debt tasks to your coding agent and work with the skill as provided. When you need more, add other skills, agents, or custom commands from the same collection.
Then ask your AI: use the Tech Debt Skill skill
What your AI can do with it
- Equip your coding agent with a ready-made skill for technical debt work
- Pick from 380+ skills across engineering, marketing, product, compliance, and business tasks
- Use the same skills with Claude Code, Codex, Gemini CLI, Cursor, and 8 more coding agents
- Pair skills with 30+ agents and 70+ custom commands from the collection
- Customize skills using the included references and scripts
What this skill tells your AI
The instructions your AI receives, as published by agentty-xyz/agentty in skills/tech-debt/SKILL.md and read by ahel’s review.
Use this skill when asked to find tech debt, stale patterns, or maintenance issues in a codebase.
The user may scope the sweep to specific directories or modules (e.g., "sweep
crates/agentty/src/app"). When a scope is given, restrict traversal to those paths.
When no scope is given, sweep the full codebase.
Workflow
-
Read Project Context
- Read the root
AGENTS.mdfor project conventions, architecture references, and style rules. - Identify which directories and modules are relevant to the sweep (respecting any user-provided scope).
- Read the root
-
Traverse Target Directories
- Navigate into each target directory and read the nearest available
AGENTS.mdfor local conventions, entry points, and change guidance. - Use the architecture docs and module routers to prioritize which files and modules to inspect when no deeper local guide exists.
- Navigate into each target directory and read the nearest available
-
Analyze for Tech Debt
- TODOs and FIXMEs: Find
TODO,FIXME,HACK, andXXXcomments that indicate deferred work. - Outdated Patterns: Identify deprecated API usage, legacy code paths retained without justification, and patterns that conflict with current project conventions.
- Inconsistent Error Handling: Flag mixed error handling strategies (e.g.,
unwrap()alongside properResultpropagation), swallowed errors, and missing error context. - Missing Documentation: Note public types, traits, and functions lacking doc comments, especially in areas with complex logic.
- Stale Dependencies: Look for pinned dependency versions that lag behind current releases, unused dependencies, or feature flags that are no longer needed.
- Dead Code: Identify unused functions, modules, imports, or feature gates that can be removed.
- Test Gaps: Flag critical logic paths that lack test coverage or tests that are
marked
#[ignore]. - Convention Violations: Check code against the project conventions discovered in Step 1 (e.g., naming rules, module layout, import style, constructor patterns) and flag deviations.
- TODOs and FIXMEs: Find
-
Return Findings as a Task List
- Structure your answer as a prioritized markdown task list.
- Use the format below for each finding.
Task List Format
# Tech Debt Report
## Summary
[Brief overview: total finding count, highest-risk area, and overall codebase health impression.]
## Critical
- [ ] **[Title]** — `[file/module scope]`
[Description of the issue and why it is critical.]
## High
- [ ] **[Title]** — `[file/module scope]`
[Description of the issue and recommended action.]
## Medium
- [ ] **[Title]** — `[file/module scope]`
[Description of the issue and recommended action.]
## Low
- [ ] **[Title]** — `[file/module scope]`
[Description of the issue and recommended action.]
Priority Guidelines
| Priority | Criteria |
|---|---|
| Critical | Causes runtime failures, data loss, or blocks other work. |
| High | Significant maintenance burden, outdated patterns actively causing confusion, or missing error handling in critical paths. |
| Medium | Style inconsistencies, missing documentation, minor dead code, or deferred TODOs with clear scope. |
| Low | Cosmetic issues, minor naming improvements, or optional cleanup with no immediate impact. |
Signals
- GitHub stars
- 36
- Forks
- 3
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
tech-debt- Source
- github.com/agentty-xyz/agentty