Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

uncle-todo

โปรเจกต์ตัวอย่างสำหรับคอร์ส OpenClaw and Claude Code 101 EP.6 — Claude Code สำหรับ Bug Fixing

CLI Todo List แบบเรียบง่ายเขียนด้วย Python ในไฟล์เดียว มีบั๊กแฝงอยู่ 3 จุด ใช้สำหรับฝึกใช้ Claude Code แก้บั๊กตาม workflow Report → Analyze → Execute → Verify


สิ่งที่ต้องมีก่อน

  • Python 3.8 ขึ้นไป (ตรวจด้วย python3 --version)
  • pytest (ลงด้วย pip install pytest)
  • Claude Code ติดตั้งแล้ว (เห็น slide EP.6)

วิธีโหลดโปรเจกต์

git clone https://github.com/<your-username>/uncle-todo.git
cd uncle-todo

วิธีรัน

เพิ่ม todo

python todo.py add "ซื้อนม"

แสดงรายการทั้งหมด

python todo.py list

ขีดทำเสร็จ todo เลขที่ระบุ

python todo.py done 1

วิธีรัน test

pytest test_todo.py -v

ตอนเริ่มต้นจะเห็น test ล้มเหลวหลายตัว นั่นคือบั๊กที่ต้องแก้ในคอร์ส


โครงสร้างโปรเจกต์

uncle-todo/
  todo.py         CLI หลัก
  test_todo.py    test ด้วย pytest
  todos.json      ที่เก็บข้อมูล
  README.md       ไฟล์นี้

License

MIT — ใช้ฟรีเพื่อการเรียนการสอน

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages