ช่วยรีแฟกเตอร์

A ready-to-use “Programming” 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.