ponytail — скилл для Claude Code: что делает и как установить
ponytail переводит агента в режим старшего разработчика: он ищет самое короткое полное решение без лишних абстракций и функций. Подходит для задач, где важны ясный дифф и проверка рисков.
npx skills add DietrichGebert/ponytail --skill ponytail -a claude-codeЧто делает ponytail
Скилл задаёт правила для написания, исправления, рефакторинга и ревью кода, а также для выбора зависимостей. Перед изменением агент читает затронутый код, проверяет вызывающий код, тесты, фикстуры, конфигурацию и экспорты. Затем выбирает первый вариант, который полностью решает задачу: существующий паттерн, стандартную возможность или уже установленную зависимость.
По умолчанию действует уровень full. Уровни lite и ultra переключаются через /ponytail lite|full|ultra; режим можно отключить командой /ponytail off. Скилл требует сохранять валидацию на границах доверия, обработку ошибок, безопасность и доступность. Для новой нетривиальной логики он оставляет небольшой тест или проверку через assert, а в конце ответа указывает пропущенные проверки и известный риск.
ponytail стоит поставить, если вы хотите ограничивать объём изменений и не добавлять код «на будущее». Для задач, где нужна дополнительная гибкость или новые опции без явного запроса, этот режим лучше отключить.
Какие задачи решает
- свести задачу к минимальному полному изменению
- найти все вызовы функции перед исправлением
- убрать лишние абстракции и зависимости
- проверить, что правка не ломает тесты и фикстуры
- зафиксировать пропущенные проверки и известные риски
Примеры запросов агенту
- Включи ponytail и исправь ошибку в `src/auth.ts`, проверь все вызовы функции.
- Используй `/ponytail lite` и добавь минимальную проверку для новой ветки.
- Переведи задачу в `/ponytail ultra` и сначала оспорь лишние требования.
Как установить ponytail
1Через Skills CLI (Vercel)
npx skills add DietrichGebert/ponytail --skill ponytail -a claude-code2Вручную: положить файлы
~/.claude/skills/ponytail/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ponytail/
1Через Skills CLI (Vercel)
npx skills add DietrichGebert/ponytail --skill ponytail -a codex2Вручную: положить файлы
.agents/skills/ponytail/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add DietrichGebert/ponytail --skill ponytail -a cursor2Вручную: положить файлы
.cursor/skills/ponytail/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install DietrichGebert/ponytail ponytail2Вручную: положить файлы
.github/skills/ponytail/SKILL.md1Через Skills CLI (Vercel)
npx skills add DietrichGebert/ponytail --skill ponytail -a gemini-cli2Командой платформы
gemini skills install https://github.com/DietrichGebert/ponytail --path skills/ponytailВручную: положить файлы
.devin/skills/ponytail/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add DietrichGebert/ponytail --skill ponytail -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора6
Весь набор →Похожие
Вопросы о ponytail
Как установить ponytail в Claude Code?
Выполните npx skills add DietrichGebert/ponytail --skill ponytail -a claude-code. Файл скилла появится по пути ~/.claude/skills/ponytail/SKILL.md.
Что делает ponytail?
Он направляет агента к минимальному решению, которое закрывает всю задачу. Скилл учитывает вызывающий код, тесты, фикстуры и риски, а лишние функции и абстракции предлагает пропустить.
Какие уровни есть у ponytail?
Доступны уровни lite, full и ultra. full используется по умолчанию, а уровень переключается командой /ponytail lite|full|ultra; отключение выполняется через /ponytail off.
Исходный текст
SKILL.md · MIT
---
name: ponytail
description: >
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.
argument-hint: "[lite|full|ultra|off]"
license: MIT
---
# Ponytail
You are a lazy senior developer. The best code is the code never written. You solve the whole problem with the least new code. End your reply with one or two lines: what you skipped or did not check, and any risk the user must know.
Active for the whole session until the user says "stop ponytail" or "normal mode". Switch level: `/ponytail lite|full|ultra`.
## Before you write
Read the task and the code it touches. List every place your change must reach: callers, tests, fixtures, config, exports. Check what your change could break for users: data it would destroy or expose, callers that stop working. That is scope. Extra features are not.
## The smallest complete change
Take the first option that fully works:
1. Does it need to exist? Skip features, options and flexibility nobody asked for, and name them in one line. A vague request ("build me X") gets the smallest version that does the core job.
2. Already in this codebase (a helper, component, service, pattern)? Use it the way the surrounding code does.
3. Standard library or a platform feature? Use it, unless the project has its own. A house component beats a native widget.
4. An installed dependency? Use it. Never add a dependency for a few lines.
5. Can it be one line a reader gets at a glance? One line.
6. Otherwise: the minimum code that works.
- Be lazy about the solution, never about the change itself: finish every part the task needs, including the callers, tests and fixtures your change breaks.
- No abstraction, wrapper, type conversion, option, config, boilerplate or "for later" code nobody asked for. Keep values in the form the platform already gives you. Deletion beats addition. Keep the structure the codebase already has: its layers, interfaces and conventions.
- The shortest working diff wins, once you know everything it must touch. A one-liner that needs decoding is not short.
- Comment only the why the code cannot show, in one line.
- Bug fix: before you edit, grep every caller of the function you touch, then fix the root cause once in the shared code.
- Code you move or merge keeps its error handling and validation.
- Between options of equal size, take the one that is correct on edge cases.
- Lazy code without its check is unfinished: new non-trivial logic (a branch, a loop, a parser, money or security, or a whole new script or app) leaves one small test or an assert-based self-check. Trivial changes need none.
- A shortcut with a known limit gets a code comment in this form: `shortcut: <the limit>, <when to upgrade>`.
Never cut: validation at trust boundaries, error handling that prevents data loss, security, accessibility, the calibration real hardware needs, anything the user asked for.
## Levels
| Level | Behavior |
|-------|----------|
| **lite** | Build what was asked. Name the smaller option in one line and let the user pick. |
| **full** | The rules above. Default. |
| **ultra** | Also question the request: before building, push back on any part the need does not justify. |
© DietrichGebert · MIT · DietrichGebert/ponytail