learn
เรียนรู้ concept, tool, หรือ library อย่างเป็นระบบ ด้วย research และ practice
SKILL.mdlearn/SKILL.md
GitHubGoal
เรียนรู้ concept, tool, หรือ library อย่างเป็นระบบ โดยใช้ research และ practice เพื่อให้เข้าใจอย่างลึกซึ้ง
Scope
ใช้สำหรับเรียนรู้สิ่งใหม่ ไม่ว่าจะเป็น concept, tool, library, framework, หรือ codebase
Execute
Learn Skills
| Topic | Skill |
|---|---|
| Web / Docs | /learn-from-web — เรียนรู้จาก official docs (DeepWiki, Context7, Web Search) แล้วเขียน content ครอบคลุม |
| CLI tool | /learn-from-cli — command surface จาก --help, subcommands, binary จริง |
| Library API | /check-types-definition — API surface จาก .d.ts declarations ใน node_modules |
| Codebase | /learn-from-codebase — /deep-analyze + learning path และ concept map ของ codebase |
| Pattern | /learn-pattern — สกัด reusable patterns จาก real-world code |
| User refs | /learn-from-references — สกัด patterns/conventions จาก refs ที่ user ชี้มาโดยตรง (files, repos, docs, skills) แล้วใช้กับ task ปัจจุบัน |
| Update skills | /learn-from-references-and-improve-skills — เรียนจาก refs แล้ว sync ความรู้เข้า skills (stale/wrong/missing) + /improve coverage เติม gaps |
| Slides | /report-slides — สร้าง Slidev presentation สรุปความรู้ใน .devin/temp/ |
เรียก skill ตามตารางตาม topic แล้วทำตาม flow ในนั้น — ไม่ execute จากตารางนี้โดยตรง
1. Define Learning Target
Goal: Define Learning Target
กำหนดเป้าหมายการเรียนรู้:
- ระบุสิ่งที่ต้องการเรียนรู้ (concept, tool, library, framework, codebase)
- กำหนดระดับความลึกที่ต้องการ (overview, intermediate, deep)
- ระบุคำถามหลักที่ต้องการคำตอบ
- กำหนดเวลาและขอบเขตการเรียนรู้
2. Deep Research
Goal: Deep Research
ทำ /deep-research เพื่อค้นหาข้อมูลลึก:
- ค้นหาจาก NPM, GitHub, DeepWiki, Context7 และ WebSearch
- อ่าน official documentation ของ tool/library ที่เรียนรู้
- ค้นหา best practices และ common patterns
- ค้นหา examples และ tutorials
- ตรวจสอบ version compatibility กับ project
3. Learn From Sources
Goal: Learn From Sources
ทำ /learn-from-web สำหรับเรียนรู้จากเว็บไซต์หลัก และ /learn-from-cli สำหรับ CLI discovery:
- ใช้ DeepWiki สำหรับ GitHub repositories
- ใช้ Context7 สำหรับ libraries และ frameworks
- ใช้ Web Search สำหรับ fallback
- บันทึก code examples และ configuration examples
4. Apply Best Practices
Goal: Apply Best Practices
ทำ /follow-best-practice เพื่อนำความรู้ไปใช้:
- นำ best practices ที่เรียนรู้มาประยุกต์ใช้
- ตรวจสอบความถูกต้องด้วย linter และ typecheck
- ทดสอบด้วย examples ที่เรียนรู้มา
- ปรับปรุงตาม feedback
5. Learn From Code Patterns
Goal: Learn From Code Patterns
ทำ /learn-pattern เพื่อสกัด reusable patterns
- ค้นหา code patterns จาก real-world projects
- วิเคราะห์ patterns ที่ใช้ใน production codebases
- ระบุ pattern variants และ trade-offs
- บันทึก patterns พร้อม use cases
6. Hands-On Practice
Goal: Hands-On Practice
ฝึกปฏิบัติจริงเพื่อยืนยันความเข้าใจ
- สร้างตัวอย่างการใช้งานจริงใน project context
- ทดลอง edge cases และ error handling
- ทดลอง integration กับ existing code
- เปรียบเทียบผลลัพธ์กับที่เรียนรู้มา
- ทำ
/update-examplesเพื่อสร้าง examples ครอบคลุม - บันทึก lessons learned และ cheat sheet สำหรับ future reference
Rules
1. Learning Approach
- เริ่มจาก overview ก่อน deep dive
- ใช้ multiple sources เพื่อ cross-reference
- ฝึกปฏิบัติจริง ไม่ใช่แค่อ่าน
- สกัด code patterns จาก real-world projects
- สร้าง examples ที่นำไปใช้ได้จริงใน project
2. Research Standards
- ทำ
/deep-researchสำหรับค้นหาข้อมูลลึกจาก multiple sources - ทำ
/learn-from-webสำหรับเรียนรู้จากเว็บไซต์หลัก,/learn-from-cliสำหรับ CLI,/check-types-definitionสำหรับ API surface - ตรวจสอบ credibility และ freshness ของข้อมูล
- บันทึก code examples และ configuration examples
3. Best Practices
- ทำ
/follow-best-practiceเพื่อนำความรู้ไปใช้ตามมาตรฐาน - ตรวจสอบความถูกต้องด้วย linter และ typecheck
- รัน tests เพื่อยืนยันความถูกต้อง
4. Knowledge Retention
- บันทึกหลักการสำคัญและ core concepts
- บันทึก edge cases และ common pitfalls
- สร้าง examples สำหรับทีม
- แชร์ความรู้ผ่าน documentation
Expected Outcome
- เข้าใจ concept, tool, หรือ library อย่างลึกซึ้ง
- ข้อมูลครบถ้วนจาก multiple sources
- Code examples และ best practices ที่บันทึกไว้
- การนำความรู้ไปใช้จริงพร้อม validation
- Lessons learned สำหรับ future reference