ponytail 命令速查
ponytail-help
面向所有 ponytail 模式、技能和命令的快速参考卡。一次性展示,不是持久模式。触发词:/ponytail-help、“ponytail help”“有哪些 ponytail 命令”“如何使用 ponytail”。
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-02
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- ponytail-help
- description
- Quick-reference card for all ponytail modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /ponytail-help, "ponytail help", "what ponytail commands", "how do I use ponytail".
03 SKILL.md 正文
Ponytail Help
Display this reference card when invoked. One-shot, do NOT change mode, write flag files, or persist anything.
Levels
| Level | Trigger | What change |
|---|---|---|
| Lite | /ponytail lite |
Build what's asked, name the lazier alternative in one line. |
| Full | /ponytail |
The ladder enforced: YAGNI → stdlib → native → one line → minimum. Default. |
| Ultra | /ponytail ultra |
YAGNI extremist. Deletion before addition. Challenges requirements before building. |
Level sticks until changed or session end.
Skills
| Skill | Trigger | What it does |
|---|---|---|
| ponytail | /ponytail |
Lazy mode itself. Simplest solution that works. |
| ponytail-review | /ponytail-review |
Over-engineering review: L42: yagni: factory, one product. Inline. |
| ponytail-audit | /ponytail-audit |
Whole-repo over-engineering audit: ranked list of what to delete. |
| ponytail-debt | /ponytail-debt |
Harvest ponytail: shortcut comments into a tracked ledger. |
| ponytail-gain | /ponytail-gain |
Measured-impact scoreboard: less code, less cost, more speed. |
| ponytail-help | /ponytail-help |
This card. |
Codex uses @ponytail, @ponytail-review, and @ponytail-help; Claude Code
and OpenCode use the slash-command forms above (OpenCode ships all six as
slash commands).
Deactivate
Say "stop ponytail" or "normal mode". Resume anytime with /ponytail.
/ponytail off also works.
Configure Default Mode
Default mode = full, auto-active every session. Change it:
Environment variable (highest priority):
export PONYTAIL_DEFAULT_MODE=ultra
Config file (~/.config/ponytail/config.json, Windows: %APPDATA%\ponytail\config.json):
{ "defaultMode": "lite" }
Set "off" to disable auto-activation on session start, activate manually
with /ponytail when wanted.
Resolution: env var > config file > full.
Update
Enable auto-update once: open /plugin, go to Marketplaces, pick ponytail, Enable auto-update. Claude Code then pulls new versions at startup (run /reload-plugins when it prompts). Manual refresh: /plugin marketplace update ponytail then /reload-plugins.
If /plugin is not recognized, your Claude Code is out of date. Update it (npm install -g @anthropic-ai/claude-code@latest, or brew upgrade claude-code) and restart. Other hosts use their own update flow.
More
Full docs + examples: https://github.com/DietrichGebert/ponytail
04 同仓库更多 Skills
极简编码方案
ponytail
强制采用最懒但实际可行、最简单、最短、最精简的解决方案。化身一位见多识广的高级开发者:质疑任务本身是否有存在的必要(YAGNI),在编写自定义代码之前先用标准库,在引入依赖之前先用原生平台能力,一行胜过五十行。支持强度级别:lite、full(默认)、ultra。适用于任何编码任务:编写、添加、重构、修复、审查或设计代码,以及选择库或依赖。当用户说「ponytail」「be lazy」「lazy mode」「simplest solution」「minimal solution」「yagni」「do less」或「shortest path」,或抱怨过度工程、臃肿、样板代码或不必要的依赖时也使用。不用于非编码请求(常识、散文、翻译、摘要、食谱)。
代码过度工程审查
ponytail-review
专注于过度工程化的代码审查。找出应当删除的内容:重复造标准库轮子、不必要的依赖、投机性的抽象、僵死的灵活性。每条发现一行:位置、要删什么、用什么替代。当用户说「review for over-engineering」「what can we delete」「is this over-engineered」「simplify review」或调用 /ponytail-review 时使用。与侧重正确性的代码审查互补,本技能只搜寻复杂性。
代码优化成效看板
ponytail-gain
以精简的记分板展示 ponytail 的可量化成效:基于基准测试中位数,代码更少、成本更低、速度更快。一次性展示,不是持久模式,也不是针对单个仓库的数值。触发词:/ponytail-gain、“ponytail gain”“ponytail 节省了多少”“展示 ponytail 成效”“ponytail 记分板”。
技术债务台账整理
ponytail-debt
将代码库中的每个 `ponytail:` 注释汇总到一份债务台账中,使 ponytail 有意留下的捷径和延后事项得到跟踪,而不是烂尾成“以后再说就等于永远不做”。当用户说“ponytail 债务”“/ponytail-debt”“ponytail 推迟了什么”“列出这些捷径”“ponytail 台账”或“我们标记了哪些以后要做的事”时使用。一次性报告,不做任何更改。
代码库过度工程审计
ponytail-audit
对整个代码仓库进行过度工程审计。类似 ponytail-review,但扫描的是整个代码库而非代码差异:给出一份按优先级排序的清单,列出可删除、简化或替换为标准库/原生等效实现的内容。当用户说“审计这个代码库”“检查过度工程”“这个仓库里能删掉什么”“找出冗余”“ponytail-audit”或“/ponytail-audit”时使用。一次性报告,不会应用任何修复。
技能编写与编辑指南
writing-great-skills
关于如何编写和编辑技能的参考指南——阐述让技能可预测、行为一致的词汇与原则。