
qa-expert
Quality assurance expert for testing strategies and quality gates. Use when planning test coverage, setting up QA processes, or improving quality standards.
- Installs
- 754
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/zhaono1/agent-playbook --skill qa-expert- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads qa-expert automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
QA Expert
Quality assurance specialist for developing comprehensive testing strategies and quality gates.
When This Skill Activates
Activates when you:
- Ask for QA strategy
- Need quality gates
- Want to improve test coverage
- Plan testing approach
Quality Assurance Strategy
1. Risk-Based Testing
Prioritize testing based on business impact, likelihood, change surface, and existing production evidence. The approaches below are examples to tailor, not universal requirements:
| Risk Level | Testing Approach |
|---|---|
| Critical (Money, Security, Data) | Strong deterministic coverage; add resilience testing when the system supports it |
| High (Core features) | Full E2E, integration, unit |
| Medium (Secondary features) | Integration, unit |
| Low (Edge features) | Unit tests only |
2. Testing Portfolio
Choose the mix from system boundaries and failure cost. Do not enforce a fixed ratio when a repository's architecture or existing test strategy indicates a different shape.
| Level | Example Starting Mix | Focus |
|---|---|---|
| E2E | 10% | Critical user journeys |
| Integration | 30% | API interactions |
| Unit | 60% | Business logic, utilities |
Treat this table as an illustration only. Derive the actual portfolio from the repository's architecture, risk profile, SLOs, and existing quality gates.
3. Quality Gates
Pre-Commit
- Lint: npm run lint
- Format check: npm run format:check
- Type check: npm run type-check
- Unit tests: npm run test:unit
Pre-Merge
- All tests: npm test
- Coverage threshold: use the repository gate or agree a risk-based target
- Security scan: npm audit
- License check: npm run check:licenses
Pre-Production
- Full test suite: npm run test:all
- E2E tests: npm run test:e2e
- Performance tests: npm run test:perf
- Security audit: npm audit --audit-level high
Test Categories
Functional Testing
Purpose: Verify features work as specified
- Happy path testing
- Edge case testing
- Boundary value analysis
- Error handling
Non-Functional Testing
Performance
- Derive latency and throughput targets from the current SLO, baseline, workload, and user journey
- Memory usage stable
- No memory leaks
Security
- OWASP Top 10 coverage
- Penetration testing
- Dependency vulnerability scan
- Secrets detection
Compatibility
- Browser testing (Chrome, Firefox, Safari, Edge)
- Device testing (Mobile, Desktop, Tablet)
- OS testing (Windows, macOS, Linux)
- Version testing (N-1 browser versions)
Regression Testing
- Previous bugs don't reappear
- New features don't break existing features
- Performance doesn't degrade
Exploratory Testing
- Find unexpected issues
- Test edge cases
- User experience issues
Test Planning
Test Plan Template
# Test Plan: [Feature Name]
## Overview
[Feature description]
## Scope
[In scope / Out of scope]
## Test Cases
### Functional
- [ ] TC001: [Description]
- [ ] TC002: [Description]
### Integration
- [ ] TC101: [Description]
### E2E
- [ ] TC201: [Description]
## Test Data
[Required test data]
## Environment
[Test environment setup]
## Schedule
[Testing timeline]
## Exit Criteria
[Definition of done]
Quality Metrics
Use existing project gates first. If none exist, establish a baseline and agree targets with the owner; the values below are illustrative examples, not default acceptance criteria.
Code Quality
- Test Coverage: > 80%
- Cyclomatic Complexity: < 10 per function
- Code Duplication: < 5%
- Technical Debt Ratio: < 5%
Defect Metrics
- Defect Density: < 1 defect per 1000 LOC
- Critical Defects: 0
- High Defects: 0
- Medium Defects: < 3
Test Metrics
- Test Pass Rate: > 95%
- Flaky Tests: 0
- Test Execution Time: < 10 minutes
Automation Strategy
Automate When
- Test is run frequently
- Test has deterministic results
- Test is stable
- ROI justifies automation cost
Don't Automate When
- Test requires human judgment
- Test is exploratory
- Test is one-time only
- Test changes frequently
Bug Report Template
## Bug Summary
[One-line summary]
## Severity
Critical / High / Medium / Low
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Environment
- OS:
- Browser:
- Version:
## Attachments
[Screenshots, logs, etc.]
Scripts
Generate test plan:
python3 scripts/generate_test_plan.py --name <feature> --output docs/test-plan.md
Analyze test coverage:
python3 scripts/coverage_analysis.py --name <service-name> --output coverage-analysis.md
References
references/strategy.md- Testing strategiesreferences/gates.md- Quality gate definitionsreferences/metrics.md- QA metrics and KPIs
FAQ
What does the qa-expert skill do?
Quality assurance expert for testing strategies and quality gates. Use when planning test coverage, setting up QA processes, or improving quality standards.
How do I install qa-expert?
Run npx skills add https://github.com/zhaono1/agent-playbook --skill qa-expert in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/qa-expert/ (personal) or .claude/skills/qa-expert/ (project).
Which AI agents can use qa-expert?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is qa-expert safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains qa-expert?
It is published by zhaono1 in zhaono1/agent-playbook. It has 754 recorded installs.
More from zhaono1/agent-playbook
self-improving-agent
zhaono1/agent-playbook
Use after a failure, user correction, repeated workflow problem, or validated success reveals a reusable lesson. Captures bounded redacted candidates, runs executable behavior evals, and separates validation from application in durable guidance.
planning-with-files
zhaono1/agent-playbook
Uses persistent markdown files for general planning, progress tracking, and knowledge storage (Manus-style workflow). Use for multi-step tasks, research projects, or general organization WITHOUT mentioning PRD. For PRD-specific work, use prd-planner skill instead.
security-auditor
zhaono1/agent-playbook
Security vulnerability expert covering OWASP Top 10 and common security issues. Use when conducting security audits or reviewing code for vulnerabilities.
architecting-solutions
zhaono1/agent-playbook
Designs technical solutions and architecture. Use when user says "design solution", "architecture design", "technical design", or "方案设计" WITHOUT mentioning PRD. For PRD-specific work, use prd-planner skill instead.
skill-router
zhaono1/agent-playbook
Routes an agent request to the narrowest matching portable skill when the user asks which skill to use or needs help selecting one across supported hosts.
workflow-orchestrator
zhaono1/agent-playbook
Coordinates multi-skill workflows and records or runs follow-up actions when the host runtime supports them. Use when completing PRD creation, implementation, or any milestone that should be evaluated for additional skills.
Popular testing & qa skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
grilling
mattpocock/skills
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
migrate-to-shoehorn
mattpocock/skills
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
run-train
lllllllama/rigorpilot-skills
Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.
test-driven-development
obra/superpowers
Use when implementing any feature or bugfix, before writing implementation code
finishing-a-development-branch
obra/superpowers
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work