From atdd-kit
Auto-triggers on bug/defect/error reports. Fires on keywords like 'bug', 'broken', 'crash', 'error', 'not working', 'display issue', etc.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atdd-kit:bugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
If `session-start` has not run in this session, run `/atdd-kit:session-start` first.
If session-start has not run in this session, run /atdd-kit:session-start first.
Drives a bug report through Issue creation → reproduction → evidence collection → fix proposal.
type:bug label and user requests a fixWhen unsure, ask: "Should I triage this as a bug report?"
Ask one question at a time: (1) What happened? (2) What did you expect? (3) Steps to reproduce? (4) Environment? (5) Screenshots or logs?
Create Issue using ${CLAUDE_PLUGIN_ROOT}/templates/issue/en/bug-report.yml (-ja.yml is human-only). Register with gh issue create. Do NOT add in-progress label.
After creating the Issue, post a Context Block as an Issue comment:
## Context Block
| Field | Value |
|-------|-------|
| task_type | bug |
| symptom | [what is happening] |
| reproduction | [steps to reproduce] |
| environment | [OS, device, version] |
| expected | [what should happen] |
| collected_info | [screenshots, logs, stack traces] |
Enables defining-requirements to skip questions already answered during intake.
Search for and run related tests. Record results as Issue comment.
Read platform from .claude/config.yml. Reproduce on each applicable platform. Record evidence as Issue comment; ask for more info if not reproduced.
| Bug Nature | Evidence Type |
|---|---|
| State issue (wrong display, stale data) | Screenshot |
| Action issue (crash on tap, navigation failure) | Screen recording |
| All bugs | Log capture + stack trace |
Post evidence as Issue comment.
Before Classification, load the spec via bash lib/spec_check.sh derive_slug <issue> then spec_exists. Cite spec AC if present; on absent, emit [spec-warn] missing: ... and classify as A (AC Gap) with no spec found for <area> — never invent ad-hoc ACs. Continuation-fallback follows the shared AC6 matrix; see docs/guides/spec-reference.md.
## Fix Proposal
**Classification:** A/B/C -- <explanation citing spec AC or "no spec found for <area>">
**Spec AC:** docs/specs/<slug>.md#ACN (or "none — Classification A")
**Root Cause:** <what is broken and why>
**Fix Location:** <file:line>
**Parallel Patterns:** <N occurrences found / none>
**Effort:** Small / Medium / Large
**User Impact:** High / Medium / Low -- <reason>
AskUserQuestion — header: "Fix?", options: "(Recommended) Proceed with fix", "Revise proposal"
Recommended: Proceed with fix — reply 'ok' to accept, or provide alternative
Show "Initial bug triage complete." and invoke the defining-requirements skill via the Skill tool (the bug chain routes into Step 1 of the 6-step flow).
npx claudepluginhub o3-ozono/atdd-kit --plugin atdd-kitGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.