Cari pepijat dan terangkan puncanya

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

Prompt template
Kod saya tidak berfungsi seperti yang dijangka. Sila: 1) cari masalah yang paling berkemungkinan; 2) terangkan mengapa ia berlaku (huraikan prinsipnya); 3) beri kod yang dibetulkan; 4) ingatkan saya cara mengelakkan ralat jenis ini pada masa depan. Jika maklumat tidak mencukupi, tanya dahulu apa yang perlu saya tambah.

Tingkah laku dijangka: "huraikan"
Tingkah laku sebenar: "huraikan"
Kod:
```
tampal kod
```

How to use this prompt

  1. Copy the whole prompt above and paste it into Cursor 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: Cursor — A code editor built for AI.