qa

โดย mattpocock

เซสชัน QA แบบโต้ตอบที่ผู้ใช้รายงานบั๊กหรือปัญหาผ่านการสนทนา และเอเจนต์จะสร้าง Issue ใน GitHub สำรวจโค้ดเบสในเบื้องหลังเพื่อหาบริบทและภาษาของโดเมน ใช้เมื่อผู้ใช้ต้องการรายงานบั๊ก ทำ QA สร้าง Issue ผ่านการสนทนา หรือพูดถึง "เซสชัน QA

npx skills add https://github.com/mattpocock/skills --skill qa

QA Session

Run an interactive QA session. The user describes problems they're encountering. You clarify, explore the codebase for context, and file GitHub issues that are durable, user-focused, and use the project's domain language.

For each issue the user raises

1. Listen and lightly clarify

Let the user describe the problem in their own words. Ask at most 2-3 short clarifying questions focused on:

  • What they expected vs what actually happened
  • Steps to reproduce (if not obvious)
  • Whether it's consistent or intermittent

Do NOT over-interview. If the description is clear enough to file, move on.

2. Explore the codebase in the background

While talking to the user, kick off an Agent (subagent_type=Explore) in the background to understand the relevant area. The goal is NOT to find a fix — it's to:

  • Learn the domain language used in that area (check UBIQUITOUS_LANGUAGE.md)
  • Understand what the feature is supposed to do
  • Identify the user-facing behavior boundary

This context helps you write a better issue — but the issue itself should NOT reference specific files, line numbers, or internal implementation details.

3. Assess scope: single issue or breakdown?

Before filing, decide whether this is a single issue or needs to be broken down into multiple issues.

Break down when:

  • The fix spans multiple independent areas (e.g. "the form validation is wrong AND the success message is missing AND the redirect is broken")
  • There are clearly separable concerns that different people could work on in parallel
  • The user describes something that has multiple distinct failure modes or symptoms

Keep as a single issue when:

  • It's one behavior that's wrong in one place
  • The symptoms are all caused by the same root behavior

4. File the GitHub issue(s)

Create issues with gh issue create. Do NOT ask the user to review first — just file and share URLs.

Issues must be durable — they should still make sense after major refactors. Write from the user's perspective.

For a single issue

Use this template:

## What happened

[Describe the actual behavior the user experienced, in plain language]

## What I expected

[Describe the expected behavior]

## Steps to reproduce

1. [Concrete, numbered steps a developer can follow]
2. [Use domain terms from the codebase, not internal module names]
3. [Include relevant inputs, flags, or configuration]

## Additional context

