omh-tech-debt-audit
What it does
This skill audits a codebase for accumulated technical debt and ranks what to fix first. It is for developers and team leads planning cleanup work.
When to use it
- ✓When you want to know which technical debt to fix first with limited time.
- ✓When you need a list of quick wins for code cleanup.
- ✓When you want to track whether debt items were fixed since the last audit.
Skill link
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-tech-debt-audit/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 tech debt and tell me what to fix first, since we have about two weeks for cleanup.”
5 new skills a week. 1 minute to read.
How it works
The agent looks at the code, cites specific files and lines, and ranks problems by severity and effort. On a rerun, it marks each item as resolved, new, or still open.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Tech Debt Audit
This is an OMH tech-debt-audit workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
tech-debt-audit exists so accumulated debt becomes a ranked, reconcilable ledger instead of a one-off complaint: findings cite file:line, severity and effort make the trade-off explicit, quick wins are separated from big fixes, and reruns mark what was resolved instead of rediscovering it.
Do Not Use When
- The target is one diff, PR, or claim rather than the codebase's accumulated state; use
omh-code-review. - The user wants the debt removed now, behavior preserved; use
omh-ai-slop-cleanerfor deletion-first cleanup. - A boundary-changing fix from the ledger needs its execution shaped into phases; use
omh-refactor-plan. - The question is release risk for a specific deploy rather than source quality; use
omh-production-audit.
Examples
Good example:
- Prompt: Audit our tech debt and tell me what to fix first - we have maybe two weeks of cleanup budget.
- Expected behavior: Orientation from manifests and churn, dimension-by-dimension findings with file:line citations, the severity-by-effort ledger with top fixes and quick wins sized to the budget, and the looks-bad-but-fine list.
- Why: A budgeted what-to-fix-first question is exactly the ranked ledger this workflow produces.
Bad example:
- Prompt: This module is a mess, rewrite it properly.
- Expected behavior: Refuse the rewrite framing: audit the module into ledger findings with bounded fixes, or route a decided restructure to
refactor-plan. - Why: A rewrite recommendation is the failure mode the ledger exists to replace with bounded, ranked fixes.
Completion Checklist
- Orientation evidence is observed: manifests, churn ranking, and largest files are named, not assumed.
- Every finding has id, dimension, file:line, severity, effort, and a bounded recommendation.
- Quick wins and top fixes are ranked, and the looks-bad-but-is-actually-fine section is present.
- On rerun, every prior finding is reconciled RESOLVED, CARRIED, or superseded - none silently dropped.
Recovery Notes
- If the stack is unrecognized, orient from the manifests first and say which dimensions lack detection commands rather than guessing.
- If a finding cannot be cited to file:line, demote it to an open question and keep it out of the ranked table.
- If the previous ledger's ids no longer match the tree, map them by dimension plus path before declaring anything RESOLVED.
When to Use
Use when the codebase's accumulated debt should be measured and ranked as a ledger - findings with file:line, severity, and effort, quick wins separated from big fixes - rather than judged as a diff or cleaned up on the spot.
Strong routing signals: `tech-debt-audit`, `tech debt`, `tech debt audit`, `technical debt`, `technical debt audit`, `tech debt ledger`, `debt ledger`, `audit our tech debt`, `tech debt report`, `code debt audit`, `where is our tech debt`, `improve the codebase architecture`, `improve the architecture of this repo`, `deepening opportunities in this codebase`, `shallow modules in this codebase`, `기술부채`, `기술 부채`, `기술부채 감사`, `기술부채 감사해줘`, `기술부채 점검`, `기술부채 장부`, `부채 원장`, `코드베이스 아키텍처 개선해줘`, `코드 아키텍처 개선해줘`, `техдолг`, `технический долг`, `аудит техдолга`, `аудит технического долга`
Catalog Metadata
Category: maintenance
Phase: tech-debt-audit
Quality tier: finding-evidence-gated
Reasoning demand: heavy
Quality bar:
- Orient before auditing: read the manifests, rank churn from the git log, and name the largest and most-changed files - observed evidence, never memory of the tree.
- Audit dimension by dimension from the named list - architectural decay, consistency rot, type and contract gaps, test debt, dependency and configuration debt, performance and resource debt, error-handling and observability debt, security hygiene, documentation drift; the full contract is
omh-tech-debt-audit/references/debt-dimensions.md. - Every finding row carries a stable id, its dimension, a file:line citation, a severity, an effort class (S/M/L), and a bounded recommendation - never a rewrite.
- Close with the mandatory looks-bad-but-is-actually-fine section: deliberate patterns that pattern-match to debt stay off the ledger, with the reason recorded.
- For an architecture-improvement or deepening request, load
omh-tech-debt-audit/references/architecture-deepening.md: candidates are arch
FAQ
Does it fix the debt for me?
No. It ranks the work and lists quick wins, and any changes are a separate step.
Will it review one pull request?
No. A code review skill is better for a single change.
Is it the same as a restructuring plan?
No. A refactor plan handles one boundary change, while this ranks the whole codebase.
Details
Original description by the author
[omh] Accumulated tech debt or architecture deepening to rank: build the severity-by-effort debt ledger from observed repo evidence - orient, audit the named dimensions with file:line citations, rank fixes and quick wins - and reconcile RESOLVED/NEW/CARRIED on rerun. Use when the user says: tech-debt-audit, tech debt, tech debt audit, technical debt, technical debt audit, tech debt ledger, debt ledger, audit our tech debt.
repo: rlaope/oh-my-hermes
Popularity
- GitHub stars
- 5.1k
- Ranking position
- #15171
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
omh-accessibility-audit
5.1kHelps your agent check a screen or flow for accessibility gaps, such as keyboard use, screen reader labels, contrast, and touch target size.
omh-adversarial-consensus
5.1kHelps your agent attack a technical proposal from several independent angles before you commit to it, then sums up what survives.
omh-agent-debug
5.1kHelps your agent work out why another AI agent is stuck, looping, or drifting, and suggests the smallest safe way to recover.
omh-agent-instructions
5.1kHelps your agent write or update the instruction file, such as AGENTS.md or CLAUDE.md, that tells AI tools how to work in a project.
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.