ponytail-audit
对整个仓库进行过度工程审计。类似ponytail-review,但扫描整个代码库而非差异:生成一个排序列表,列出应删除、简化或替换为标准库/原生等价物的内容。当用户说“审计此代码库”、“审计过度工程”、“此仓库中可删除什么”、“查找臃肿”、“ponytail-audit”或“/ponytail-audit”时使用。一次性报告,不应用修复。
npx skills add https://github.com/dietrichgebert/ponytail --skill ponytail-auditponytail-review, repo-wide. Scan the whole tree instead of a diff. Rank findings biggest cut first.
Tags
Same as ponytail-review:
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.
Hunt
Deps the stdlib or platform already ships, single-implementation interfaces, factories with one product, wrappers that only delegate, files exporting one thing, dead flags and config, hand-rolled stdlib.
Output
One line per finding, ranked: <tag> <what to cut>. <replacement>. [path].
End with net: -<N> lines, -<M> deps possible. Nothing to cut: Lean already. Ship.
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. Lists findings, applies nothing. One-shot. "stop ponytail-audit" or "normal mode" to revert.