本文へスキップ
Skillpedia
一般的なプログラミング5.1k · #15171

omh-tech-debt-audit

できること

このスキルは、コードベースに蓄積した技術的負債を調べ、先に直すべきものの順位を示します。清掃の作業を計画する開発者やチームリーダーが対象です。

使う場面

  • ✓限られた時間で、どの技術的負債から直すべきか知りたいとき。
  • ✓コードの清掃で、手早く効果の出る改善の一覧が必要なとき。
  • ✓前回の確認以降に、負債の項目が直されたかを追跡したいとき。

スキルのリンク

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-tech-debt-audit/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-tech-debt-audit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“技術的負債を確認し、先に直すべきものを教えてください。清掃に使える時間は約2週間です。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはコードを確認し、具体的なファイルや行を挙げ、問題を重大度と作業量で順位付けします。再実行の際には、各項目を解決済み、新規、未解決のいずれかに印を付けます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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-cleaner for 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
よくある質問

負債を私の代わりに直しますか?

いいえ。作業に順位を付け、手早く効果の出る改善を一覧にするだけです。変更は別の作業です。

プルリクエストを一つレビューしますか?

いいえ。一つの変更のレビューには、コードレビュー用のスキルが適しています。

再構成の計画と同じですか?

いいえ。再構成の計画は一つの境界の変更を扱い、このスキルはコードベース全体に順位を付けます。

詳細

作者による元の説明

[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

人気

GitHubのスター
5.1k
ランキング
#15171
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル