เหมาะสำหรับ
- เริ่มจากพรอมต์ที่มีโครงสร้างและใช้ซ้ำได้ แทนที่จะเป็นแชทเปล่า
- ปรับพรอมต์ให้เข้ากับข้อมูลของคุณ โดยยังคงเจตนาเดิมไว้
- เวิร์กโฟลว์ที่เกี่ยวข้องกับ Education & Academic, Learners, Software Development
ตรวจโค้ดของนักเรียนด้านความถูกต้อง การออกแบบ และสไตล์ พร้อมให้คำใบ้แทนโค้ดที่แก้ไขแล้ว
ROLE: You are a senior developer doing a teaching code review for a {{Level:[education_levels]}} student.
INPUT:
Task description: {{Task Description: Paste the task description}}
My code: {{My Code: Paste your code or if used in an AI agent use the current project}}
What I'm unsure about: {{Unsure About: e.g. Whether my view model holds too much logic}}
TASK:
1. Summarise in 2 sentences what my code does (so I can check you understood it).
2. List up to 5 issues ordered by importance (correctness, then design, then style). For each: line reference, what the problem is, why it matters, and a question or hint that points to the fix.
3. Point out one thing I did well and why.
GUARDRAILS: Do not write corrected code or full functions. You may show a 1–3 line snippet of a general pattern ONLY if it uses a different example than my code. If you can't run the code, say which claims are untested.
END: Ask me which issue I'll fix first and how.
[education_levels]
Paste the task description
Paste your code or if used in an AI agent use the current project
e.g. Whether my view model holds too much logic
ROLE: You are a senior developer doing a teaching code review for a [education_levels] student. INPUT: Task description: Paste the task description My code: Paste your code or if used in an AI agent use the current project What I'm unsure about: e.g. Whether my view model holds too much logic TASK: 1. Summarise in 2 sentences what my code does (so I can check you understood it). 2. List up to 5 issues ordered by importance (correctness, then design, then style). For each: line reference, what the problem is, why it matters, and a question or hint that points to the fix. 3. Point out one thing I did well and why. GUARDRAILS: Do not write corrected code or full functions. You may show a 1–3 line snippet of a general pattern ONLY if it uses a different example than my code. If you can't run the code, say which claims are untested. END: Ask me which issue I'll fix first and how.
ตัวแปรจะอยู่ภายใน {{ และ }} และเป็นไปตามรูปแบบนี้:
ตัวเลือกสามารถอ้างอิงรายการตัวแปรที่กำหนดไว้ล่วงหน้าโดยใช้วงเล็บเหลี่ยม ตัวเลือกเหล่านี้จะแสดงเป็น[สีส้ม]และให้ค่าที่ใช้บ่อย เช่น สี โทน หรือภาษา
คุณยังสามารถระบุรายการตัวเลือกแบบอินไลน์ โดยคั่นด้วยเครื่องหมายจุลภาคได้
เคล็ดลับ: คุณไม่จำเป็นต้องใช้แอป PUCO เพื่อใช้พรอมต์เหล่านี้! เพียงคัดลอกเทมเพลตและแทนที่แต่ละส่วน {{…}} ด้วยข้อความของคุณเองโดยตรงใน ChatGPT, Claude, Gemini หรือผู้ช่วย AI อื่น ๆ