From qa
Analyze code changes or bug reports to identify root cause, verify fix completeness, and check for regressions
npx claudepluginhub silviaare95/xari-plugins --plugin qaThis skill uses the workspace's default tool permissions.
Guides reliable browser automation using Playwright and Puppeteer for web testing, scraping, and AI agent interactions. Covers selectors, waits, isolation, and anti-detection patterns.
Provides checklists to review code for functionality, quality, security, performance, tests, and maintainability. Use for PRs, audits, team standards, and developer training.
Enforces A/B test setup with gates for hypothesis locking, metrics definition, sample size calculation, assumptions checks, and execution readiness before implementation.
Review: $0
Mode: $1 (default: diagnose)
Reproduce the conditions — Understand what triggers the bug:
Trace the execution path — Read the code flow from entry point to failure:
git log -p)Identify root cause — Distinguish symptom from cause:
Propose fix — Suggest a minimal fix that:
Read the fix — Understand what changed and why.
Check completeness:
Check for regressions:
Check test coverage:
## Bug Review: <target>
### Root Cause
<1-3 sentences explaining the fundamental issue>
### Impact
- **Severity**: critical | high | medium | low
- **Blast radius**: <what's affected>
- **Frequency**: <how often this triggers>
### Fix
<Code diff or description of the fix>
### Regression Risk
- <potential regression 1>
- <potential regression 2>
### Test Case
```typescript
it("reproduces the bug scenario", () => {
// Setup that triggers the bug
// Assert correct behavior
});
## Constraints
- Always identify root cause before suggesting fixes
- The fix should be minimal — don't refactor surrounding code
- Check if the same pattern exists elsewhere in the codebase
- A fix without a regression test is incomplete