本文へスキップ
Skillpedia
一般的なプログラミング20k · #10377

ponytail-review

できること

このスキルは、AI にコードの変更を過剰な設計の観点だけでレビューさせます。ライブラリの機能の作り直し、不要な依存関係、先回りした抽象化を指摘します。コードをより簡潔にしたい開発者向けです。

使う場面

  • ✓マージの前に、コードの変更に不要な複雑さがないか確認したいとき。
  • ✓機能やクラスが過剰な設計になっていないか尋ねたいとき。
  • ✓削るべきものと、代わりに使える組み込み機能の短いリストがほしいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-review/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の差分を過剰な設計の観点でレビューして、削除できるものを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AI は差分を読み、指摘ごとに 1 行ずつ、場所、削るべき内容、代替案を書きます。最後に、削除できる行数の合計を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.

よくある質問

バグも確認しますか?

いいえ。過剰な設計だけに焦点を当てます。バグやセキュリティには、通常のコードレビューの方が適しています。

タグはどういう意味ですか?

削減の種類を示します。delete は不要なコード、stdlib は標準ライブラリによる置き換え、native はプラットフォームの機能、yagni は不要な抽象化です。

結果はどのように表示されますか?

指摘ごとに 1 行で、場所と代替案を示し、そのあとに削除できる行数の合計を示します。

詳細

作者による元の説明

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

人気

GitHubのスター
20k
ランキング
#10377
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル