testing-qa
它能做什么
这套工具集帮助你确保计算机程序正确工作。它包括针对小模块的测试(单元测试)、模块之间如何协作的测试(集成测试)、从最终用户角度进行的测试(E2E 测试)、浏览器自动化,以及整体质量检查。
适用场景
- ✓当你准备设置程序的测试方案时。
- ✓当你编写测试来检查代码时。
- ✓当你需要在浏览器中自动执行测试时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/testing-qa/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我为新的 API 设置集成测试。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用不同的工具和技术来创建并运行测试。它会检查程序的各部分能否协同工作,以及程序的行为是否符合用户预期。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Testing/QA Workflow Bundle
Overview
Comprehensive testing and quality assurance workflow covering unit tests, integration tests, E2E tests, browser automation, and quality gates for production-ready software.
When to Use This Workflow
Use this workflow when:
- Setting up testing infrastructure
- Writing unit and integration tests
- Implementing E2E tests
- Automating browser testing
- Establishing quality gates
- Performing code review
Workflow Phases
Phase 1: Test Strategy
Skills to Invoke
test-automator- Test automationtest-driven-development- TDD
Actions
- Define testing strategy
- Choose testing frameworks
- Plan test coverage
- Set up test infrastructure
- Configure CI integration
Copy-Paste Prompts
Use @test-automator to design testing strategy
Use @test-driven-development to implement TDD workflow
Phase 2: Unit Testing
Skills to Invoke
javascript-testing-patterns- Jest/Vitestpython-testing-patterns- pytestunit-testing-test-generate- Test generationtdd-orchestrator- TDD orchestration
Actions
- Write unit tests
- Set up test fixtures
- Configure mocking
- Measure coverage
- Integrate with CI
Copy-Paste Prompts
Use @javascript-testing-patterns to write Jest tests
Use @python-testing-patterns to write pytest tests
Use @unit-testing-test-generate to generate unit tests
Phase 3: Integration Testing
Skills to Invoke
api-testing-observability-api-mock- API testinge2e-testing-patterns- Integration patterns
Actions
- Design integration tests
- Set up test databases
- Configure API mocks
- Test service interactions
- Verify data flows
Copy-Paste Prompts
Use @api-testing-observability-api-mock to test APIs
Phase 4: E2E Testing
Skills to Invoke
playwright-skill- Playwright testinge2e-testing-patterns- E2E patternswebapp-testing- Web app testing
Actions
- Design E2E scenarios
- Write test scripts
- Configure test data
- Set up parallel execution
- Implement visual regression
Copy-Paste Prompts
Use @playwright-skill to create E2E tests
Use @e2e-testing-patterns to design E2E strategy
Phase 5: Browser Automation
Skills to Invoke
browser-automation- Browser automationwebapp-testing- Browser testingscreenshots- Screenshot automation
Actions
- Set up browser automation
- Configure headless testing
- Implement visual testing
- Capture screenshots
- Test responsive design
Copy-Paste Prompts
Use @browser-automation to automate browser tasks
Use @screenshots to capture marketing screenshots
Phase 6: Performance Testing
Skills to Invoke
performance-engineer- Performance engineeringperformance-profiling- Performance profilingweb-performance-optimization- Web performance
Actions
- Design performance tests
- Set up load testing
- Measure response times
- Identify bottlenecks
- Optimize performance
Copy-Paste Prompts
Use @performance-engineer to test application performance
Phase 7: Code Review
Skills to Invoke
code-reviewer- AI code reviewcode-review-excellence- Review best practicesfind-bugs- Bug detectionsecurity-scanning-security-sast- Security scanning
Actions
- Configure review tools
- Run automated reviews
- Check for bugs
- Verify security
- Approve changes
Copy-Paste Prompts
Use @code-reviewer to review pull requests
Use @find-bugs to detect bugs in code
Phase 8: Quality Gates
Skills to Invoke
lint-and-validate- Lintingverification-before-completion- Verification
Actions
- Configure linters
- Set up formatters
- Define quality metrics
- Implement gates
- Monitor compliance
Copy-Paste Prompts
Use @lint-and-validate to check code quality
Use @verification-before-completion to verify changes
Testing Pyramid
/ / \ E2E Tests (10%)
/---- / \ Integration Tests (20%)
/-------- / \ Unit Tests (70%)
/------------```
## Quality Gates Checklist
- [ ] Unit test coverage > 80%
- [ ] All tests passing
- [ ] E2E tests for critical paths
- [ ] Performance benchmarks met
- [ ] Security scan passed
- [ ] Code review approved
- [ ] Linting clean
## Related Workflow Bundles
…
常见问题
什么是单元测试?
单元测试是检查小型、独立代码片段是否正常工作的测试。
什么是 E2E 测试?
E2E 测试模拟用户从头到尾的完整体验,确保整个系统作为一个整体正常运行。
什么是“质量门禁”?
质量门禁是自动化检查,确保代码在发布前达到一定的质量标准。
详情
作者的原始描述
Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.
热度
- GitHub 星标
- 48k
- 排名
- #5974
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。