Kaynağa Gözat

feat: add ponytail skill series (ponytail/review/audit/debt/gain/help) from DietrichGebert/ponytail

kekeZack 2 hafta önce
ebeveyn
işleme
25bef95c69
2 değiştirilmiş dosya ile 57 ekleme ve 1 silme
  1. 6 1
      README.md
  2. 51 0
      skills/code-dev/ponytail-gain/SKILL.md

+ 6 - 1
README.md

@@ -50,7 +50,7 @@ cp -r skills/essential/{brainstorming,planning-with-files,writing-plans,executin
 代码审查、重构、TDD、测试自动化、Git 工作流。
 
 ```bash
-cp -r skills/code-dev/{code-reviewer,code-simplifier,requesting-code-review,receiving-code-review,test-driven-development,ralph-loop,using-git-worktrees,ui-ux-pro-max,ponytail,ponytail-review,ponytail-audit,ponytail-debt,ponytail-help} /project/path/.agents/skills/
+cp -r skills/code-dev/{code-reviewer,code-simplifier,requesting-code-review,receiving-code-review,test-driven-development,ralph-loop,using-git-worktrees,ui-ux-pro-max,ponytail,ponytail-audit,ponytail-debt,ponytail-gain,ponytail-help,ponytail-review} /project/path/.agents/skills/
 ```
 
 | 技能                        | 说明                                           |
@@ -67,6 +67,7 @@ cp -r skills/code-dev/{code-reviewer,code-simplifier,requesting-code-review,rece
 | `ponytail-review`       | 过度工程代码审查(找可删除的复杂度)          |
 | `ponytail-audit`        | 全仓库过度工程审计                            |
 | `ponytail-debt`         | ponytail 快捷方式债务追踪                     |
+| `ponytail-gain`         | Ponytail 基准测试效果看板                     |
 | `ponytail-help`         | Ponytail 命令速查卡                           |
 
 ### 数据科学与机器学习
@@ -187,6 +188,10 @@ cp -r skills/obsidian/xzh-obsidian-llm-wiki /project/path/.agents/skills/
 | `ponytail`                     | 极简主义开发(YAGNI/最懒方案)            |
 | `ponytail-audit`               | 全仓库过度工程审计                        |
 | `ponytail-debt`                | ponytail 快捷方式债务追踪                 |
+<<<<<<< HEAD
+=======
+| `ponytail-gain`                | Ponytail 基准测试效果看板                 |
+>>>>>>> ed51bc2 (feat: add ponytail skill series (ponytail/review/audit/debt/gain/help) from DietrichGebert/ponytail)
 | `ponytail-help`                | Ponytail 命令速查卡                       |
 | `ponytail-review`              | 过度工程代码审查                          |
 | `pptx`                           | PPT 生成                                  |

+ 51 - 0
skills/code-dev/ponytail-gain/SKILL.md

@@ -0,0 +1,51 @@
+---
+name: ponytail-gain
+description: >
+  Show ponytail's measured impact as a compact scoreboard: less code, less
+  cost, more speed, from the benchmark medians. One-shot display, not a
+  persistent mode, and not a per-repo number. Trigger: /ponytail-gain,
+  "ponytail gain", "what does ponytail save", "show ponytail impact",
+  "ponytail scoreboard".
+license: MIT
+---
+
+# Ponytail Gain
+
+Display this scoreboard when invoked. One-shot: do NOT change mode, write flag
+files, or persist anything.
+
+The figures are the published benchmark medians (5 everyday tasks: email
+validator, debounce, CSV sum, countdown timer, rate limiter; three models:
+Haiku, Sonnet, Opus). They are measured, not computed from the current repo.
+Source: `benchmarks/` and the README.
+
+## Scoreboard
+
+Render plain ASCII bars. The bar length shows the measured range; the label
+carries the exact figure:
+
+```
+  ponytail gain                     benchmark median . 5 tasks . 3 models
+
+  Lines of code   no-skill  ++++++++++++++++++++  100%
+                  ponytail  ++.................    6-20%   - 80-94%
+  Cost            no-skill  ++++++++++++++++++++  100%
+                  ponytail  +++++..................   23-53%  - 47-77%
+  Speed           ponytail  > 3-6x faster
+
+  This repo:  /ponytail-debt  (shortcuts you deferred)
+              /ponytail-audit (what's still cuttable)
+```
+
+## Honesty boundary
+
+These are benchmark medians, not this repo. NEVER print a per-repo savings
+number ("you saved X lines/tokens here"): the unbuilt version was never
+written, so there is no real baseline to subtract from in a live repo. The
+only real per-repo figures come from `/ponytail-debt` (a counted ledger), and
+this card points there instead of inventing one.
+
+## Boundaries
+
+One-shot display. Edits nothing, changes no mode.
+"stop ponytail" or "normal mode": revert.