Skip to content
Skillpedia
General coding20k · #10377

ponytail-review

What it does

This skill has the AI review a code change only for over-engineering. It points out reinvented library functions, unneeded dependencies, and speculative abstractions. It is for developers who want leaner code.

When to use it

  • ✓When you want to check a code change for unnecessary complexity before merging it.
  • ✓When you ask whether a feature or class is over-engineered.
  • ✓When you want a short list of what to delete and which built-in feature could replace it.

Skill link

https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-review/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Review my diff for over-engineering and tell me what I can delete.”

5 new skills a week. 1 minute to read.

How it works

The AI reads the diff and writes one line per finding, with its location, what to cut, and the replacement. It ends with the number of lines that could be removed.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

FAQ

Does it check for bugs too?

No. It focuses only on over-engineering. A normal code review is the better tool for bugs and security.

What do the tags mean?

They name the kind of cut: delete for dead code, stdlib for a standard library replacement, native for a platform feature, and yagni for unneeded abstractions.

How is the result shown?

As one line per finding, with a location and a replacement, followed by the total of lines that could be removed.

Details

Original description by the author

Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded dependencies, speculative abstractions, dead flexibility. One line per finding: location, what to cut, what replaces it. Use when the user says "review for over-engineering", "what can we delete", "is this over-engineered", "simplify review", or invokes /ponytail-review. Complements correctness-focused review, this one only hunts complexity.

repo: kortix-ai/suna

Popularity

GitHub stars
20k
Ranking position
#10377
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills