ponytail-debt
Agent skill fromDietrichGebert/ponytail
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.
How to install ponytail-debt
install ponytail-debt
# install the ponytail pack with the skills CLI
npx skills add DietrichGebert/ponytail# or add only this skill to Claude Code: copy the folder
skills/ponytail-debt/
# into
~/.claude/skills/ponytail-debt/ (all projects)
.claude/skills/ponytail-debt/ (one project)
1Every deliberate ponytail shortcut is marked with a `shortcut:` comment naming2its ceiling and upgrade path (older code may say `ponytail:`). This collects them into one ledger so a deferral3can't quietly become permanent.45## Scan67Grep the repo for comment markers, skipping `.git` and everything the8`.gitignore` files ignore (dependencies, build output, caches, in any stack):910`git grep --no-index --exclude-standard -nE '(#|//|/[*]) ?(shortcut|ponytail):'` (add other comment prefixes if your stack uses them)1112If the user names their own marker word (`/ponytail-debt TODO`), grep for that word instead.1314Each hit is one ledger row. The comment prefix keeps prose that merely mentions15the convention out of the ledger. Skip hits that are not a deferral, like a note16about a keyboard shortcut.1718## Output1920One row per marker, grouped by file:2122`<file>:<line>, <what was simplified>. ceiling: <the limit named>. upgrade: <the trigger to revisit>.`2324The convention is `shortcut: <ceiling>, <upgrade path>`, so pull the ceiling25and the trigger straight from the comment. Want an owner per row too? add26`git blame -L<line>,<line>`.2728Flag the rot risk: any marker comment that names no upgrade path or29trigger gets a `no-trigger` tag, those are the ones that silently rot.3031End with `<N> markers, <M> with no trigger.` Nothing found: `No shortcut debt. Clean ledger.`3233## Boundaries3435Reads and reports only, changes nothing. To persist it, ask and it writes the36…
Excerpt shown under the repository's MIT license.
