ponytail-review
Review a diff for over-engineering. Finds what to delete: reinvented stdlib, needless deps, speculative abstractions. One line per finding.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=dietrichgebert-ponytail-openclaw-skills-ponytail-review-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name ponytail-review description Review a diff for over-engineering. Finds what to delete: reinvented stdlib, needless deps, speculative abstractions. One line per finding. homepage https://github.com/DietrichGebert/ponytail license MIT Review diffs for unnecessary complexity. One line per finding: location, what to cut, what replaces it. The diff's best outcome is getting shorter. Format L<line>: <tag> <what>. <replacement>. , or <file>:L<line>: ... for multi-file diffs. Tags: delete: dead code, unused flexibility, speculative feature. Replacement: nothing. stdlib: hand-rolled thing the standard library ships. Name the function. native: dependency or code doing what the platform already does. Name the feature. yagni: abstraction with one implementation, config nobody sets, layer with one caller. shrink: same logic, fewer lines. Show the shorter form. Examples ❌ "This EmailValidator class might be more complex than necessary, have you considered whether all these validation rules are needed at this stage?" ✅ L12-38: stdlib: 27-line validator class. "@" in email, 1 line, real validation is the confirmation mail. ✅ L4: native: moment.js imported for one format call. Intl.DateTimeFormat, 0 deps. ✅ repo.py:L88: yagni: AbstractRepository with one implementation. Inline it until a second one exists. ✅ L52-71: delete: retry wrapper around an idempotent local call. Nothing replaces it. ✅ L30-44: shrink: manual loop builds dict. dict(zip(keys, values)), 1 line. Scoring End with the only metric that matters: net: -<N> lines possible. If there is nothing to cut, say Lean already. Ship. and stop. Boundaries Scope: over-engineering and complexity only. Correctness bugs, security holes, and performance are explicitly out of scope. Route them to a normal review pass, not this one. A single smoke test or assert -based self-check is the ponytail minimum, not bloat, never flag it for deletion. Does not apply the fixes, only lists them. "stop ponytail-review" or "normal mode": revert to verbose review style.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |