From qa-engineer
Write a structured bug report with reproduction steps, expected vs actual behaviour, and severity assessment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/qa-engineer:write-bug-reportThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Write a bug report for $ARGUMENTS.
Write a bug report for $ARGUMENTS.
Do not write the bug report from the description alone. Investigate first. Every bug report is only as useful as the evidence behind it.
git log --oneline -20 — did something change recently that correlates with the symptom?git log, git bisect, or test history to find when it last workedAssign severity based on impact, not frequency:
| Severity | Criteria | Examples |
|---|---|---|
| Critical | Data loss, security breach, complete service outage, financial impact | Passwords logged in plaintext, database corruption, payment charged twice |
| High | Major feature broken for all users, no workaround | Login fails, search returns no results, file upload silently drops data |
| Medium | Feature degraded, workaround exists, or affects subset of users | Slow performance under load, incorrect sort order, formatting broken on mobile |
| Low | Cosmetic, minor UX issue, or edge case with trivial impact | Typo in UI, misaligned icon, tooltip shows raw key instead of translated text |
Reproduction steps must pass the "stranger test" — someone unfamiliar with the codebase must be able to follow them without asking questions.
Rules for reproduction steps:
# Always include exact commands for code-level bugs
$ [exact command]
[exact output, verbatim]
$ echo $?
[exit code]
## [BUG] <concise title describing the defect>
### Severity
[Critical / High / Medium / Low] — [one-line justification]
### Environment
- **OS:** [e.g., macOS 15.3, Ubuntu 24.04]
- **Runtime:** [e.g., Node 22.1, .NET 9, Python 3.13]
- **Browser:** [if applicable — name and version]
- **Commit:** [git SHA]
- **Configuration:** [any relevant flags, env vars, feature flags]
### Summary
[1-2 sentences describing the defect. What is broken and who is affected.]
### Steps to Reproduce
1. [Precondition / starting state]
2. [Action 1 — exact input]
3. [Action 2 — exact input]
4. [Observation point — what you see]
### Expected Behaviour
[What should happen, with reference to spec/requirement if available]
### Actual Behaviour
[What actually happens — include exact error messages, stack traces, screenshots]
[Exact error output, verbatim — never paraphrased]
### Root Cause Analysis
- **Root cause:** [the underlying defect, or "under investigation"]
- **Proximate cause:** [the immediate trigger]
- **Affected code:** `[file:line]` — [brief description of the defect]
- **Introduced in:** [commit SHA or "unknown"] — [date if known]
### Regression?
- [ ] Yes — last worked in [commit/version]. Broken by [commit/PR if known]
- [ ] No — this has never worked correctly
- [ ] Unknown — no prior test coverage
### Coverage Gap
- **Existing tests:** [do tests exist for this path? did they pass?]
- **Gap:** [what test is missing that would have caught this?]
- **Recommended test:** [brief description of the test to add]
### Workaround
[If known — exact steps to work around the issue. "None known" if none]
### Suggested Fix
[If root cause is known — specific code change. Otherwise omit this section]
### Evidence
| Artifact | Value |
|---|---|
| Error message | [verbatim] |
| Command run | [exact command] |
| Exit code | [0/1] |
| Stack trace | [key frames] |
| Git bisect result | [good..bad range, if performed] |
Deliver the complete bug report using the template above. Every field must be filled or explicitly marked as "under investigation". Empty sections are not acceptable.
/qa-engineer:generate-tests — when tests reveal defects, write a bug report. When a bug is fixed, add a regression test.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub hpsgd/turtlestack --plugin qa-engineer