สร้างสมุดรับงานซ่อม: ออกเลขงาน พิมพ์ใบรับ แจ้งสถานะลูกค้าทาง LINE
ทดสอบกับ Claude
ได้ไฟล์ HTML ไฟล์เดียวเปิดในมือถือ ใช้กับร้านซ่อมมือถือ ร้านแก้ผ้า ซ่อมรองเท้า ข้อมูลเก็บในเครื่อง ส่งออกเป็น CSV เปิดใน Excel ได้
ใช้กับ: Claude, ChatGPT, Gemini, Claude Code
Prompt เต็ม พร้อมคัดลอก
You are a web developer who builds practical tools for small shops. Create a "Repair Job Book" for [shop_name] as ONE single HTML file (HTML + CSS + JavaScript in the same file, no external libraries, nothing to install) that works on phones and computers. The shop owner and staff use it, not customers. All on-screen text must be in Thai. Shop details: - Shop name: [shop_name] - Shop code (prefix for job numbers): [shop_code] - Services offered: [services] - Usual days until ready: [days] - Terms printed on the slip: [terms] - Shop contact: [contact] - Main color: [color] Must include: 1. Intake form: customer name (required), contact as LINE name or phone (optional), item received with model and visible marks (required), service (dropdown from [services]), problem or work to do (required), accessories left with the item, estimated price and deposit in baht, pickup date defaulting to today + [days] and editable. Use the device's local date, not UTC. 2. An automatic job number that never repeats: SHOPCODE-YYMMDD-001, counting up within the same day. 3. A job list with tabs: Open jobs / Received / Repairing / Ready for pickup / Returned / All, a search box for job number, name or item, and a status dropdown on each job. Show a warning when an unfinished job is past its pickup date. Ask for confirmation before marking a job Returned and record the return date. 4. On each job: "Send status by LINE" opens https://line.me/R/share?text= with a ready Thai message (customer name, job number, item, status, pickup date, or the remaining balance when ready), "Copy message", "Print slip" that prints only an 80 mm receipt-style job slip, "Edit" and "Delete" with confirmation. 5. A summary at the top: number of open jobs, jobs ready for pickup, and the total remaining balance not yet collected. 6. Store everything in localStorage. Export to CSV that opens in Excel with correct Thai text (add a UTF-8 BOM, use an English file name), a backup button (JSON) and an import button to restore a backup. Design: readable font, at least 16px text, large tap-friendly buttons, [color] as the main color, no horizontal scrolling on phones. Do not: take payments or card numbers on the page, store national ID numbers, phone unlock passcodes or other sensitive customer data, or use LINE Notify or any service that needs a server. Return the complete file in one go, then explain briefly in simple Thai how to save and open it on a phone, how to put it online for free with Netlify Drop or GitHub Pages, and warn that the data lives only on this device, so it should be backed up every week.
คุณคือนักพัฒนาเว็บที่ทำเครื่องมือให้ร้านค้าเล็กใช้จริง ช่วยสร้าง "สมุดรับงานซ่อม" ของร้าน [ชื่อร้าน] เป็นไฟล์ HTML ไฟล์เดียว (HTML + CSS + JavaScript อยู่ในไฟล์เดียว ไม่ใช้ไลบรารีภายนอก ไม่ต้องติดตั้งอะไร) เปิดได้ทั้งมือถือและคอม เจ้าของร้านและพนักงานเป็นคนใช้ ไม่ใช่ลูกค้า ข้อมูลร้าน: - ชื่อร้าน: [ชื่อร้าน] - ตัวย่อร้าน (ใช้ขึ้นต้นเลขที่งาน): [ตัวย่อร้าน] - บริการของร้าน: [บริการ] - ปกติใช้เวลากี่วันเสร็จ: [จำนวนวัน] - เงื่อนไขที่พิมพ์บนใบรับงาน: [เงื่อนไข] - ช่องทางติดต่อร้าน: [ช่องทางติดต่อ] - สีหลักของร้าน: [สีร้าน] สิ่งที่ต้องมี: 1. ฟอร์มรับงาน: ชื่อลูกค้า (บังคับ), ช่องทางติดต่อเป็นชื่อ LINE หรือเบอร์โทร (ไม่บังคับ), ของที่รับซ่อม พร้อมรุ่นและตำหนิที่เห็น (บังคับ), บริการ (เลือกจาก [บริการ]), อาการหรือสิ่งที่ต้องทำ (บังคับ), ของที่ติดมาด้วย, ราคาประเมินและมัดจำเป็นบาท, วันนัดรับตั้งต้นเป็นวันนี้ + [จำนวนวัน] และแก้ได้ ใช้วันที่ตามเวลาในเครื่อง ไม่ใช้เวลา UTC 2. เลขที่งานอัตโนมัติไม่ซ้ำ รูปแบบ ตัวย่อร้าน-ปีเดือนวัน-001 นับต่อกันภายในวันเดียวกัน 3. รายการงานแบ่งแท็บ งานค้าง / รับงาน / กำลังซ่อม / เสร็จรอรับ / ส่งคืนแล้ว / ทั้งหมด มีช่องค้นหาด้วยเลขที่งาน ชื่อ หรือของ และช่องเลือกสถานะในแต่ละงาน ถ้างานยังไม่เสร็จแต่เลยวันนัดให้ขึ้นคำเตือน ก่อนเปลี่ยนเป็นส่งคืนแล้วต้องถามยืนยันและบันทึกวันที่ส่งคืน 4. ในแต่ละงานมีปุ่ม "ส่งสถานะทาง LINE" เปิดลิงก์ https://line.me/R/share?text= พร้อมข้อความภาษาไทย (ชื่อลูกค้า เลขที่งาน ของ สถานะ วันนัดรับ หรือยอดคงเหลือเมื่อเสร็จแล้ว), ปุ่ม "คัดลอกข้อความ", ปุ่ม "พิมพ์ใบรับงาน" ที่พิมพ์เฉพาะใบรับงานแบบสลิปกว้าง 80 มม., ปุ่ม "แก้ไข" และปุ่ม "ลบ" ที่ถามยืนยันก่อน 5. สรุปด้านบน: จำนวนงานค้าง งานเสร็จรอรับ และยอดคงเหลือที่ยังไม่ได้เก็บเงินรวม 6. เก็บข้อมูลทั้งหมดในเครื่องด้วย localStorage มีปุ่มส่งออกเป็น CSV ที่เปิดใน Excel แล้วภาษาไทยไม่เพี้ยน (ใส่ UTF-8 BOM และตั้งชื่อไฟล์เป็นภาษาอังกฤษ) ปุ่มสำรองข้อมูลเป็นไฟล์ JSON และปุ่มนำเข้าไฟล์สำรองกลับมา หน้าตา: ภาษาไทยทั้งหมด ฟอนต์อ่านง่าย ตัวหนังสืออย่างน้อย 16px ปุ่มใหญ่กดง่ายบนมือถือ ใช้ [สีร้าน] เป็นสีหลัก ไม่มีแถบเลื่อนแนวนอนบนมือถือ ข้อห้าม: ไม่รับชำระเงินหรือเลขบัตรเครดิตในหน้าเว็บ ไม่เก็บเลขบัตรประชาชน รหัสปลดล็อกเครื่อง หรือข้อมูลอ่อนไหวของลูกค้า ไม่ใช้ LINE Notify หรือบริการที่ต้องมีเซิร์ฟเวอร์ ส่งโค้ดเต็มทั้งไฟล์ในครั้งเดียว แล้วอธิบายสั้นๆ ด้วยภาษาง่าย: วิธีบันทึกไฟล์และเปิดใช้ในมือถือ วิธีเอาขึ้นออนไลน์ฟรีด้วย Netlify Drop หรือ GitHub Pages และเตือนว่าข้อมูลอยู่ในเครื่องนี้เท่านั้น ควรกดสำรองข้อมูลทุกสัปดาห์
คำ[ในวงเล็บสีแดง] แก้เป็นของคุณได้
คำใน [ ] ที่ต้องแก้
[shop_name]ชื่อร้านชื่อร้านที่ขึ้นบนหน้าเว็บและใบรับงานเช่น เอกโมบายเซอร์วิส[shop_code]ตัวย่อร้านตัวอักษรอังกฤษ 2-4 ตัว ใช้ขึ้นต้นเลขที่งานเช่น EM[services]บริการบริการที่ร้านรับ คั่นด้วยจุลภาคเช่น เปลี่ยนจอ, เปลี่ยนแบตเตอรี่, ซ่อมช่องชาร์จ, เครื่องตกน้ำ, ลงโปรแกรม, อื่นๆ[days]จำนวนวันปกติใช้เวลากี่วันถึงเสร็จ ใช้ตั้งวันนัดรับเช่น 3 วัน[terms]เงื่อนไขข้อความสั้นที่พิมพ์ท้ายใบรับงานเช่น ของที่ไม่มารับเกิน 60 วัน ทางร้านขอสงวนสิทธิ์ไม่รับผิดชอบ[contact]ช่องทางติดต่อLINE เพจ หรือเบอร์ร้านเช่น LINE @ekmobile[color]สีร้านสีหลักของหน้าเว็บเช่น น้ำเงินสด
เวอร์ชันตัวอย่าง
ร้านซ่อมมือถือ
ผลลัพธ์ เวอร์ชันที่ทดสอบสร้างจริงแล้ว รับงาน ออกเลขงาน เปลี่ยนสถานะ ส่งข้อความ LINE พิมพ์ใบรับงาน และส่งออก CSV ทำงานบนจอมือถือ
You are a web developer who builds practical tools for small shops. Create a "Repair Job Book" for เอกโมบายเซอร์วิส as ONE single HTML file (HTML + CSS + JavaScript in the same file, no external libraries, nothing to install) that works on phones and computers. The shop owner and staff use it, not customers. All on-screen text must be in Thai. Shop details: - Shop name: เอกโมบายเซอร์วิส - Shop code (prefix for job numbers): EM - Services offered: เปลี่ยนจอ, เปลี่ยนแบตเตอรี่, ซ่อมช่องชาร์จ, เครื่องตกน้ำ, ลงโปรแกรม, อื่นๆ - Usual days until ready: 3 วัน - Terms printed on the slip: ของที่ไม่มารับเกิน 60 วัน ทางร้านขอสงวนสิทธิ์ไม่รับผิดชอบ - Shop contact: LINE @ekmobile - Main color: น้ำเงินสด Must include: 1. Intake form: customer name (required), contact as LINE name or phone (optional), item received with model and visible marks (required), service (dropdown from เปลี่ยนจอ, เปลี่ยนแบตเตอรี่, ซ่อมช่องชาร์จ, เครื่องตกน้ำ, ลงโปรแกรม, อื่นๆ), problem or work to do (required), accessories left with the item, estimated price and deposit in baht, pickup date defaulting to today + 3 วัน and editable. Use the device's local date, not UTC. 2. An automatic job number that never repeats: SHOPCODE-YYMMDD-001, counting up within the same day. 3. A job list with tabs: Open jobs / Received / Repairing / Ready for pickup / Returned / All, a search box for job number, name or item, and a status dropdown on each job. Show a warning when an unfinished job is past its pickup date. Ask for confirmation before marking a job Returned and record the return date. 4. On each job: "Send status by LINE" opens https://line.me/R/share?text= with a ready Thai message (customer name, job number, item, status, pickup date, or the remaining balance when ready), "Copy message", "Print slip" that prints only an 80 mm receipt-style job slip, "Edit" and "Delete" with confirmation. 5. A summary at the top: number of open jobs, jobs ready for pickup, and the total remaining balance not yet collected. 6. Store everything in localStorage. Export to CSV that opens in Excel with correct Thai text (add a UTF-8 BOM, use an English file name), a backup button (JSON) and an import button to restore a backup. Design: readable font, at least 16px text, large tap-friendly buttons, น้ำเงินสด as the main color, no horizontal scrolling on phones. Do not: take payments or card numbers on the page, store national ID numbers, phone unlock passcodes or other sensitive customer data, or use LINE Notify or any service that needs a server. Return the complete file in one go, then explain briefly in simple Thai how to save and open it on a phone, how to put it online for free with Netlify Drop or GitHub Pages, and warn that the data lives only on this device, so it should be backed up every week.
ร้านแก้เสื้อผ้า
ผลลัพธ์ สมุดรับงานแก้ผ้า นัดรับ 5 วัน ใบรับงานมีเงื่อนไขแก้ฟรี เหมาะร้านที่รับงานวันละหลายชิ้น
You are a web developer who builds practical tools for small shops. Create a "Repair Job Book" for ร้านเย็บผ้าป้าแดง as ONE single HTML file (HTML + CSS + JavaScript in the same file, no external libraries, nothing to install) that works on phones and computers. The shop owner and staff use it, not customers. All on-screen text must be in Thai. Shop details: - Shop name: ร้านเย็บผ้าป้าแดง - Shop code (prefix for job numbers): PD - Services offered: ตัดขากางเกง, เปลี่ยนซิป, ขยายเอว, ปะชุน, ตัดชุดใหม่ - Usual days until ready: 5 วัน - Terms printed on the slip: กรุณาลองชุดก่อนรับ แก้ไขฟรี 1 ครั้งภายใน 7 วัน - Shop contact: โทร 08x-xxx-xxxx - Main color: ชมพูกลีบบัว Must include: 1. Intake form: customer name (required), contact as LINE name or phone (optional), item received with model and visible marks (required), service (dropdown from ตัดขากางเกง, เปลี่ยนซิป, ขยายเอว, ปะชุน, ตัดชุดใหม่), problem or work to do (required), accessories left with the item, estimated price and deposit in baht, pickup date defaulting to today + 5 วัน and editable. Use the device's local date, not UTC. 2. An automatic job number that never repeats: SHOPCODE-YYMMDD-001, counting up within the same day. 3. A job list with tabs: Open jobs / Received / Repairing / Ready for pickup / Returned / All, a search box for job number, name or item, and a status dropdown on each job. Show a warning when an unfinished job is past its pickup date. Ask for confirmation before marking a job Returned and record the return date. 4. On each job: "Send status by LINE" opens https://line.me/R/share?text= with a ready Thai message (customer name, job number, item, status, pickup date, or the remaining balance when ready), "Copy message", "Print slip" that prints only an 80 mm receipt-style job slip, "Edit" and "Delete" with confirmation. 5. A summary at the top: number of open jobs, jobs ready for pickup, and the total remaining balance not yet collected. 6. Store everything in localStorage. Export to CSV that opens in Excel with correct Thai text (add a UTF-8 BOM, use an English file name), a backup button (JSON) and an import button to restore a backup. Design: readable font, at least 16px text, large tap-friendly buttons, ชมพูกลีบบัว as the main color, no horizontal scrolling on phones. Do not: take payments or card numbers on the page, store national ID numbers, phone unlock passcodes or other sensitive customer data, or use LINE Notify or any service that needs a server. Return the complete file in one go, then explain briefly in simple Thai how to save and open it on a phone, how to put it online for free with Netlify Drop or GitHub Pages, and warn that the data lives only on this device, so it should be backed up every week.
ร้านซ่อมรองเท้าและกระเป๋า
ผลลัพธ์ สมุดรับงานโทนน้ำตาล นัดรับ 7 วัน ใช้ส่งข้อความแจ้งลูกค้าเมื่องานเสร็จ
You are a web developer who builds practical tools for small shops. Create a "Repair Job Book" for ช่างโอ๋ซ่อมรองเท้า as ONE single HTML file (HTML + CSS + JavaScript in the same file, no external libraries, nothing to install) that works on phones and computers. The shop owner and staff use it, not customers. All on-screen text must be in Thai. Shop details: - Shop name: ช่างโอ๋ซ่อมรองเท้า - Shop code (prefix for job numbers): OS - Services offered: เปลี่ยนพื้น, ติดกาว, เย็บซ่อม, ทำสี, ซ่อมซิปกระเป๋า - Usual days until ready: 7 วัน - Terms printed on the slip: งานทำสีอาจต่างจากสีเดิมเล็กน้อย - Shop contact: LINE @ohshoes - Main color: น้ำตาลหนัง Must include: 1. Intake form: customer name (required), contact as LINE name or phone (optional), item received with model and visible marks (required), service (dropdown from เปลี่ยนพื้น, ติดกาว, เย็บซ่อม, ทำสี, ซ่อมซิปกระเป๋า), problem or work to do (required), accessories left with the item, estimated price and deposit in baht, pickup date defaulting to today + 7 วัน and editable. Use the device's local date, not UTC. 2. An automatic job number that never repeats: SHOPCODE-YYMMDD-001, counting up within the same day. 3. A job list with tabs: Open jobs / Received / Repairing / Ready for pickup / Returned / All, a search box for job number, name or item, and a status dropdown on each job. Show a warning when an unfinished job is past its pickup date. Ask for confirmation before marking a job Returned and record the return date. 4. On each job: "Send status by LINE" opens https://line.me/R/share?text= with a ready Thai message (customer name, job number, item, status, pickup date, or the remaining balance when ready), "Copy message", "Print slip" that prints only an 80 mm receipt-style job slip, "Edit" and "Delete" with confirmation. 5. A summary at the top: number of open jobs, jobs ready for pickup, and the total remaining balance not yet collected. 6. Store everything in localStorage. Export to CSV that opens in Excel with correct Thai text (add a UTF-8 BOM, use an English file name), a backup button (JSON) and an import button to restore a backup. Design: readable font, at least 16px text, large tap-friendly buttons, น้ำตาลหนัง as the main color, no horizontal scrolling on phones. Do not: take payments or card numbers on the page, store national ID numbers, phone unlock passcodes or other sensitive customer data, or use LINE Notify or any service that needs a server. Return the complete file in one go, then explain briefly in simple Thai how to save and open it on a phone, how to put it online for free with Netlify Drop or GitHub Pages, and warn that the data lives only on this device, so it should be backed up every week.
Prompt นี้ช่วยอะไร
ร้านรับซ่อมหลายร้านยังจดงานในสมุดหรือแปะกระดาษไว้กับของ พอลูกค้าทักมาถามว่าเสร็จหรือยังก็ต้องไล่หา Prompt นี้ให้ AI สร้างสมุดรับงานซ่อมเป็นหน้าเว็บไฟล์เดียว ใช้ในมือถือได้เลย ไม่ต้องเขียนโค้ดเองครับ
- ออกเลขที่งานอัตโนมัติ ตามวันที่รับ ไม่ซ้ำกัน ค้นหาได้ทั้งเลขงานและชื่อลูกค้า
- พิมพ์ใบรับงาน ขนาดสลิปพร้อมราคาประเมิน มัดจำ ยอดคงเหลือ และวันนัดรับ
- แจ้งสถานะทาง LINE กดปุ่มเดียวได้ข้อความพร้อมส่ง ไม่ต้องพิมพ์ใหม่ทุกครั้ง
- สรุปงานค้างและยอดค้างรับ เห็นทันทีว่าวันนี้มีกี่งานรอทำ กี่งานรอลูกค้ามารับ
ทำเครื่องมือร้านเพิ่มได้ด้วย Prompt สร้างเครื่องทำใบเสนอราคาและใบเสร็จ และ Prompt สร้างระบบจองคิวร้าน
คำถามเกี่ยวกับ Prompt นี้
ต้องมีเครื่องพิมพ์สลิปไหม
ไม่จำเป็น พิมพ์กับเครื่องพิมพ์ธรรมดาได้ หรือไม่พิมพ์เลยแล้วส่งเลขที่งานให้ลูกค้าทาง LINE แทนก็ได้
ปุ่มส่ง LINE ส่งหาลูกค้าอัตโนมัติไหม
ไม่อัตโนมัติ ปุ่มจะเปิดแอป LINE พร้อมข้อความ ร้านเลือกแชตลูกค้าแล้วกดส่งเอง จึงไม่ต้องมีเซิร์ฟเวอร์หรือค่าบริการ
ใช้หลายเครื่องพร้อมกันได้ไหม
ข้อมูลเก็บในเครื่องที่เปิดเท่านั้น ถ้าจะย้ายเครื่องให้กดสำรองข้อมูลแล้วนำเข้าที่เครื่องใหม่ ถ้าอยากใช้หลายเครื่องพร้อมกัน ให้ขอ AI ต่อยอดเป็นแบบส่งเข้า Google Sheets
ต้องเสียค่าใช้จ่ายไหม
ตัวไฟล์ไม่มีค่าใช้จ่าย เปิดในเครื่องได้เลย ถ้าเอาขึ้น Netlify Drop หรือ GitHub Pages แบบพื้นฐานก็ใช้ฟรี
ข้อควรระวังห้ามจดรหัสปลดล็อกเครื่องหรือรหัสผ่านของลูกค้าลงในช่องใดๆ ถ้าจำเป็นต้องใช้ ให้ลูกค้าปลดล็อกเองต่อหน้าแล้วจดไว้ที่อื่นที่ทิ้งได้ทันที
