Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Tech Debt Audit

Runs a 9-dimension, file-cited technical debt audit and writes a prioritized TECH_DEBT_AUDIT.md report.

Dev & CodingIntermediate67,5315,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 log churn 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:col citation, 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

  1. Handover day one: ask for a "tech debt audit" and get high-churn × large-file hot zones mapped before you commit to any change.
  2. Refactor planning: pull the Top 5 impact/effort items from the findings table straight into next sprint's backlog.
  3. Friday cleanup: filter the quick-wins checklist for empty catch blocks, as any escapes, and stale TODO/HACK markers and clear them in one pass.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the repository into a temp folder: git clone https://github.com/code-yeongyu/oh-my-openagent /tmp/omo
  3. Make sure your skills folder exists: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r /tmp/omo/.agents/skills/tech-debt-audit ~/.claude/skills/
  5. Recommended: install ast-grep so the structural searches work — brew install ast-grep or npm i -g @ast-grep/cli.
  6. Restart Claude Code and open the project you want audited.
  7. Ask something like "run a tech debt audit on this codebase", then review the generated TECH_DEBT_AUDIT.md in the repo root.
  8. Optional: configure the codegraph MCP server in .mcp.json for call-graph and impact analysis. Without it the skill still runs using standard grep/ast-grep passes.
View source on GitHubLicense: NOASSERTION