Tech Debt Audit
Runs a 9-dimension, file-cited technical debt audit and writes a prioritized TECH_DEBT_AUDIT.md report.
Dev & CodingIntermediate★ 67,531⑂ 5,507AI score 8/10Last updated: Aug 9, 2026
What it does
Sweeps a repository and grades technical debt across 9 dimensions, then writes a TECH_DEBT_AUDIT.md artifact at the repo root.
- Dimensions: architectural decay, consistency rot, type/contract debt, test debt, dependency & config debt, performance & resource hygiene, error handling & observability, security hygiene, documentation drift.
- Tooling:
grep,glob,ast-grep (sg)structural patterns,git logchurn analysis, LSP diagnostics, optional CodeGraph MCP for callers/callees and blast-radius checks, plus parallel sub-agents on large codebases. - Report shape: executive summary, architectural mental model, findings table (ID / category / file:line / severity / effort hours / recommendation), Top 5 priorities by impact-to-effort, quick wins under 30 minutes, a "Looks Bad But Is Fine" section, and open questions.
- Every concrete finding must carry a
file:line:colcitation, which keeps output grounded instead of hand-wavy.
Who it's for
- Engineers inheriting an unfamiliar or legacy codebase who need a fast health read.
- Tech leads building a refactor backlog or quarterly cleanup plan.
- Small teams that want a repeatable architecture/code-quality review ritual.
- Open-source contributors mapping a repo before touching it.
Examples
- Handover day one: ask for a "tech debt audit" and get high-churn × large-file hot zones mapped before you commit to any change.
- Refactor planning: pull the Top 5 impact/effort items from the findings table straight into next sprint's backlog.
- Friday cleanup: filter the quick-wins checklist for empty catch blocks,
as anyescapes, and staleTODO/HACKmarkers and clear them in one pass.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .agents/skills/tech-debt-audit folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/tech-debt-audit/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/code-yeongyu/oh-my-openagent /tmp/omo && mkdir -p ~/.claude/skills && cp -r /tmp/omo/.agents/skills/tech-debt-audit ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository into a temp folder:
git clone https://github.com/code-yeongyu/oh-my-openagent /tmp/omo - Make sure your skills folder exists:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r /tmp/omo/.agents/skills/tech-debt-audit ~/.claude/skills/ - Recommended: install
ast-grepso the structural searches work —brew install ast-grepornpm i -g @ast-grep/cli. - Restart Claude Code and open the project you want audited.
- Ask something like "run a tech debt audit on this codebase", then review the generated
TECH_DEBT_AUDIT.mdin the repo root. - Optional: configure the
codegraphMCP server in.mcp.jsonfor call-graph and impact analysis. Without it the skill still runs using standard grep/ast-grep passes.
View source on GitHub ↗License: NOASSERTION