a11y-ally
Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware…
Use when a test is failing and you need to determine root cause: is it flaky, an environment issue, or a real regression? Traces failure from symptom to fix.
Claude Code
$ npx -y skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator --agent claude-code
Codex
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a codex -y
Cursor
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a cursor -y
Gemini CLI
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a gemini-cli -y
GitHub Copilot
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a github-copilot -y
OpenCode
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a opencode -y
Windsurf
$ npx skills add proffesor-for-testing/agentic-qe --skill test-failure-investigator -a windsurf -y
name: test-failure-investigator description: "Use when a test is failing and you need to determine root cause: is it flaky, an environment issue, or a real regression? Traces failure from symptom to fix." user-invocable: true
Runbook-style skill for systematic test failure investigation. Given a failing test, determines root cause and recommends action.
/test-failure-investigator [test-name-or-file]
Run the test 3 times and classify:
| Result Pattern | Classification | Action | |---------------|---------------|--------| | Fails consistently | **Regression** or **Environment** | Continue to Step 2 | | Fails intermittently | **Flaky** | Skip to Step 4 | | Passes now | **Transient** | Check CI logs, environment diff |
# Run test 3 times
for i in 1 2 3; do npx jest {{test_file}} 2>&1 | tail -5; echo "--- Run $i ---"; done# When did it start failing?
git log --oneline -20 -- {{related_source_files}}
# What changed recently?
git diff HEAD~5 -- {{related_source_files}}
# Does it fail in isolation?
npx jest {{test_file}} --testNamePattern="{{test_name}}"
# Does it fail with other tests?
npx jest --runInBand # sequential execution| Symptom | Likely Cause | Investigation | |---------|-------------|--------------| | Timeout | Network/DB dependency | Check external service availability | | Assertion mismatch | Logic change | Compare expected vs actual, check git blame | | Import error | Dependency change | Check package.json changes, run `npm ci` | | Permission denied | Environment | Check file permissions, Docker volumes | | Out of memory | Resource leak | Profile with `--detectOpenHandles` |
# Run 10 times to confirm flakiness
for i in $(seq 1 10); do npx jest {{test_file}} --forceExit 2>&1 | grep -E 'PASS|FAIL'; done
# Common flaky causes:
# - Shared state between tests (missing cleanup)
# - Time-dependent assertions (use fake timers)
# - Race conditions (missing await)
# - Port conflicts (use random ports)
# - Order dependency (run with --randomize)## Test Failure Report
- **Test**: {{test_name}}
- **File**: {{test_file}}
- **Classification**: Regression / Flaky / Environment / Transient
- **Root Cause**: {{description}}
- **First Failed**: {{commit_hash}} ({{date}})
- **Fix**: {{recommended_action}}
- **Verified**: [ ] Fix applied and test passes 3x consecutivelyAfter investigation, compose with:
Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.
Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware…
WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance…
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid…
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer,…
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning,…
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch…
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…