for Beginners
Build it step-by-step through conversation
ค่อยๆ สร้างไปกับ AI
A text file that tells AI what you want
Like an "onboarding doc" for your AI assistant
คู่มือพนักงานคนใหม่
AI reads this file every time you start a session
ถ้าไม่มี: AI doesn't know you, explain everything every time
ถ้ามี: AI knows you, your style, what to do
ไม่มี = อธิบายใหม่ทุกครั้ง / มี = AI รู้จักคุณ
1 Talk — แนะนำตัวกับ AI
2 Create — ให้ AI สร้าง CLAUDE.md
3 Revise — ปรับปรุงไปเรื่อยๆ
No need to write code — just chat!
Introduce yourself
AI writes the file for you!
Found something missing? Tell AI to add it
CLAUDE.md grows with your needs
1. Start small เริ่มเล็กๆ — Just name + 2-3 rules แค่ชื่อ + 2-3 กฎ
2. Add gradually เพิ่มทีละนิด — Found a problem? Tell AI เจอปัญหา? บอก AI เพิ่ม
3. Be specific เจาะจง — "อย่าอ่าน node_modules" > "ระวังด้วย"
4. Test it ทดสอบ — New session, does AI follow? เปิดใหม่ AI ทำตามไหม?
/clear — Start fresh session
Ask a rule — "What time zone do you use?"
Check — AI should answer from CLAUDE.md
✓ Follows your rules = Working!
✗ Generic answer = Check file location
1 Talk คุย — Tell AI about yourself
2 Create สร้าง — "Create CLAUDE.md from what I said"
3 Revise ปรับ — "Add this rule..." / "Change that..."
No coding needed — just conversation!
ไม่ต้องเขียนโค้ด แค่คุยกับ AI
Open Claude Code and start chatting
Tell AI about yourself, then ask it to create CLAUDE.md
Takes 5 minutes, helps every session
ใช้เวลาแค่ 5 นาที แต่ช่วยได้ทุก session
แล้วจะเกิดอะไรต่อ?
Week 1-2 — CLAUDE.md gets longer ยาวขึ้นเรื่อยๆ
Week 3-4 — Personal + project rules ปนกัน
Then... — Ask AI to split! ให้ AI ช่วยแยก!
ใช้ได้ทุกโปรเจค
CLAUDE.md อยู่ที่ไหนได้บ้าง?
$HOME/.claude/CLAUDE.md — Personal ใช้ทุก project
./CLAUDE.md — Project shared แชร์กับทีม
./.claude/CLAUDE.md — Project shared แชร์กับทีม
./CLAUDE.local.md — Personal + Project ส่วนตัว gitignored
AI reads all automatically! อ่านทั้งหมดอัตโนมัติ
/memory — see loaded files ดูไฟล์ที่โหลดขึ้นมาใช้งาน