ความรู้ AI agent อยู่ 3 ชั้น: chat / memory / repo — อะไรรอด /clear

เคลียร์ session แล้ว AI ลืมอะไร ไม่ลืมอะไร? ความรู้ agent อยู่ได้ 3 ชั้น — chat context, agent memory, repo files — ต่างกันที่ 'รอด /clear ไหม' และ 'ใครเห็น'. วางผิดชั้น = หายหรือหลุด — vendor-neutral

#ai-agent#memory#context-window#knowledge-management
ความรู้ AI agent อยู่ 3 ชั้น: chat / memory / repo — อะไรรอด /clear

context window ทำงานยังไง — และทำไม prompt cache ถูกลง ~10 เท่า

AI 'จำ' บทสนทนาได้ยังไง ทั้งที่ LLM ลืมทุก turn? เข้าใจ context window (payload ต่อ turn ≠ ไฟล์ประวัติแชท), อะไรกิน window, และ prompt caching ที่ทำให้คุยรัว ๆ ถูกกว่าทิ้งไว้นาน — vendor-neutral

#ai-agent#context-window#prompt-caching#llm
context window ทำงานยังไง — และทำไม prompt cache ถูกลง ~10 เท่า

AI agent ลืมทุกอย่าง? เพราะ memory ผูกกับ path (worktree มีของตัวเอง)

เปิด session ใหม่โฟลเดอร์เดิมแต่ agent จำอะไรไม่ได้ — เพราะ memory ผูกกับ path ของ cwd. git worktree/symlink/subfolder = memory กองใหม่ (ว่าง). อธิบาย + วิธีกัน แบบ vendor-neutral

#ai-agent#git#worktree#claude-code
AI agent ลืมทุกอย่าง? เพราะ memory ผูกกับ path (worktree มีของตัวเอง)

เลิกสั่งซ้ำ: codify workflow ที่ทำบ่อย ให้เป็น command เดียวของ AI agent

งานหลายขั้นที่สั่ง agent เหมือนเดิมทุกครั้ง = ควร codify เป็น reusable command/skill ครั้งเดียว. เล่าจากของจริง: skill ที่ลงบทความบล็อกให้อัตโนมัติ + วิธีทำในเครื่องมืออื่น

#ai-agent#claude-code#skills#automation
เลิกสั่งซ้ำ: codify workflow ที่ทำบ่อย ให้เป็น command เดียวของ AI agent

รัน AI agent หลายตัวขนานกันด้วย git worktree (vs สลับ branch)

อยากให้ session นึงทำ feature อีก session ทำ docs พร้อมกัน แต่มันตีกัน — เพราะ 1 โฟลเดอร์ = 1 branch. git worktree แก้ได้: เทียบ parallel worktree กับ switch branch + วิธีใช้ + gotchas

#git#worktree#ai-agent#parallel
รัน AI agent หลายตัวขนานกันด้วย git worktree (vs สลับ branch)

ทำงานกับ AI coding agent ยาวๆ โดยไม่หลงทาง: ระบบ handoff ที่ resume ได้

context เต็ม/เปลี่ยน session แล้ว agent ลืมหมด — วิธีทำ state machine จากไฟล์ (PLAN/PROGRESS/HANDOFF + memory + git) ให้ resume โปรเจกต์หลายเฟสต่อได้ทุกครั้ง แบบ vendor-neutral

#ai-agent#workflow#claude-code#productivity
ทำงานกับ AI coding agent ยาวๆ โดยไม่หลงทาง: ระบบ handoff ที่ resume ได้

ตรวจงาน AI agent ให้เป็น: เทียบ plan–git–tracker ใน 1 นาที

AI บอกว่า 'เสร็จแล้ว' เชื่อได้แค่ไหน? วิธี audit งาน AI agent ด้วย 3 บันทึกอิสระ — PLAN (สัญญา) · git (ทำจริง) · tracker (สรุปฉบับคน) พร้อม checklist 1 นาที + red flags

#ai-agent#workflow#git#audit
ตรวจงาน AI agent ให้เป็น: เทียบ plan–git–tracker ใน 1 นาที

ความรู้ของ AI agent ควรอยู่ที่ไหน? — source of truth เดียว ไม่ให้ drift

rule/workflow เดียวไปเขียนไว้ทั้ง memory + skill + doc → แก้ที่นึงลืมอีกที่ = ขัดกัน. แผนที่ว่าความรู้แต่ละแบบควรอยู่ที่ไหน + กติกา source of truth เดียว + pointer แบบ vendor-neutral

#ai-agent#workflow#claude-code#memory
ความรู้ของ AI agent ควรอยู่ที่ไหน? — source of truth เดียว ไม่ให้ drift

GitHub Copilot ตอบไม่ตรงงาน? ตั้งค่า 5 จุดก่อนใช้กับ Monorepo

ก่อนโทษว่า Copilot ยังไม่เก่ง ลองเช็ก 5 จุดสำคัญในการตั้งค่า Custom Instructions, Prompts, Skills, MCP, Agents รวมถึง monorepo structure และการ delegate งานให้ subagent

#github-copilot#copilot-customization#custom-instructions#custom-prompts
GitHub Copilot ตอบไม่ตรงงาน? ตั้งค่า 5 จุดก่อนใช้กับ Monorepo