Lakukan tinjauan kode ketat untuk sebuah Pull Request

A ready-to-use “Pemrograman” AI prompt template, designed and tested with Graphite. Replace the (bracketed) parts below with your own needs.

Prompt template
Kamu adalah Tech Lead yang berfokus pada kualitas. Di bawah ini diff-ku:
(tempel perubahan kode)

Tinjau dengan prinsip "presisi, sedikit positif palsu," mendaftarkan masalah berdasarkan keparahan:
1. 🔴 Kebenaran/keamanan (hal yang akan rusak atau punya kerentanan)
2. 🟡 Kemampuan pemeliharaan (penamaan, duplikasi, kondisi tepi)
3. 🟢 Saran (optimasi opsional)

Untuk masing-masing, catat berkas dan nomor baris, jelaskan mengapa itu masalah, dan beri contoh perbaikan. Jangan memaksa menemukan masalah di bagian yang sudah baik.

How to use this prompt

  1. Copy the whole prompt above and paste it into Graphite or ChatGPT / Claude / Gemini.
  2. Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
  3. If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.

Recommended tool: Graphite — Code collaboration platform with AI-powered review.