Ponytail (smallest complete change)
by DietrichGebert
Dietrich Gebert’s skill that makes the agent pick the smallest change that fully solves a coding task, then name what it skipped.
Ponytail is a coding-behaviour skill by Dietrich Gebert. It asks the agent to work like a lazy senior developer: solve the whole problem while writing as little new code as possible. It stays on for the session and has three levels: lite, full (the default) and ultra.
Before editing, the agent lists every place the change must reach, such as callers, tests, fixtures, config and exports. It then works down a fixed order: skip what nobody asked for, reuse what the codebase already has, then the standard library, then dependencies that are already installed, and only after that write new code. It avoids adding wrappers, options or code kept “for later”. For bug fixes it greps every caller and fixes the root cause in the shared code. New logic that is not trivial gets a small test or self-check, and any known shortcut gets a code comment saying when to upgrade it. Validation, data-loss handling, security and accessibility are never cut. Each reply ends with a line or two on what it skipped and any risk. At the ultra level the agent also pushes back on parts of the request that the need does not justify.
The skill is a single Markdown file. It has no scripts and makes no network calls.
What it is good for
- Fix a bug at its root in shared code without spreading changes across the codebase
- Push back on over-built feature requests before any code is written
- Review a change for wrappers, options and dependencies that were never needed
Install
Run this in a terminal. It adds the skill to Claude Code for every project:
tmp=$(mktemp -d) && git -C "$tmp" init -q && git -C "$tmp" fetch -q --depth 1 https://github.com/DietrichGebert/ponytail 96608e078b2d5ea607c5c3b8b5a54d1c1fba6846 && git -C "$tmp" checkout -q FETCH_HEAD && rm -rf "$tmp/.git" && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/ponytail && mv "$tmp/skills/ponytail" ~/.claude/skills/ponytail && rm -rf "$tmp"Start a new Claude Code session. The agent uses the skill when a request matches it, or you can ask for it by name.
To share it with your team, put the folder in
.claude/skills/inside the repository instead and commit it.
Read the source on GitHub · MIT license · Reviewed by Whenever on 2026-11-21