Ponytail Debt

DietrichGebert/ponytail/skills/ponytail-debt

作者 DietrichGebert9cc65d03aa2da1db7121b912d03596409ee340b8無授權條款158K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫今天更新

List every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.

AI 產生的概覽

掃描儲存庫中的 shortcut: 與 ponytail: 註解標記,並彙整成債務清單。

功能
此技能會在儲存庫中搜尋 shortcut: 以及較舊的 ponytail: 等註解標記,並略過 node_modules、.git 與建置產物。它會依檔案將每個命中項目分組,輸出的每一列包含檔案與行號、被簡化的內容、所宣告的上限,以及升級觸發條件。未註明升級路徑或觸發條件的標記會加上 no-trigger 標籤,報告最後會給出標記總數與無觸發條件的數量。它只讀取與報告;若被要求,可將清單寫入檔案。
適用情境
適用於檢視程式庫中刻意留下的延後處理,例如被問到 ponytail 債務、ponytail 延後了什麼,或要求列出這些捷徑時。適合在延後處理可能悄悄變成永久問題之前做一次性稽核。
執行需求
需要一個待掃描的儲存庫,以及具備 grep 的 shell 環境;可選用 git blame 為每一列標註負責人。不附帶指令碼,除非被要求將清單寫入檔案,否則不會變更任何內容。

Every deliberate ponytail shortcut is marked with a shortcut: comment naming its ceiling and upgrade path (older code may say ponytail:). 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 --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=build '(#|//|/[*]) ?(shortcut|ponytail):' . (add other comment prefixes if your stack uses them)

If the user names their own marker word (/ponytail-debt TODO), grep for that word instead.

Each hit is one ledger row. The comment prefix keeps prose that merely mentions the convention out of the ledger. Skip hits that are not a deferral, like a note about a keyboard shortcut.

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 shortcut: <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 marker 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 shortcut 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位於skills/ponytail-debt提交9cc65d0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 DietrichGebert/ponytail 的技能

Ponytail Review

DietrichGebert

審查程式碼變更是否正確、安全、能承受負載、有測試、夠快且精簡,並輸出審查報告。

Software Development158K今天更新

Ponytail Help

DietrichGebert

Quick reference for ponytail levels, skills and commands. One-shot display. Use for /ponytail-help, "ponytail help", "how do I use ponytail".

待分類158K今天更新

Ponytail Audit

DietrichGebert

Quality audit of a whole repo: bugs, security holes, what breaks under real load, risky code without tests, slow paths, and what to delete, merge or split. Ranked, each finding explained in plain English. One-shot report, changes nothing. Use for "audit this codebase", "review the whole repo", "find bloat", "what can I delete", /ponytail-audit.

待分類158K今天更新

Ponytail

DietrichGebert

Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.

待分類158K今天更新

Ponytail Review

dietrichgebert

審查程式碼差異,檢查缺陷、安全性、負載、缺少的測試、速度與精簡度,並輸出發現報告。

Software Development158K今天更新

Ponytail Help

dietrichgebert

一次性顯示 ponytail 的模式、技能與命令速查卡,不會變更任何狀態。

AI & Agents158K今天更新