From lwndev-sdlc
Creates structured bug report documents for tracking defects and issues. Use when the user needs to document a bug, unexpected behavior, regression, UI/UX defect, performance issue, or security vulnerability with root cause analysis and traceable acceptance criteria.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lwndev-sdlc:documenting-bugsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create structured bug report documents that capture defects with reproduction steps, severity classification, root cause analysis, and traceable acceptance criteria linking each fix back to its underlying cause.
Create structured bug report documents that capture defects with reproduction steps, severity classification, root cause analysis, and traceable acceptance criteria linking each fix back to its underlying cause.
requirements/bugs/ to determine the next Bug IDrequirements/bugs/BUG-XXX-description.mdAll bug documents go in: requirements/bugs/
Naming format: BUG-XXX-{2-4-word-description}.md
Examples:
BUG-001-auth-token-expired.mdBUG-002-broken-csv-export.mdBUG-003-memory-leak-polling.mdTo assign the next Bug ID:
requirements/bugs/BUG-XXX numberBUG-001See assets/bug-document.md for the full template.
# Bug: [Brief Title]
- Bug ID, GitHub Issue (optional), Category, Severity
- Description (1-2 sentences)
- Steps to Reproduce
- Expected Behavior
- Actual Behavior
- Root Cause(s) — numbered entries with file references
- Affected Files
- Acceptance Criteria — with (RC-N) traceability tags
- Completion (status, date, PR link)
- Notes (optional)
Six bug categories with specific guidance:
| Category | Use For |
|---|---|
runtime-error | Crashes, unhandled exceptions, fatal errors |
logic-error | Incorrect behavior, wrong calculations, bad state |
ui-defect | Visual glitches, layout issues, rendering problems |
performance | Slowness, memory leaks, resource exhaustion |
security | Vulnerabilities, auth bypasses, data exposure |
regression | Previously working functionality that broke |
See references/categories.md for detailed guidance on each category.
| Severity | Definition |
|---|---|
critical | Application unusable, data loss, security breach |
high | Major feature broken, no workaround |
medium | Feature impaired, workaround exists |
low | Minor issue, cosmetic, edge case |
Before finalizing, verify:
(RC-N) tags| Task Type | Recommended Approach |
|---|---|
| New feature with requirements | Use documenting-features skill |
| Chore/maintenance task | Use documenting-chores skill |
| Bug or defect report | Use this skill (documenting-bugs) |
| Quick fix (no tracking needed) | Direct implementation |
After documenting a bug, run /reviewing-requirements to verify the document against the codebase and docs, then /documenting-qa to create a test plan. Optionally run /reviewing-requirements again for test-plan reconciliation. Then use /executing-bug-fixes to implement the fix. After PR review, optionally run /reviewing-requirements for code-review reconciliation, then /executing-qa to verify, and /finalizing-workflow to merge.
npx claudepluginhub lwndev/lwndev-marketplace --plugin lwndev-sdlcDrafts, evaluates, enriches, and normalizes QA bug reports to RAVN standards. Supports multiple modes for writing new reports, scoring existing ones, filling in missing fields, or converting legacy formats.
Captures user-reported bugs as durable GitHub issues using the project's own domain language. Avoids stale references like file paths.
Transforms error logs, screenshots, voice notes, and rough bug reports into structured GitHub issues with reproduction steps, impact, and evidence.