| name | qa-bug-report |
| description | Drafts a structured, reproducible bug report from behavior observed in the running app. Use after a tester reproduces a defect and wants a clean report another tester could file without a follow-up conversation. Day 2 bug-reporting block of the QA Foundational training. |
QA Bug Report
Core principle: AI drafts from evidence. Observed behavior beats a guessed repro. Ground every field in what actually happened, not what probably happens.
Input: behavior observed in the running app (using the playwright-cli skill, or a recorded walkthrough / screenshots).
Output: a structured bug report using template.md that another tester could file and reproduce cold.
Workflow
Pre-flight checks
Run these before starting any work:
playwright-cli --version
playwright-cli install --skills
node -e "console.log('bug-report-' + Date.now())"
If playwright-cli is not found, install it by running these two commands separately (chaining with && can fail on Windows):
npm install -g @playwright/cli@latest
playwright-cli install --skills
Use the output from step 3 as your -s= value for every playwright-cli call this run.
Evidence capture: you may save screenshots and walkthrough captures into the .playwright-cli/ directory (e.g. playwright-cli screenshot --filename=.playwright-cli/<name>.png). Embed these in the bug report and any HTML report generated from it.