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

zero-tech-debt

できること

このスキルは、AIに互換性のための名残や使われなくなった経路を取り除き、最終的な設計を中心に変更を作り直させます。パッチの上にさらにパッチを重ねるのではなく、すっきりした結果を求める開発者に向けたものです。

使う場面

  • ✓一時的な修正が増えて変更が乱雑になり、より整理されたものにしたいとき。
  • ✓もう利用者のいない古いモード、フラグ、フォールバックを取り除きたいとき。
  • ✓機能をリファクタリングし、コードを最終的な製品の形に合わせたいとき。

スキルのリンク

https://github.com/trycompai/crm/blob/release/.agents/skills/zero-tech-debt/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“この変更を、最終的な設計が最初から存在していたかのように作り直し、古いバージョンの名残を取り除いてください。”

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

仕組み

このスキルは、まず目指す最終状態を示し、まだ呼び出し元がある古い経路を確認して、呼び出しのないものを削除します。その後、新しい動作をテストします。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Zero Tech Debt

Rework the change from the intended end state, not from the historical path that produced the current patch.

Steps

  1. State the intended end state in one or two sentences.

  2. Search for real callers before preserving compatibility. If a mode, prop, wrapper, route alias, or fallback has no current caller, delete it.

  3. Reshape around the final product surface. Prefer one clear component or flow over mode flags. Split only when it creates an obvious boundary such as state, layout, controls, or domain commands.

  4. Move shared rules to one place. Feature flags, permissions, route gating, URL state, and command naming should not be duplicated across pages or hidden in view components.

  5. Verify the intended flow. Test the new behavior and any deleted assumptions that affect navigation, permissions, or persisted state.

Rules

  • Optimize for the code that should exist, not the smallest diff from the old shape.
  • Delete dead compatibility paths instead of making them better.
  • Do not invent a generic framework for one feature.
  • Keep the refactor scoped to what makes the final shape coherent.
  • Prefer names that describe product intent over implementation history.
よくある質問

AIはまだ使われているコードを削除しますか?

スキルは、まず実際の呼び出し元を検索し、現在呼び出しのない部分だけを削除するよう定めています。

1つの機能のために新しいフレームワークを追加しますか?

いいえ。スキルは、1つの機能のために汎用的なフレームワークを作ることを戒めています。

変更は小さく保たれますか?

いいえ。スキルは、最小の差分ではなく、あるべきコードを目指すことを求めています。

詳細

作者による元の説明

Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.

repo: trycompai/crm

人気

GitHubのスター
12k
ランキング
#11529
ライセンス
MIT
更新日
2026/11/1

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

0

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

コメント

  • …

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

似ているスキル