agentleFS
WenaixiWenaixi/dsh-ponytail/skills/ponytail-review/SKILL.md

ponytail-review

Skill14 starsChanged 2 months agoMITView on GitHub

专挑过度设计的代码评审,只找能删的东西:重复造的标准库、没必要的依赖、臆想的抽象、闲置的灵活性。每条发现一行写完:位置、该删什么、用什么替代。触发词:过度设计评审 / 能删什么 / 是否过度设计 / 简化评审 / ponytail-review / /ponytail-review。配合面向正确性的评审使用,本技能只猎复杂度。

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use caveman-help, caveman-compress and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Harmeet10000Skill

    caveman-help

    Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".

    Also in 3 projects that use this

  • Harmeet10000Skill

    caveman-compress

    Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman:compress <filepath> or "compress memory file"

    Also in 3 projects that use this

  • AnasX7Skill

    show-me

    Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

    Also in 3 projects that use this

  • MicrosoftSkill

    caveman

    Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules

    Also in 8 projects that use this

  • AWSSkill

    grilling

    Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

    Also in 9 projects that use this

  • AWSSkill

    codebase-design

    Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

    Also in 5 projects that use this

  • +3 more from aws

The file

Files
SKILL.md

只评审 diff 中的不必要复杂度,每条发现一行写完:位置、该删什么、用什么替代。diff 的最好结局是变短。

格式

L<行号>: <标签> <该删什么>。<替代方案>。 多文件 diff 用 <文件>:L<行号>: ...。

标签:

  • delete: 死代码、未使用的灵活性、臆想功能。替代:无。
  • stdlib: 标准库已有的东西被手写了一遍,写出函数名。
  • native: 依赖或代码在做平台已有的事,写出平台特性名。
  • yagni: 只有一个实现的抽象、没人改的配置、只有一个调用方的分层。
  • shrink: 同样逻辑,更少行数,给出更短写法。

示例

❌ 「这个 EmailValidator 类是不是有点复杂,要不要考虑现阶段是否真的需要这么多校验规则?」

✅ L12-38: stdlib: 27 行的校验类。邮箱里有 "@" 就算 1 行,真正的校验是发确认邮件。

✅ L4: native: 为了一次格式化就引入 moment.js。用 Intl.DateTimeFormat,0 依赖。

✅ repo.py:L88: yagni: 只有一个实现的 AbstractRepository。先内联,等第二个实现出现再说。

✅ L52-71: delete: 在幂等的本地调用外包了一层重试。删掉即可。

✅ L30-44: shrink: 手写循环拼 dict。用 dict(zip(keys, values)),1 行。

评分

最后只留一个关心的指标:net: -<N> 行可删。

若无可删之处,直接说 已足够精简,直接发版。 并结束。

边界

范围:只看过度设计和复杂度。正确性 bug、安全漏洞、性能问题明确不在范围内,请走常规评审通道。单个冒烟测试或基于 assert 的自检是 ponytail 的最低要求,不算臃肿,永远不要标为可删。 只列发现,不直接改代码。 「stop ponytail-review / 正常模式」可切回啰嗦的评审风格。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.