เหมาะสำหรับ
- เริ่มจากพรอมต์ที่มีโครงสร้างและใช้ซ้ำได้ แทนที่จะเป็นแชทเปล่า
- ปรับพรอมต์ให้เข้ากับข้อมูลของคุณ โดยยังคงเจตนาเดิมไว้
- เวิร์กโฟลว์ที่เกี่ยวข้องกับ Software Development
วิเคราะห์และรีแฟกเตอร์โค้ดเพื่อปรับปรุงประสิทธิภาพ ความอ่านง่าย และการยึดตามแนวปฏิบัติที่ดีที่สุด
Act as an expert software engineer. Review and refactor the following code to improve {{Focus Area:[code_focus_areas]}}. Ensure the solution is written in {{Language:[programming_languages]}} and matches the understanding of a {{Skill Level:[skill_levels]}} developer.
Context and Topic: {{Context: if used in an AI agent use the current project}}
Code to refactor:
{{Code: e.g. Paste your code snippet here}}
[code_focus_areas]
[programming_languages]
[skill_levels]
if used in an AI agent use the current project
e.g. Paste your code snippet here
Act as an expert software engineer. Review and refactor the following code to improve [code_focus_areas]. Ensure the solution is written in [programming_languages] and matches the understanding of a [skill_levels] developer. Context and Topic: if used in an AI agent use the current project Code to refactor: e.g. Paste your code snippet here
ตัวแปรจะอยู่ภายใน {{ และ }} และเป็นไปตามรูปแบบนี้:
ตัวเลือกสามารถอ้างอิงรายการตัวแปรที่กำหนดไว้ล่วงหน้าโดยใช้วงเล็บเหลี่ยม ตัวเลือกเหล่านี้จะแสดงเป็น[สีส้ม]และให้ค่าที่ใช้บ่อย เช่น สี โทน หรือภาษา
คุณยังสามารถระบุรายการตัวเลือกแบบอินไลน์ โดยคั่นด้วยเครื่องหมายจุลภาคได้
เคล็ดลับ: คุณไม่จำเป็นต้องใช้แอป PUCO เพื่อใช้พรอมต์เหล่านี้! เพียงคัดลอกเทมเพลตและแทนที่แต่ละส่วน {{…}} ด้วยข้อความของคุณเองโดยตรงใน ChatGPT, Claude, Gemini หรือผู้ช่วย AI อื่น ๆ