Langsung ke konten
Skillpedia
Pemrograman umum20k Β· #10377

ponytail-review

Fungsinya

Skill ini meminta AI meninjau perubahan kode hanya dari sisi rekayasa berlebihan. AI menunjukkan fungsi pustaka yang diciptakan ulang, dependensi yang tidak diperlukan, dan abstraksi spekulatif. Skill ini ditujukan untuk developer yang menginginkan kode yang lebih ramping.

Kapan dipakai

  • βœ“Saat Anda ingin memeriksa perubahan kode untuk mencari kerumitan yang tidak perlu sebelum menggabungkannya.
  • βœ“Saat Anda bertanya apakah sebuah fitur atau kelas terlalu rumit.
  • βœ“Saat Anda menginginkan daftar singkat tentang apa yang bisa dihapus dan fitur bawaan mana yang bisa menggantikannya.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/kortix-ai/suna/blob/dev/.agents/skills/ponytail-review/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTinjau diff saya untuk mencari rekayasa berlebihan dan beri tahu saya apa yang bisa saya hapus.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI membaca diff dan menulis satu baris untuk setiap temuan, dengan lokasinya, apa yang harus dipangkas, dan penggantinya. Di akhir, AI menyebutkan jumlah baris yang bisa dihapus.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

Pertanyaan umum

Apakah juga memeriksa bug?

Tidak. Skill ini hanya berfokus pada rekayasa berlebihan. Tinjauan kode biasa lebih tepat untuk bug dan keamanan.

Apa arti tag-tag tersebut?

Tag menunjukkan jenis pemangkasan: delete untuk kode mati, stdlib untuk pengganti pustaka standar, native untuk fitur platform, dan yagni untuk abstraksi yang tidak diperlukan.

Bagaimana hasilnya ditampilkan?

Satu baris untuk setiap temuan, dengan lokasi dan pengganti, diikuti total baris yang bisa dihapus.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
20k
Peringkat
#10377
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa