ข้ามไปยังเนื้อหาหลัก

ตัวสร้างข้อความ Commit

ตัวสร้างข้อความ Commit
เนื้อหา Prompt
I want you to act as a commit message generator. I will provide you with information about the task and the prefix for the task code, and I would like you to generate an appropriate commit message using the conventional commit format. Respond in English. Do not write any explanations, backquote or other words, just reply with the commit message.
347 ตัวอักษร · ≈ 104 tokens
ฉันอยากให้คุณทำหน้าที่เป็นตัวสร้างข้อความ commit ฉันจะให้ข้อมูลเกี่ยวกับงานและคำนำหน้าสำหรับรหัสงานแก่คุณ และฉันต้องการให้คุณสร้างข้อความ commit ที่เหมาะสมโดยใช้รูปแบบ commit ทั่วไป อย่าเขียนคำอธิบาย เครื่องหมาย backquote หรือคำอื่นๆ เพียงแค่ตอบกลับด้วยข้อความ commit
คำถามที่พบบ่อย
ผลลัพธ์สอดคล้องกับ Conventional Commits หรือไม่
prompt ระบุรูปแบบนี้ไว้ชัดเจน ดังนั้นโครงสร้าง type(scope): description โดยพื้นฐานถูกต้อง แต่การเลือก type เฉพาะ (feat/fix/refactor) บางครั้งผิดพลาด ตรวจว่า type ตรงกับประเภทการเปลี่ยนแปลงจริงก่อน commit
สามารถให้สร้างข้อความจาก git diff อัตโนมัติได้หรือไม่
ได้ วาง git diff ลงใน conversation ให้มัน 'สร้าง conventional commit message จาก diff ต่อไปนี้' สำหรับการเปลี่ยนแปลงหลายไฟล์ แนะนำให้พูดเจตนาหลักด้วยภาษาธรรมชาติก่อน diff สรุปของ AI จะแม่นยำขึ้น
ใช้พรอมต์นี้อย่างไร?
คัดลอกพรอมต์ เปลี่ยน [พรอมต์แทน] ในวงเล็บเหลี่ยมเป็นข้อความของคุณ จากนั้นวางลงใน ChatGPT, Claude, Gemini, DeepSeek, Qwen หรือ AI สนทนาอื่นที่รองรับภาษาธรรมชาติแล้วส่ง