ponytail-help

作者: dietrichgebert

所有ponytail模式、技能與指令的快速參考卡。一次性顯示,非持續模式。觸發方式:/ponytail-help、「ponytail help」、「what ponytail commands」、「how do I use ponytail」。

npx skills add https://github.com/dietrichgebert/ponytail --skill ponytail-help

Ponytail Help

Display this reference card when invoked. One-shot, do NOT change mode, write flag files, or persist anything.

Levels

LevelTriggerWhat change
Lite/ponytail liteBuild what's asked, name the lazier alternative in one line.
Full/ponytailThe ladder enforced: YAGNI → stdlib → native → one line → minimum. Default.
Ultra/ponytail ultraYAGNI extremist. Deletion before addition. Challenges requirements before building.

Level sticks until changed or session end.

Skills

SkillTriggerWhat it does
ponytail/ponytailLazy mode itself. Simplest solution that works.
ponytail-review/ponytail-reviewOver-engineering review: L42: yagni: factory, one product. Inline.
ponytail-audit/ponytail-auditWhole-repo over-engineering audit: ranked list of what to delete.
ponytail-debt/ponytail-debtHarvest ponytail: shortcut comments into a tracked ledger.
ponytail-gain/ponytail-gainMeasured-impact scoreboard: less code, less cost, more speed.
ponytail-help/ponytail-helpThis 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

來自 dietrichgebert 的更多技能

ponytail
dietrichgebert
強制採用實際可行、最簡單、最短、最精簡的懶人解法。模擬見多識廣的資深開發者:質疑任務是否真的需要存在(YAGNI),優先使用標準函式庫而非自訂程式碼,原生平台功能而非依賴套件,一行程式碼勝過五十行。支援強度等級:輕量、完整(預設)、極致。當使用者說出「ponytail」、「be lazy」、「lazy mode」、「simplest solution」、「minimal solution」、「yagni」、「do less」或...時啟用。
developmentcode-review
ponytail-review
dietrichgebert
專注於過度工程的程式碼審查。找出可刪除的內容:重新發明的標準函式庫、不必要的依賴、推測性抽象、無用的靈活性。每個發現一行:位置、要刪除的內容、替代方案。當使用者說「審查過度工程」、「我們可以刪除什麼」、「這是否過度工程」、「簡化審查」或呼叫 /ponytail-review 時使用。與正確性導向的審查互補,此審查僅針對複雜性。
code-reviewdevelopment
ponytail-audit
dietrichgebert
針對整個儲存庫進行過度工程審計。類似ponytail-review,但掃描整個程式碼庫而非差異:提供一份排名清單,列出應刪除、簡化或替換為標準庫/原生等效項目的內容。當使用者說「審計此程式碼庫」、「審計過度工程」、「我可以從此儲存庫刪除什麼」、「找出臃腫」、「ponytail-audit」或「/ponytail-audit」時使用。一次性報告,不套用修復。
code-reviewdevelopment
ponytail-debt
dietrichgebert
Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals ponytail leaves behind get tracked instead of rotting into "later means never". Use when the user says "ponytail debt", "/ponytail-debt", "what did ponytail defer", "list the shortcuts", "ponytail ledger", or "what did we mark to do later". One-shot report, changes nothing.
developmentcode-reviewproject-management