ponytail-audit

作者: dietrichgebert

对整个仓库进行过度工程审计。类似ponytail-review,但扫描整个代码库而非差异:生成一个排序列表,列出应删除、简化或替换为标准库/原生等价物的内容。当用户说“审计此代码库”、“审计过度工程”、“此仓库中可删除什么”、“查找臃肿”、“ponytail-audit”或“/ponytail-audit”时使用。一次性报告,不应用修复。

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

ponytail-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.

来自 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-help
dietrichgebert
所有马尾辫模式、技能和命令的快速参考卡。一次性显示,非持久模式。触发方式:/ponytail-help、“ponytail help”、“what ponytail commands”、“how do I use ponytail”。
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