ponytail-review
できること
このスキルは、AI にコードの変更を過剰な設計の観点だけでレビューさせます。ライブラリの機能の作り直し、不要な依存関係、先回りした抽象化を指摘します。コードをより簡潔にしたい開発者向けです。
使う場面
- ✓マージの前に、コードの変更に不要な複雑さがないか確認したいとき。
- ✓機能やクラスが過剰な設計になっていないか尋ねたいとき。
- ✓削るべきものと、代わりに使える組み込み機能の短いリストがほしいとき。
スキルのリンク
https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-review/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
コメント
- …
このリポジトリの他のスキル
claude-code
20kエージェントが、コーディング、レビュー、計画のタスクを Anthropic の Claude Code CLI に任せ、その結果を確認できるように取り込めるよう支援します。
codex-cli
20kコーディングやレビューのタスクを OpenAI の Codex CLI に任せ、その結果を受け取ることで、2 つ目のモデルに作業を確認させられるようにします。
commit-dis
20kこのチャットで行った変更だけを、現在の Git ブランチに 1 つのコミットとして保存します。プッシュやブランチの作成は行いません。
composio
20kComposio を使って Gmail、Slack、GitHub、Notion などのアプリを接続し、自分のエージェントや、自分で作る製品で利用できるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。