ให้ AI อธิบายโค้ดนี้

A ready-to-use “การเขียนโปรแกรม” AI prompt template. Replace the (bracketed) parts below with your own needs.

Prompt template
ช่วยอธิบายให้แม้แต่มือใหม่ก็เข้าใจได้ว่าโค้ดด้านล่างทำอะไรและทำไมจึงเขียนแบบนี้ พร้อมชี้จุดที่สามารถปรับปรุงได้:

(วางโค้ดที่นี่)

How to use this prompt

  1. Copy the whole prompt above and paste it into 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.