跳到正文
Skillpedia
测试48k · #5974

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/testing-qa/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 automation
  • test-driven-development - TDD

Actions

  1. Define testing strategy
  2. Choose testing frameworks
  3. Plan test coverage
  4. Set up test infrastructure
  5. 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/Vitest
  • python-testing-patterns - pytest
  • unit-testing-test-generate - Test generation
  • tdd-orchestrator - TDD orchestration

Actions

  1. Write unit tests
  2. Set up test fixtures
  3. Configure mocking
  4. Measure coverage
  5. 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 testing
  • e2e-testing-patterns - Integration patterns

Actions

  1. Design integration tests
  2. Set up test databases
  3. Configure API mocks
  4. Test service interactions
  5. 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 testing
  • e2e-testing-patterns - E2E patterns
  • webapp-testing - Web app testing

Actions

  1. Design E2E scenarios
  2. Write test scripts
  3. Configure test data
  4. Set up parallel execution
  5. 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 automation
  • webapp-testing - Browser testing
  • screenshots - Screenshot automation

Actions

  1. Set up browser automation
  2. Configure headless testing
  3. Implement visual testing
  4. Capture screenshots
  5. 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 engineering
  • performance-profiling - Performance profiling
  • web-performance-optimization - Web performance

Actions

  1. Design performance tests
  2. Set up load testing
  3. Measure response times
  4. Identify bottlenecks
  5. Optimize performance

Copy-Paste Prompts

Use @performance-engineer to test application performance

Phase 7: Code Review

Skills to Invoke

  • code-reviewer - AI code review
  • code-review-excellence - Review best practices
  • find-bugs - Bug detection
  • security-scanning-security-sast - Security scanning

Actions

  1. Configure review tools
  2. Run automated reviews
  3. Check for bugs
  4. Verify security
  5. 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 - Linting
  • verification-before-completion - Verification

Actions

  1. Configure linters
  2. Set up formatters
  3. Define quality metrics
  4. Implement gates
  5. 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5974
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能