TanqoryDocs

ทำธีมต่อในเครื่องมือ AI อื่น

ธีมแบบกำหนดเองเป็นของร้าน เครื่องมือ AI ใดที่ร้านเชื่อมต่อไว้จึงอ่านโค้ดและทำต่อได้ โดยร้านค้าอนุมัติทุกการ build ใหม่และทุกการเผยแพร่ รันจริงบนสภาพแวดล้อมทดสอบของ Tanqory

ธีมแบบกำหนดเองที่ AI สร้างใน Advanced mode (ดู สร้างให้ร้านตัวเองแทน) เป็นของร้าน ไม่ใช่ของเครื่องมือ AI ที่สร้าง เครื่องมือใดที่ร้านเชื่อมต่อไว้ก็หยิบไปทำต่อได้

การเชื่อมต่อมีทำได้
read_themesดูรายการธีมแบบกำหนดเองของร้าน (theme_get) อ่านโค้ดของธีม (theme_code_files) ติดตามการ build (theme_build_status) และถ่ายภาพหน้าจอ preview (theme_preview_screenshot)
write_themesพักไฟล์ที่แก้ (theme_code_push ด้วย handle เดิม) build ธีมใหม่ด้วยไฟล์เหล่านั้น (theme_code_commit) และเผยแพร่ (theme_publish)

ทุกการ build ใหม่และทุกการเผยแพร่ ร้านค้ายังต้องกดอนุมัติก่อนเสมอ ไม่ว่าเครื่องมือไหนขอ การเชื่อมต่อกับร้านอื่นมองไม่เห็นธีมเหล่านี้

ธีมเดียว เครื่องมือ AI สองตัว
  1. เครื่องมือ AI A → Tanqory theme_code_push riverside-stay ทีละส่วน แล้ว theme_code_commit
  2. ร้านค้า → เครื่องมือ AI A อนุมัติการ build
  3. Tanqory build และตรวจใน sandbox แล้วติดตั้งเป็นฉบับร่างของร้าน
  4. เครื่องมือ AI B → Tanqory theme_code_files riverside-stay
  5. Tanqory → เครื่องมือ AI B ทุกไฟล์ที่แก้ได้ และเครื่องมือที่ทำแต่ละ build
  6. เครื่องมือ AI B → Tanqory theme_code_push riverside-stay เฉพาะไฟล์ที่แก้ แล้ว theme_code_commit
  7. ร้านค้า → เครื่องมือ AI B อนุมัติ Rebuild your custom theme
  8. Tanqory build อีกครั้ง ฉบับร่างเดิมถูกอัปเดต

สิ่งที่เรารัน

เมื่อ 2026-11-15 บนร้านทดสอบจาก ตัวอย่าง Room Booking ด้วยการเชื่อมต่อสองชุดแยกกัน ทั้งสองเป็น Claude Code ที่เข้าสู่ระบบแยกกัน ซึ่งเป็นสิ่งเดียวกับที่ server เห็นเมื่อเครื่องมือที่สองเป็น ChatGPT, Claude หรือ Cursor: การเชื่อมต่ออีกชุดที่มีสิทธิ์ที่อนุมัติไว้กับร้านเดียวกัน

prompt เขียนเป็นภาษาอังกฤษเพราะเป็นชุดที่เราใช้จริง

เครื่องมือ A เริ่มธีม

Text
Use the tanqory tools. I want a new look for my store Riverside Hotel Demo that is not Nova: Advanced mode.

Start with theme_scaffold. Then design a custom theme with the handle "riverside-stay" for a small riverside hotel: a calm home page with a full-width welcome, a "Our rooms" grid of the store's products, a short "Getting here" section, cream and deep green colours, a serif for headings, no blue. Keep the scaffold's rules. Stage the files with theme_code_push, about 32 KB per call, then call theme_code_commit. I am the merchant and I approve this build: when the commit shows the confirmation card, call it again with only the confirmation token. Then follow it with theme_build_status until it is ready or fails; if it fails, stage only the files you fix and commit again (I approve rebuilds of riverside-stay). Do not publish. When it is ready, call theme_preview_screenshot for the home page and tell me what it shows.

build ผ่านตั้งแต่ครั้งแรก ผ่านการตรวจมาตรฐาน และติดตั้งเป็นฉบับร่าง ใช้เวลาราวสิบสองนาที หน้า Themes แสดงธีมนี้ใน Other themes

รายการ Other themes ในหน้า Themes ของร้าน: Riverside Stay ฉบับร่างที่มีป้าย Custom และ Baan Rim Nam ฉบับร่างของนักพัฒนา แต่ละธีมมีปุ่ม Customizeรายการ Other themes ในหน้า Themes ของร้าน: Riverside Stay ฉบับร่างที่มีป้าย Custom และ Baan Rim Nam ฉบับร่างของนักพัฒนา แต่ละธีมมีปุ่ม Customize

เครื่องมือ B ทำต่อ

Text
Use the tanqory tools. My store has a custom theme "riverside-stay" that I started in another AI tool. Read its code with theme_code_files, and tell me which connection made each build in its history.

Then change only the home page's welcome section: add the line "Rooms by the water, ten minutes from the old town" under the heading, and make the welcome's buttons terracotta. Keep every other file as it is. Stage only the files you change with theme_code_push under the same handle, then call theme_code_commit. I am the merchant and I approve this rebuild: when the commit shows the confirmation card, call it again with only the confirmation token. Follow it with theme_build_status until it is ready, then call theme_preview_screenshot for the home page. Do not publish.

อ่านไฟล์ 25 ไฟล์และประวัติการ build (หนึ่ง build จากการเชื่อมต่ออีกชุด) แก้เฉพาะส่วนต้อนรับ แล้ว push ธีมกลับ การ push ครั้งแรกถูกปฏิเสธเพราะขาดไฟล์หนึ่ง การ push ต้องส่งทั้งธีมเสมอ จึงดึงไฟล์นั้นมาแล้วส่งครบ 25 ไฟล์อีกครั้ง การ build ใหม่ผ่าน และภาพ preview แสดงบรรทัดใหม่และปุ่มสีอิฐ

ทำด้วยเครื่องมือของคุณเอง

  1. เชื่อมต่อเครื่องมือที่สองกับร้านเดียวกัน และอนุมัติสิทธิ์ธีม (เชื่อมต่อเครื่องมือ AI)
  2. ขอให้ดูรายการธีมของร้านและอ่านธีมแบบกำหนดเอง: "Use the tanqory tools. Read the code of my custom theme <handle> with theme_code_files."
  3. อธิบายสิ่งที่จะแก้ ขอให้เก็บไฟล์อื่นไว้ตามเดิม และ push ทั้งธีมกลับด้วยhandle เดิม
  4. อนุมัติ Rebuild your custom theme เมื่อเครื่องมือแสดงขึ้นมา เครื่องมือจะติดตามการ build และแสดงภาพ preview
  5. เผยแพร่เมื่อพอใจเท่านั้น ธีมต้องผ่านการตรวจทุกข้อก่อน และคุณต้องอนุมัติการเผยแพร่ด้วย

ต่อไป

สร้างธีมด้วย AI: Baan Rim Nam · แก้ปัญหา

สร้างจาก commit c0b3fb3fdef7 · เวอร์ชัน API 2026-10