Ponytail

From jleechanorg/claude-commands · View interactive version

Ponytail is an AI agent skill from the GitHub repository jleechanorg/claude-commands. Lazy senior-dev mode — the seven-rung ladder that decides whether to write code at all, whether to reuse code that already exists, and whether to prefer stdlib/platform/installed deps over a new dependency. Use before writing any code, every PR diff, every fix, every feature. Source attribution incl

How to use this skill

Skill file

Ponytail

Understand the request and trace the affected flow before choosing an implementation.

Use the first sufficient option in this ladder:

  1. Avoid building something the task does not need.
  2. Reuse the codebase's existing implementation or pattern.
  3. Use a standard-library facility.
  4. Use a native platform capability.
  5. Use a dependency already installed.
  6. Prefer a simple expression when it handles the relevant cases correctly.
  7. Add only the remaining necessary code.

For bugs, trace callers and fix the shared cause. When a demonstrated defect is

architectural, protocol-level, or shared across a provider/category, solve at the

capability or category boundary and retire superseded broken defaults rather than

stranding sibling and future callers behind an unverified single-model, single-route,

or single-caller allowlist ("because other cases were not ablated"); genuine

supported capability differences and evidence-based staged rollouts remain valid.

Every new guard, validator, ledger, cap, or fail-closed check requires a one-line

named authority citing an explicit user instruction, a spec the user wrote or

approved, or a governing policy file:line (never another agent's design or a

reviewer's preference/finding), a resume/override path for host-local locks, and

end-to-end deliverable proof; unrequested user-visible waits, gates, retries,

timers, expiries, fallbacks, or defaults must quote the user's ask or be disclosed

as unrequested before merge. Keep the diff small without sacrificing correctness, security,

accessibility, or protection against data loss.

Avoid unnecessary dependencies, abstractions, and boilerplate. Document meaningful

limitations when deliberately simplifying a solution. Verify nontrivial behavior

with the smallest runnable check that would detect a failure; trivial changes do

not need a new testing framework.

This is the canonical user-scope skill; repository pointers and the Codex symlink

resolve here. Adapted from DietrichGebert's Ponytail instructions.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.