关于 testing-qa
面向软件团队的测试与 QA 工作流技能,涵盖测试策略、单元与集成测试、E2E 和浏览器自动化、性能检查、代码审查及质量门禁。它将流程划分为多个阶段,并为各阶段列出相关技能。
主要功能
- 01测试策略与基础设施
- 02单元与集成测试
- 03E2E 与浏览器自动化
- 04性能测试
- 05代码审查与质量门禁
适用场景
- 01规划软件测试策略
- 02编写单元与集成测试
- 03自动化浏览器及 E2E 检查
- 04设定发布质量门禁
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ sickn33/ agentic-awesome-skills --skill testing-qa安装后在 Claude Code 中输入/testing-qa确认已加载。
详细介绍
测试/QA 工作流套装
概述
涵盖单元测试、集成测试、E2E 测试、浏览器自动化及质量门禁的全面测试与质量保证工作流,助力打造可上线的软件。
何时使用此工作流
在以下场景使用此工作流:
- 搭建测试基础设施
- 编写单元测试和集成测试
- 实现 E2E 测试
- 自动化浏览器测试
- 建立质量门禁
- 执行代码审查
工作流阶段
阶段 1:测试策略
调用的技能
test-automator- 测试自动化test-driven-development- TDD
操作
- 定义测试策略
- 选择测试框架
- 规划测试覆盖率
- 搭建测试基础设施
- 配置 CI 集成
可复制粘贴的提示词
Use @test-automator to design testing strategy
Use @test-driven-development to implement TDD workflow
阶段 2:单元测试
调用的技能
javascript-testing-patterns- Jest/Vitestpython-testing-patterns- pytestunit-testing-test-generate- 测试生成tdd-orchestrator- TDD 编排
操作
- 编写单元测试
- 设置测试夹具
- 配置 mock
- 测量覆盖率
- 与 CI 集成
可复制粘贴的提示词
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
阶段 3:集成测试
调用的技能
api-testing-observability-api-mock- API 测试e2e-testing-patterns- 集成模式
操作
- 设计集成测试
- 搭建测试数据库
- 配置 API mock
- 测试服务交互
- 验证数据流
可复制粘贴的提示词
Use @api-testing-observability-api-mock to test APIs
阶段 4:E2E 测试
调用的技能
playwright-skill- Playwright 测试e2e-testing-patterns- E2E 模式webapp-testing- Web 应用测试
操作
- 设计 E2E 场景
- 编写测试脚本
- 配置测试数据
- 设置并行执行
- 实现视觉回归
可复制粘贴的提示词
Use @playwright-skill to create E2E tests
Use @e2e-testing-patterns to design E2E strategy
阶段 5:浏览器自动化
调用的技能
browser-automation- 浏览器自动化webapp-testing- 浏览器测试screenshots- 截图自动化
操作
- 搭建浏览器自动化
- 配置无头测试
- 实现视觉测试
- 捕获截图
- 测试响应式设计
可复制粘贴的提示词
Use @browser-automation to automate browser tasks
Use @screenshots to capture marketing screenshots
阶段 6:性能测试
调用的技能
performance-engineer- 性能工程performance-profiling- 性能剖析web-performance-optimization- Web 性能
操作
- 设计性能测试
- 搭建负载测试
- 测量响应时间
- 识别瓶颈
- 优化性能
可复制粘贴的提示词
Use @performance-engineer to test application performance
阶段 7:代码审查
调用的技能
code-reviewer- AI 代码审查code-review-excellence- 审查最佳实践find-bugs- Bug 检测security-scanning-security-sast- 安全扫描
操作
- 配置审查工具
- 运行自动化审查
- 检查 Bug
- 验证安全性
- 批准变更
可复制粘贴的提示词
Use @code-reviewer to review pull requests
Use @find-bugs to detect bugs in code
阶段 8:质量门禁
调用的技能
lint-and-validate- Lint 检查verification-before-completion- 验证
操作
- 配置 linter
- 设置格式化工具
- 定义质量指标
- 实现门禁
- 监控合规性
可复制粘贴的提示词
Use @lint-and-validate to check code quality
Use @verification-before-completion to verify changes
测试金字塔
/ / \ E2E Tests (10%)
/---- / \ Integration Tests (20%)
/-------- / \ Unit Tests (70%)
/------------```
The 70/20/10 pyramid and coverage percentages are illustrative planning heuristics, not universal pass thresholds. Choose tests from actual failure risks and repository policy. Use isolated accounts/data, bound load tests and avoid production side effects; remote browser captures and paid runners need their actual scope. A code-review phase does not grant approval/merge authority.
## 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
- `development` - Development workflow
- `security-audit` - Security testing
- `cloud-devops` - CI/CD integration
- `ai-ml` - AI testing
## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
评论
支持 Markdown