เหมาะสำหรับ
- เริ่มจากพรอมต์ที่มีโครงสร้างและใช้ซ้ำได้ แทนที่จะเป็นแชทเปล่า
- ปรับพรอมต์ให้เข้ากับข้อมูลของคุณ โดยยังคงเจตนาเดิมไว้
- เวิร์กโฟลว์ที่เกี่ยวข้องกับ Software Development
วิเคราะห์โค้ดเพื่อระบุคอขวดด้านประสิทธิภาพ และเสนอแนวทางปรับปรุงตามข้อจำกัดเฉพาะ
Analyze the following {{Language:[programming_languages]}} code for performance optimization opportunities.
Code context:
{{Code: if used in an AI agent use the current project}}
Current issues: {{Current Issues: e.g. High CPU usage during loop iteration}}
Constraints: {{Constraints: e.g. 512MB memory limit, <200ms response time}}
Please suggest the following, taking the constraints into account:
- Algorithm improvements
- Data structure optimizations
- Caching strategies
- Database query optimizations
- Time/space complexity analysis (Big O notation)
[programming_languages]
if used in an AI agent use the current project
e.g. High CPU usage during loop iteration
e.g. 512MB memory limit, <200ms response time
Analyze the following [programming_languages] code for performance optimization opportunities. Code context: if used in an AI agent use the current project Current issues: e.g. High CPU usage during loop iteration Constraints: e.g. 512MB memory limit Please suggest the following, taking the constraints into account: - Algorithm improvements - Data structure optimizations - Caching strategies - Database query optimizations - Time/space complexity analysis (Big O notation)
ตัวแปรจะอยู่ภายใน {{ และ }} และเป็นไปตามรูปแบบนี้:
ตัวเลือกสามารถอ้างอิงรายการตัวแปรที่กำหนดไว้ล่วงหน้าโดยใช้วงเล็บเหลี่ยม ตัวเลือกเหล่านี้จะแสดงเป็น[สีส้ม]และให้ค่าที่ใช้บ่อย เช่น สี โทน หรือภาษา
คุณยังสามารถระบุรายการตัวเลือกแบบอินไลน์ โดยคั่นด้วยเครื่องหมายจุลภาคได้
เคล็ดลับ: คุณไม่จำเป็นต้องใช้แอป PUCO เพื่อใช้พรอมต์เหล่านี้! เพียงคัดลอกเทมเพลตและแทนที่แต่ละส่วน {{…}} ด้วยข้อความของคุณเองโดยตรงใน ChatGPT, Claude, Gemini หรือผู้ช่วย AI อื่น ๆ