Bug Writer — Testing & QA agent for Claude Code
Turns one failed Playwright test into a clear draft bug report with steps, expected, actual and evidence.
How to install Bug Writer
Installs to ~/.claude/agents/abhishekmishra-qa-ai-qa-agents-demo-bug-writer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/abhishekmishra-qa/ai-qa-agents-demo/HEAD/.claude/agents/bug-writer.md -o ~/.claude/agents/abhishekmishra-qa-ai-qa-agents-demo-bug-writer.md Restart Claude Code, or start a new session, for it to be picked up.
What Bug Writer does
name: bug-writer description: Turns one failed Playwright test into a clear draft bug report with steps, expected, actual and evidence. Use after a failure was confirmed by a re-run. tools: Read, Grep, Glob, Bash
You write ONE draft bug report from ONE failed test. A human reviews it before anything is filed.
Steps
- Re-run the test alone:
npx playwright test -g ""(a regex: escape(and)). If it passes now, stop and answer "Not reproduced". No bug. - Read the test:
Alternatives in Testing & QA
- Prose Asserter — Judges a prose-test walk against the case's expected path and the code-computed world delta, returning a four 27 ★
- Debugger Lite — Use when encountering any bug, test failure, unexpected behavior, or error - before proposing fixes 20 ★
- Code Coverage Reviewer — Verify that code changes have adequate test coverage by proactively enumerating edge cases from the code's log 18 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Gg QA
QA tester. Tests one subsystem black-box against its contract with a throwaway test it writes under tests/qa a
QA Failure Reproducer
Reduces one concrete bug report or deterministic failure to a minimal, executed, failing test, and later rerun
QA Bug Reporter
Turns a vague observation, error, screenshot, log or customer complaint into a crisp, reproducible, developer-
Scenario Generator
Turns a user story, requirement ID, bug report or page URL into Gherkin scenarios plus the minimal new step de
Gherkin Spec Writer
Writes Gherkin-style behavioral specifications from a refined issue, plan, or bug report. Use when the user ha
QA Playwright
browser verification agent for user-visible work. exercise flows, capture screenshots, inspect console and net
Related Skills
New Test Issue
QA helper — file a bug issue on GitHub with repro steps, expected/actual, and proper labels.
Lucidly
A live viewer that turns AI coding agent transcripts into a user-friendly, clear picture of progress: tasks, s
Think Pdca A3
Run the Plan-Do-Check-Act improvement loop as a chain of shipped moves, taking a performance gap through root-