Agile delivery

From ksmaster03/claude-canfly-skill · View interactive version

Agile delivery is an AI agent skill from the GitHub repository ksmaster03/claude-canfly-skill. สกิลนี้วางกรอบส่งมอบงานแบบ Agile (Scrum/Kanban/Scrumban) — กำหนด roles, artifacts, ceremonies, backlog, DoR/DoD และ metrics (velocity, cycle time, WIP) เป็นเฟส cross-cutting ที่ครอบทุกเฟสของ SDLC ไม่ใช่ขั้นตอนเดียวจบ. Trigger เมื่อผู้ใช้พิมพ์ /agile-delivery หรือขอ "วาง process Agile / Scrum / Kanba

How to use this skill

Skill file

/agile-delivery — กรอบส่งมอบแบบ Agile (Agile Delivery Framework)

สกิลนี้ช่วยทีมซอฟต์แวร์ไทยตั้ง "วิธีส่งมอบงาน" แบบ Agile ให้เป็นระบบ — เลือกเฟรมเวิร์ก (Scrum / Kanban / Scrumban), ตั้ง roles + ceremonies + artifacts, เขียน user story ที่ดี, กำหนด DoR/DoD และวัดผลด้วย metrics ที่ใช้จริง. เป็นเฟส cross-cutting: ห่อหุ้มทุกเฟสอื่นใน SDLC ไม่ใช่แค่ขั้นตอนหนึ่ง.

ใช้ตอนไหน

Input ที่ต้องถามก่อนเริ่ม

  1. ลักษณะงาน: feature project (scope เปลี่ยนเป็นรอบ ๆ) หรือ flow งานเข้าต่อเนื่อง (support/ops/bug)? → ชี้ Scrum vs Kanban
  2. ขนาดทีม & องค์ประกอบ: dev กี่คน, มี QA/Design/DevOps ไหม, full-time หรือ shared? (Scrum team ที่ดี ~3–9 คน)
  3. มี PO ตัวจริงไหม: ใครตัดสินใจ priority และรับผิดชอบ value? ถ้าไม่มี = ความเสี่ยงอันดับ 1
  4. Cadence ที่เป็นไปได้: release ได้ถี่แค่ไหน, มี dependency กับทีมอื่น/ลูกค้าไหม
  5. Tooling: Jira / Azure DevOps / Trello / GitHub Projects — ไว้ map สถานะ workflow และดึง metrics
  6. Definition of "เสร็จ" วันนี้คืออะไร: มี CI/CD, automated test, code review, staging ไหม → ตั้ง DoD ตามความเป็นจริง แล้วค่อยยกระดับ
  7. ข้อจำกัด: fixed-date/fixed-scope (TOR/สัญญา), งบ, regulatory — มีผลต่อ commitment model

ขั้นตอน (Playbook)

Step 1 — เลือกเฟรมเวิร์ก

| เกณฑ์ | Scrum | Kanban | Scrumban |

|---|---|---|---|

| ลักษณะงาน | scope เป็นก้อน วางแผนเป็นรอบได้ | งานเข้าไม่แน่นอน/ต่อเนื่อง (bug, support) | mix ทั้งสอง |

| Cadence | timebox คงที่ (sprint 1–4 สัปดาห์) | flow ต่อเนื่อง ไม่มี sprint บังคับ | sprint หลวม ๆ + WIP limit |

| Commitment | commit เป็น sprint goal | pull งานเมื่อมี capacity | planning เมื่อ backlog ใกล้หมด |

| ตัวขับหลัก | velocity / sprint goal | WIP limit + cycle time | WIP limit + cadence เบา ๆ |

| เหมาะกับ | product/feature team | maintenance/ops/platform | ทีมที่โต/ผันผวน หรือกำลังเปลี่ยนผ่าน |

แนวทาง: งานสร้าง product ใหม่ → Scrum; งาน support/ops ที่ priority เด้งตลอด → Kanban; ทีมที่มีทั้งสองหรือ Scrum แล้วอึดอัดกับ timebox → Scrumban.

Step 2 — ตั้ง Roles (อ้าง Scrum Guide 2020)

Step 3 — ตั้ง Artifacts + commitment

Step 4 — ตั้ง Ceremonies + timebox (อิง sprint 2 สัปดาห์ เป็นค่าเริ่ม)

| Ceremony | Timebox (sprint 2 wk) | จุดประสงค์ / output |

|---|---|---|

| Sprint Planning | ≤ 4 ชม. | ตั้ง Sprint Goal + เลือกงานเข้า Sprint Backlog |

| Daily Standup (Daily Scrum) | 15 นาที | sync แผนวันต่อวันสู่ Sprint Goal + ยก impediment (ไม่ใช่ status report) |

| Backlog Refinement | ~5–10% ของ capacity/sprint | ทำ story ให้พร้อม (ผ่าน DoR), estimate, แตกงาน |

| Sprint Review | ≤ 2 ชม. | demo Increment ต่อ stakeholder + เก็บ feedback ปรับ backlog |

