qa-expert
Quality assurance expert for testing strategies and quality gates. Use when planning test coverage, setting up QA processes, or improving quality standards.
- License 许可
- MIT
- 最近更新
- 2026-08-19
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- description
- Quality assurance expert for testing strategies and quality gates. Use when planning test coverage, setting up QA processes, or improving quality standards.
02 资源文件 6
- 参考文档README.md757 B
- 参考文档references/gates.md202 B
- 参考文档references/metrics.md120 B
- 参考文档references/strategy.md193 B
- 脚本scripts/coverage_analysis.py1.6 KB
- 脚本scripts/generate_test_plan.py1.7 KB
03 SKILL.md 正文
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 risk:
| Risk Level | Testing Approach |
|---|---|
| Critical (Money, Security, Data) | 100% automation, chaos testing |
| High (Core features) | Full E2E, integration, unit |
| Medium (Secondary features) | Integration, unit |
| Low (Edge features) | Unit tests only |
2. Testing Pyramid Allocation
| Level | % of Tests | Focus |
|---|---|---|
| E2E | 10% | Critical user journeys |
| Integration | 30% | API interactions |
| Unit | 60% | Business logic, utilities |
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: > 80%
- 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
- Response time < 200ms (p95)
- Throughput > 1000 req/s
- 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
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:
python scripts/generate_test_plan.py <feature>
Analyze test coverage:
python scripts/coverage_analysis.py
References
references/strategy.md- Testing strategiesreferences/gates.md- Quality gate definitionsreferences/metrics.md- QA metrics and KPIs
04 同仓库更多 Skills
youtube-transcript
Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com/watch?v=, youtu.be/, or similar). Supports output with or without timestamps.
youtube-thumbnail-design
YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image
youtube-short-maker
Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: "youtube short", "make a youtube short", "shorts video", "short-form video". NOT for long-form or landscape video.
xcode-project-setup
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
x402
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or "build it in" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.
x-twitter-scraper
Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.