ponytail-review

仓库创建 2026年6月12日最近提交 11 天前SkillHot 收录 20 天前
▸ 精选理由

专注删减冗余与重复实现,适合代码审查与减重改造。

这个 Skill 做什么

审查 diff 中的过度工程,指出可删除或替换的部分。

对 diff 做过度工程审查,一行一条结论,指出重造标准库、无谓依赖或投机抽象的位置,并给出可以删掉或替换的建议。适合在 PR 复审时用,目标是让改动更精简可维护。输出简洁、定位明确,方便快速把代码缩短并去除冗余。

▸ 展开 SKILL.md 英文原文

Review a diff for over-engineering. Finds what to delete: reinvented stdlib, needless deps, speculative abstractions. One line per finding.

开发编程代码审查精简重构通用
9.0w
Stars
4.9k
Forks
12
仓库内 Skill
+1.4w
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/DietrichGebert/ponytail/main/.openclaw/skills/ponytail-review/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/DietrichGebert/ponytail/main/.openclaw/skills/ponytail-review/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
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 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有