[Any extra observations from the user or from codebase exploration that help frame the issue — e.g. "this only happens when using the Docker layer, not the filesystem layer" — use domain language but don't cite files]

For a breakdown (multiple issues)

Create issues in dependency order (blockers first) so you can reference real issue numbers.

Use this template for each sub-issue:

## Parent issue

#<parent-issue-number> (if you created a tracking issue) or "Reported during QA session"

## What's wrong

[Describe this specific behavior problem — just this slice, not the whole report]

## What I expected

[Expected behavior for this specific slice]

## Steps to reproduce

1. [Steps specific to THIS issue]

## Blocked by

- #<issue-number> (if this issue can't be fixed until another is resolved)

Or "None — can start immediately" if no blockers.

## Additional context

[Any extra observations relevant to this slice]

When creating a breakdown:

  • Prefer many thin issues over few thick ones — each should be independently fixable and verifiable
  • Mark blocking relationships honestly — if issue B genuinely can't be tested until issue A is fixed, say so. If they're independent, mark both as "None — can start immediately"
  • Create issues in dependency order so you can reference real issue numbers in "Blocked by"
  • Maximize parallelism — the goal is that multiple people (or agents) can grab different issues simultaneously

Rules for all issue bodies

  • No file paths or line numbers — these go stale
  • Use the project's domain language (check UBIQUITOUS_LANGUAGE.md if it exists)
  • Describe behaviors, not code — "the sync service fails to apply the patch" not "applyPatch() throws on line 42"
  • Reproduction steps are mandatory — if you can't determine them, ask the user
  • Keep it concise — a developer should be able to read the issue in 30 seconds

After filing, print all issue URLs (with blocking relationships summarized) and ask: "Next issue, or are we done?"

5. Continue the session

Keep going until the user says they're done. Each issue is independent — don't batch them.

Skills เพิ่มเติมจาก mattpocock

improve-codebase-architecture
mattpocock
ค้นหาโอกาสในการปรับปรุงโค้ดเบสให้ลึกซึ้งยิ่งขึ้น โดยอิงจากภาษาของโดเมนใน CONTEXT.md และการตัดสินใจใน docs/adr/ ใช้เมื่อผู้ใช้ต้องการปรับปรุงสถาปัตยกรรม ค้นหาโอกาสในการรีแฟกเตอร์ รวมโมดูลที่เชื่อมโยงกันอย่างแน่นหนา หรือทำให้โค้ดเบสสามารถทดสอบได้และนำทางด้วย AI ได้ง่ายขึ้น
developmentcode-reviewapi
tdd
mattpocock
การพัฒนาที่ขับเคลื่อนด้วยการทดสอบด้วยวงจรแดง-เขียว-ปรับปรุง ใช้เมื่อผู้ใช้ต้องการสร้างฟีเจอร์หรือแก้ไขบั๊กโดยใช้ TDD กล่าวถึง "แดง-เขียว-ปรับปรุง" ต้องการการทดสอบแบบบูรณาการ หรือขอให้พัฒนาด้วยการทดสอบก่อน
developmenttesting
handoff
mattpocock
ย่อบทสนทนาปัจจุบันให้เป็นเอกสารส่งต่อสำหรับเอเจนต์อื่นเพื่อดำเนินการต่อ
communicationproject-managementdocument
prototype
mattpocock
สร้างต้นแบบที่ใช้แล้วทิ้งเพื่อขยายแบบก่อนตัดสินใจ เส้นทางระหว่างสองสาขา — แอปเทอร์มินัลที่รันได้สำหรับคำถามเกี่ยวกับสถานะ/ตรรกะทางธุรกิจ หรือรูปแบบ UI ที่แตกต่างกันอย่างสิ้นเชิงหลายแบบที่สามารถสลับได้จากเส้นทางเดียว ใช้เมื่อผู้ใช้ต้องการสร้างต้นแบบ ตรวจสอบความถูกต้องของโมเดลข้อมูลหรือสถานะเครื่องจักร สร้าง UI จำลอง สำรวจตัวเลือกการออกแบบ หรือพูดว่า "สร้างต้นแบบนี้" "ให้ฉันลองเล่นดู" "ลองออกแบบสองสามแบบ
developmentdesigncreative
triage
mattpocock
จัดการปัญหาผ่านเครื่องสถานะที่ขับเคลื่อนด้วยบทบาทการคัดแยก ใช้เมื่อผู้ใช้ต้องการสร้างปัญหา คัดแยกปัญหา ตรวจสอบข้อบกพร่องหรือคำขอฟีเจอร์ที่เข้ามา เตรียมปัญหาสำหรับเอเจนต์ AFK หรือจัดการเวิร์กโฟลว์ของปัญหา
developmentproject-managementcommunication
obsidian-vault
mattpocock
ค้นหา สร้าง และจัดการโน้ตใน Obsidian vault ด้วย wikilinks และ index notes ใช้เมื่อผู้ใช้ต้องการค้นหา สร้าง หรือจัดระเบียบโน้ตใน Obsidian
productivitydocument
edit-article
mattpocock
แก้ไขและปรับปรุงบทความโดยการจัดโครงสร้างส่วนต่างๆ เพิ่มความชัดเจน และกระชับข้อความ ใช้เมื่อผู้ใช้ต้องการแก้ไข ปรับปรุง หรือพัฒนาร่างบทความ
documentcreative
writing-great-skills
mattpocock
ข้อมูลอ้างอิงสำหรับการเขียนและแก้ไขสกิลอย่างมีประสิทธิภาพ — คำศัพท์และหลักการที่ทำให้สกิลสามารถคาดเดาได้
documentdevelopment