ponytail-debt

作成者: dietrichgebert

Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked instead of rotting into "later means never". Use when the user says "ponytail debt", "/ponytail-debt", "what did ponytail defer", "list the shortcuts", "ponytail ledger", or "what did we mark to do later". One-shot report, changes nothing.

npx skills add https://github.com/dietrichgebert/ponytail --skill ponytail-debt

Every deliberate ponytail shortcut is marked with a ponytail: comment naming its ceiling and upgrade path. This collects them into one ledger so a deferral can't quietly become permanent.

Scan

Grep the repo for comment markers, skipping node_modules, .git, and build output:

grep -rnE '(#|//) ?ponytail:' . (add other comment prefixes if your stack uses them)

Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger.

Output

One row per marker, grouped by file:

<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.

The convention is ponytail: <ceiling>, <upgrade path>, so pull the ceiling and the trigger straight from the comment. Want an owner per row too? add git blame -L<line>,<line>.

Flag the rot risk: any ponytail: comment that names no upgrade path or trigger gets a no-trigger tag, those are the ones that silently rot.

End with <N> markers, <M> with no trigger. Nothing found: No ponytail: debt. Clean ledger.

Boundaries

Reads and reports only, changes nothing. To persist it, ask and it writes the ledger to a file (e.g. PONYTAIL-DEBT.md). One-shot. "stop ponytail-debt" or "normal mode" to revert.

dietrichgebertのその他のスキル

ponytail
dietrichgebert
動作する最も怠惰な解決策を強制し、最もシンプルで最短、最小限のものを選びます。すべてを見てきたシニア開発者のように振る舞います。タスク自体が本当に必要かどうか疑問視し(YAGNI)、カスタムコードより標準ライブラリを、依存関係よりネイティブプラットフォーム機能を、50行より1行を優先します。強度レベルをサポート:ライト、フル(デフォルト)、ウルトラ。ユーザーが「ponytail」「be lazy」「lazy mode」「simplest solution」「minimal solution」「yagni」「do less」などと言ったときに使用します。
developmentcode-review
ponytail-review
dietrichgebert
コードレビューは過剰エンジニアリングにのみ焦点を当てます。削除すべきものを見つけます:再発明された標準ライブラリ、不要な依存関係、推測による抽象化、無駄な柔軟性。発見ごとに1行:場所、削除対象、代替手段。ユーザーが「過剰エンジニアリングをレビューして」「何を削除できる?」「これは過剰エンジニアリング?」「簡略化レビュー」と言った場合、または/ponytail-reviewを呼び出した場合に使用します。正確性重視のレビューを補完し、こちらは複雑さのみを追跡します。
code-reviewdevelopment
ponytail-audit
dietrichgebert
リポジトリ全体を対象に、過剰設計を監査します。ponytail-reviewと同様ですが、差分ではなくコードベース全体をスキャンし、削除・簡略化・標準ライブラリやネイティブ相当品への置き換えを優先順位付きでリストアップします。ユーザーが「このコードベースを監査して」「過剰設計を監査して」「このリポジトリから削除できるものは」「ブロートを見つけて」「ponytail-audit」「/ponytail-audit」と言ったときに使用します。一回限りのレポートを生成し、修正は適用しません。
code-reviewdevelopment
ponytail-help
dietrichgebert
ポニーテールの全モード、スキル、コマンドのクイックリファレンスカード。一度だけ表示され、持続モードではありません。トリガー: /ponytail-help、「ponytail help」、「what ponytail commands」、「how do I use ponytail」。