| Sprint Retrospective | ≤ 1.5 ชม. | ปรับปรุง "วิธีทำงาน" + ตั้ง action ที่ทำได้จริง |

(timebox ของ Scrum Guide อิงต่อ sprint 1 เดือน: Planning ≤ 8 ชม., Review ≤ 4 ชม., Retro ≤ 3 ชม. — ให้ pro-rate ตามความยาว sprint จริง)

Step 5 — มาตรฐาน User Story + Estimation

Step 6 — กำหนด DoR / DoD (ใช้เทมเพลตด้านล่าง) ให้ทีมตกลงร่วมกันและติดไว้ที่มองเห็น

Step 7 — ตั้ง Metrics + WIP เลือกที่เหมาะกับเฟรมเวิร์ก (ดูตารางในส่วนเคล็ดลับ), ตั้ง WIP limit สำหรับ Kanban/Scrumban, เก็บ baseline 2–3 sprint ก่อนตัดสินใจปรับ

Output / Artifact (เทมเพลตพร้อมใช้)

A) Sprint Plan

Sprint:        #__   |  ระยะ: dd/mm – dd/mm (2 สัปดาห์)
Sprint Goal:   <ประโยคเดียวที่บอกคุณค่าที่จะส่งมอบ>
Capacity:      __ คน × __ วันทำงาน − ลา/ประชุม = __ คน-วัน  |  Committed points: __

| Story ID | User Story (สรุป) | Owner | Points | DoR ✓ | Status |

|---|---|---|---|---|---|

| PROJ-101 | ผู้ใช้ login ด้วย email/OTP | A | 5 | ✓ | In Progress |

| PROJ-102 | ดูประวัติคำสั่งซื้อ | B | 3 | ✓ | To Do |

| PROJ-103 | export รายงาน PDF | C | 8 | ✗ | (รอ refine) |

B) Product Backlog

| ID | Story / Item | Priority | Type | Points | Status | หมายเหตุ |

|---|---|---|---|---|---|---|

| PROJ-201 | ค้นหาสินค้าด้วยคีย์เวิร์ด | High | Story | 5 | Ready | — |

| PROJ-202 | แจ้งเตือนสต็อกใกล้หมด | Med | Story | 8 | Refining | รอ NFR จาก /fr-nfr-spec |

| PROJ-203 | bug: ยอดรวม VAT ผิด | High | Bug | 3 | Ready | reproduce ได้แล้ว |

| PROJ-204 | migrate auth → OAuth2 | Low | Tech/Spike | 13 | New | ต้องแตกก่อน |

Priority: High / Med / Low (หรือ MoSCoW: Must / Should / Could / Won't) · Status: New → Refining → Ready → In Sprint → Done

C) Checklist — Definition of Ready (DoR) — เกณฑ์ "พร้อมเข้า sprint"

D) Checklist — Definition of Done (DoD) — เกณฑ์ "เสร็จจริง" (ตั้งตามความพร้อมทีม แล้วยกระดับ)

E) Retrospective (โครง Start / Stop / Continue)

Sprint #__ Retro — ผู้เข้าร่วม: ____  | facilitator: ____
🟢 START (เริ่มทำ)    : สิ่งที่อยากลองทำใหม่
🔴 STOP (หยุดทำ)      : สิ่งที่ฉุดทีม / เสียเวลา
🔵 CONTINUE (ทำต่อ)   : สิ่งที่ได้ผล อยากรักษาไว้
─────────────────────────────────────────────
Action items (ทำได้จริง, มีเจ้าของ, มี due):
1. [ ] <action> — owner: ___ — due: sprint หน้า
2. [ ] <action> — owner: ___ — due: ___

(ตัวแปร: 4Ls = Liked/Learned/Lacked/Longed-for, หรือ Mad/Sad/Glad — เลือกสลับกันได้กันเบื่อ)

Checklist / Definition of Done (ของตัวสกิลนี้)

เคล็ดลับ & ข้อควรระวัง

| Metric | วัดอะไร | เหมาะกับ |

|---|---|---|

| Velocity | points ที่ทำเสร็จต่อ sprint (เฉลี่ย 3–5 sprint) | Scrum — วางแผน capacity |

| Burndown / Burnup | งานเหลือ / งานสะสมเทียบเวลา | Scrum — ดู progress ใน sprint/release |

| Cycle Time | เวลาตั้งแต่ "เริ่มทำ" ถึง "เสร็จ" ของ 1 item | Kanban — ความเร็ว flow |

| Lead Time | เวลาตั้งแต่ "ขอ" ถึง "ส่งมอบ" | Kanban — มุมลูกค้า |

| Throughput | จำนวน item เสร็จต่อช่วงเวลา | Kanban — กำลังการผลิต |

| WIP limit | งานพร้อมกันสูงสุดต่อ column | Kanban/Scrumban — ลด context switch |

เชื่อมกับเฟสอื่น

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.