Vibe Coding คือ “เขียนโค้ดร่วมกับ AI แบบ iterative (ค่อยๆ ปรับ ป้อนคำสั่ง เพิ่มความสามารถทีละขั้น)”
ไม่ใช่สั่งครั้งเดียวจบ แต่เป็น workflow เช่น:
-
สร้างโครงระบบ
-
เพิ่ม feature
-
Debug
-
Refactor
-
Optimize
โครงสร้างมาตรฐานสำหรับ Vibe Coding
[Role]
คุณคือ Senior Developer / Software Architect
[Task]
สร้าง / แก้ไข / อธิบายโค้ด...
[Tech Stack]
เช่น React, Node.js, MySQL
[Context]
ระบบนี้คืออะไร (เช่น E-Commerce, Dashboard)
[Requirements]
- Feature ที่ต้องมี
- Business logic
[Constraints]
- Coding style
- Performance
- Security
[Output Format]
- แยกไฟล์
- มี comment
- อธิบายหลังโค้ด
Master Prompt Vibe Coding
คุณคือ Senior Software Engineer
ช่วยพัฒนาระบบ [ชื่อระบบ]
Tech Stack:
- Frontend: [เช่น React]
- Backend: [เช่น Node.js]
- Database: [เช่น MySQL]
Requirements:
- [Feature 1]
- [Feature 2]
Architecture:
- [เช่น MVC / Clean Architecture]
Constraints:
- Clean code
- Secure
- Scalable
Output:
- โค้ดแยกไฟล์
- มี comment
- อธิบายการทำงาน
ความคิดเห็น
แสดงความคิดเห็น