Systematic diagnosis and repair of failing or intermittently passing Playwright tests, sorted into four failure categories.
- skills.sh installs
- 1.7K
- GitHub stars
- 30.3K
- last updated
- Aug 21, 2026
What it does
- Covers reproduction via burn-in runs, trace capture, failure categorization, targeted fixes, and stability verification
- Categorizes failures as timing/async, test isolation, environment, or infrastructure, each with a diagnostic command or check
- Enforces verification that a fixed test passes 10 consecutive runs before the fix is accepted
- Designed for Playwright suites where tests fail in CI but pass locally, or fail only inside a larger test run
Install
$ npx -y skills add alirezarezvani/claude-skills --skill fix -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Fix Failing or Flaky Tests
Diagnose and fix a Playwright test that fails or passes intermittently using a systematic taxonomy.
Input
$ARGUMENTS contains:
- A test file path:
e2e/login.spec.ts - A test name: ""should redirect after login"`
- A description:
"the checkout test fails in CI but passes locally"
Steps
1. Reproduce the Failure
Run the test to capture the error:
npx playwright test <file> --reporter=list
If the test passes, it's likely flaky. Run burn-in:
npx playwright test <file> --repeat-each=10 --reporter=list
If it still passes, try with parallel workers:
npx playwright test --fully-parallel --workers=4 --repeat-each=5
2. Capture Trace
Run with full tracing:
npx playwright test <file> --trace=on --retries=0
Read the trace output. Use /debug to analyze trace files if available.
3. Categorize the Failure
Load flaky-taxonomy.md from this skill directory.
Every failing test falls into one of four categories:
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Testing & QA, Debugging
- First seen
- May 16, 2026
More from alirezarezvani/claude-skills
All 259- Init1.6K
- Generate1.6K
- Browserstack1.6K
- Extract1.6K
- Aws Solution Architect1.6K
- Promote1.6K
- Migrate1.6K
- Social Media Analyzer1.6K
- Testrail1.6K
- Senior Architect1.6K
- Status1.6K
- Loop1.6K
- Resume1.5K
- Setup1.5K
- Postmortem1.5K
- Senior Fullstack1.5K
- Board Prep1.5K
- Run1.5K
- Stress Test1.5K
- Challenge1.5K
- Spawn1.4K
- Board1.4K
- Hard Call1.4K
- Eval1.4K
Similar to Fix
More Testing & QA
debuggersickn33/agentic-awesome-skills379 installsSystematic root-cause debugger that reproduces failures, tests competing hypotheses, and reports verified fixes.
systematic-debuggingobra/superpowers336.3K installsStructured four-phase process that forbids proposing fixes until root cause is established.
reviewalirezarezvani/claude-skills1.7K installsSystematic Playwright test review that flags anti-patterns, missed best practices, and coverage gaps.
bug-fixbobmatnyc/claude-mpm-skills490 installsSystematic bug-fix workflow covering reproduction, root cause analysis, fix verification, and regression tests.
debugging-and-error-recoveryaddyosmani/agent-skills77K installsGuided root-cause debugging that triages failures, localizes the layer, and fixes the cause rather than the symptom.
