Loading...
Loading...
Fixed-format explanation discipline for concepts, systems, and code. Use when the user asks "อธิบาย…", "นี่คืออะไร", "อันนี้ทำงานยังไง", "explain X", "what is X", "how does X work", "why does this exist"; when they ask for a simpler, shorter, or plainer version of something; when they say an answer was too long, unformatted, or unreadable; or when they invoke /feynman. Also use before teaching, onboarding, or presenting a concept to someone else.
npx skill4agent add thodsaphonsonthiphin/workflow-daily-work feynman-explain| Slot | ไทย | English | Cap |
|---|---|---|---|
| ① | | | ≤ 60 words + one analogy line |
| ② | | | table, ≤ 3 gap rows + one jargon row per term used |
| ③ | | | ≤ 25 words per gap (question → answer → simple version → source) |
| ④ | | | ≤ 80 words + exactly 3 takeaways |
| 🎯 | | | one sentence, quoted |
| → | | | one line offering the next move |
② จุดที่ยังคลุมเครือ
| จุดที่พูดคลุม | คำถามจริงที่ค้าง |
| "..." | ... |
| jargon | อธิบายง่ายได้? |
| "..." | ได้ / ไม่ได้ / ครึ่ง ๆ |
③ เติมช่องว่าง
Gap 1 — <คำถาม> → <คำตอบ> → พูดง่าย ๆ ว่า <…> (ที่มา: path/file.cs:118)→ ต่อ:pipeline (ลำดับโค้ดที่วิ่งต่อกัน)| Gap is about | Fill it from | Cite |
|---|---|---|
| the user's system — code, repo, D365/Dataverse org, DB, pipeline, config | open the file / run the query / check git before answering | |
| an external product, API, or platform behaviour | official docs (the | the URL |
| vendor lifecycle — SKU, exam code, retirement, pricing | hand off to | that skill's verdict |
| a general concept with no artifact behind it | your own knowledge | mark it |
ยังไม่ชัดX เหมือน Y เพราะ Zdeep <topic>${CLAUDE_PLUGIN_ROOT}/references/diagram-convention.mdproblem-descriptionstudy-design-verify/feynman Dataverse plugin pipeline
📘 Dataverse plugin pipeline
① อธิบายง่าย ๆ
โค้ดที่เราแทรกเข้าไปให้ทำงานตอนมีคนบันทึกข้อมูล Dataverse จะหยุดกลางทาง
เรียกโค้ดของเรา แล้วเดินต่อ เราเลือกได้ว่าให้แทรกก่อนหรือหลังเขียนลงฐานข้อมูล
เหมือนสายพานตรวจของ — ของวิ่งผ่าน 4 จุด ใครจะแทรกก็เลือกจุดได้
② จุดที่ยังคลุมเครือ
| จุดที่พูดคลุม | คำถามจริงที่ค้าง |
| "หยุดกลางทาง" | ถ้าโค้ดเรา throw แล้วข้อมูลที่เขียนไปแล้วย้อนกลับไหม |
| jargon | อธิบายง่ายได้? |
| stage | ได้ — จุดบนสายพาน |
| async | ครึ่ง ๆ — ยังไม่ได้พูดว่าออกนอก transaction |
③ เติมช่องว่าง
Gap 1 — throw แล้ว rollback ไหม → sync stage อยู่ใน transaction เดียวกัน ยกเว้น
PreValidation และ async ที่อยู่นอก → พูดง่าย ๆ ว่า "throw ตอน sync = ยกเลิกทั้งชุด"
(ที่มา: learn.microsoft.com/power-apps/developer/…/event-framework)
④ อธิบายใหม่
Dataverse เรียกโค้ดเราได้ 4 จุดรอบการบันทึก: PreValidation (นอก transaction),
PreOperation (ก่อนเขียน), PostOperation (หลังเขียน) และ async (หลังจบ ไม่ร่วม
transaction) สามจุดกลางอยู่ใน transaction เดียวกับการเขียน — โค้ดเรา throw คือยกเลิกทั้งชุด
1. เลือก stage = เลือกว่าเห็นข้อมูลตอนไหน
2. sync = ล้มพร้อมกัน, async = ล้มแยกกัน
3. อยากแก้ค่าก่อนบันทึก ต้อง PreOperation
🎯 30 วิ
"Plugin pipeline คือ 4 จุดที่เราแทรกโค้ดเข้าไปรอบการบันทึกข้อมูล — จุด sync ล้มแล้วยกเลิกทั้งชุด, async ล้มแยก"
→ ต่อ: เจาะ async กับ rollback / ดู stage ที่ org เราใช้จริง / deep→ ต่อ:path:linefeynman