Skip to content

Harvests every shortcut or ponytail comment into a debt ledger that flags deferrals with no upgrade trigger.

CCM score
73 of 100
skills.sh installs
65.7K
GitHub stars
201K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a one-shot grep of the repo for shortcut: and older ponytail: comment markers, skipping ignored files
  • Outputs one row per marker with file, line, simplified work, ceiling, and upgrade trigger, plus owner via git blame
  • Flags markers that name no upgrade path or trigger with a no-trigger tag as likely to rot
  • Designed for teams tracking deliberate shortcuts so they do not become permanent, and reports only without changing files

Install

$ npx -y skills add dietrichgebert/ponytail --skill ponytail-debt -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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 .git and everything the .gitignore files ignore (dependencies, build output, caches, in any stack):

git grep --no-index --exclude-standard -nE '(#|//|/[*]) ?(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>.

Details

Repository
github.com/dietrichgebert/ponytail
Categories
Code Review & Quality, Debugging
First seen
Jul 14, 2026

Questions

What does the ponytail-debt skill do?

It scans the codebase for every shortcut comment left by ponytail and collects them into one debt ledger. Each row names the file, line, what was simplified, the ceiling, and the upgrade trigger. It is a one-shot report and changes nothing in the code.

How do I list the shortcuts ponytail deferred?

Ask the agent for ponytail debt, what did ponytail defer, or list the shortcuts, or run /ponytail-debt. The skill greps for shortcut and older ponytail comment markers, skipping ignored files like dependencies and build output.

Where does ponytail-debt rank in its category?

It sits in the Code Review & Quality category, where it ranks in the top 25 on the category page. Skills such as improve-codebase-architecture, codebase-design and code-review lead that category, and this skill covers the deferred shortcuts those tools leave behind.

Can ponytail-debt save the ledger to a file?

The skill does not write anything by default. If you ask, it can write the ledger to a file such as PONYTAIL-DEBT.md. It also flags any marker that names no upgrade path or trigger with a no-trigger tag, since those are the ones most likely to rot.

More from dietrichgebert/ponytail

All 6

Similar to Ponytail Debt

More Code Review & Quality