[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-1e3b14ed-1ec3-4342-92af-d9483183dd18":3,"$fNG-srTA9SFZWck1Xsa3q7nlTmZ2CrNxIalrLJQTZDaM":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"1e3b14ed-1ec3-4342-92af-d9483183dd18","testing-qa","全面测试和QA工作流程，涵盖单元测试、集成测试、端到端测试、浏览器自动化和质量保证。","cat_coding_review","mod_coding","sickn33,coding","---\nname: testing-qa\ndescription: \"Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.\"\ncategory: workflow-bundle\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# Testing\u002FQA Workflow Bundle\n\n## Overview\n\nComprehensive testing and quality assurance workflow covering unit tests, integration tests, E2E tests, browser automation, and quality gates for production-ready software.\n\n## When to Use This Workflow\n\nUse this workflow when:\n- Setting up testing infrastructure\n- Writing unit and integration tests\n- Implementing E2E tests\n- Automating browser testing\n- Establishing quality gates\n- Performing code review\n\n## Workflow Phases\n\n### Phase 1: Test Strategy\n\n#### Skills to Invoke\n- `test-automator` - Test automation\n- `test-driven-development` - TDD\n\n#### Actions\n1. Define testing strategy\n2. Choose testing frameworks\n3. Plan test coverage\n4. Set up test infrastructure\n5. Configure CI integration\n\n#### Copy-Paste Prompts\n```\nUse @test-automator to design testing strategy\n```\n\n```\nUse @test-driven-development to implement TDD workflow\n```\n\n### Phase 2: Unit Testing\n\n#### Skills to Invoke\n- `javascript-testing-patterns` - Jest\u002FVitest\n- `python-testing-patterns` - pytest\n- `unit-testing-test-generate` - Test generation\n- `tdd-orchestrator` - TDD orchestration\n\n#### Actions\n1. Write unit tests\n2. Set up test fixtures\n3. Configure mocking\n4. Measure coverage\n5. Integrate with CI\n\n#### Copy-Paste Prompts\n```\nUse @javascript-testing-patterns to write Jest tests\n```\n\n```\nUse @python-testing-patterns to write pytest tests\n```\n\n```\nUse @unit-testing-test-generate to generate unit tests\n```\n\n### Phase 3: Integration Testing\n\n#### Skills to Invoke\n- `api-testing-observability-api-mock` - API testing\n- `e2e-testing-patterns` - Integration patterns\n\n#### Actions\n1. Design integration tests\n2. Set up test databases\n3. Configure API mocks\n4. Test service interactions\n5. Verify data flows\n\n#### Copy-Paste Prompts\n```\nUse @api-testing-observability-api-mock to test APIs\n```\n\n### Phase 4: E2E Testing\n\n#### Skills to Invoke\n- `playwright-skill` - Playwright testing\n- `e2e-testing-patterns` - E2E patterns\n- `webapp-testing` - Web app testing\n\n#### Actions\n1. Design E2E scenarios\n2. Write test scripts\n3. Configure test data\n4. Set up parallel execution\n5. Implement visual regression\n\n#### Copy-Paste Prompts\n```\nUse @playwright-skill to create E2E tests\n```\n\n```\nUse @e2e-testing-patterns to design E2E strategy\n```\n\n### Phase 5: Browser Automation\n\n#### Skills to Invoke\n- `browser-automation` - Browser automation\n- `webapp-testing` - Browser testing\n- `screenshots` - Screenshot automation\n\n#### Actions\n1. Set up browser automation\n2. Configure headless testing\n3. Implement visual testing\n4. Capture screenshots\n5. Test responsive design\n\n#### Copy-Paste Prompts\n```\nUse @browser-automation to automate browser tasks\n```\n\n```\nUse @screenshots to capture marketing screenshots\n```\n\n### Phase 6: Performance Testing\n\n#### Skills to Invoke\n- `performance-engineer` - Performance engineering\n- `performance-profiling` - Performance profiling\n- `web-performance-optimization` - Web performance\n\n#### Actions\n1. Design performance tests\n2. Set up load testing\n3. Measure response times\n4. Identify bottlenecks\n5. Optimize performance\n\n#### Copy-Paste Prompts\n```\nUse @performance-engineer to test application performance\n```\n\n### Phase 7: Code Review\n\n#### Skills to Invoke\n- `code-reviewer` - AI code review\n- `code-review-excellence` - Review best practices\n- `find-bugs` - Bug detection\n- `security-scanning-security-sast` - Security scanning\n\n#### Actions\n1. Configure review tools\n2. Run automated reviews\n3. Check for bugs\n4. Verify security\n5. Approve changes\n\n#### Copy-Paste Prompts\n```\nUse @code-reviewer to review pull requests\n```\n\n```\nUse @find-bugs to detect bugs in code\n```\n\n### Phase 8: Quality Gates\n\n#### Skills to Invoke\n- `lint-and-validate` - Linting\n- `verification-before-completion` - Verification\n\n#### Actions\n1. Configure linters\n2. Set up formatters\n3. Define quality metrics\n4. Implement gates\n5. Monitor compliance\n\n#### Copy-Paste Prompts\n```\nUse @lint-and-validate to check code quality\n```\n\n```\nUse @verification-before-completion to verify changes\n```\n\n## Testing Pyramid\n\n```\n        \u002F       \u002F  \\    E2E Tests (10%)\n      \u002F----     \u002F      \\  Integration Tests (20%)\n    \u002F--------   \u002F          \\ Unit Tests (70%)\n  \u002F------------```\n\n## Quality Gates Checklist\n\n- [ ] Unit test coverage > 80%\n- [ ] All tests passing\n- [ ] E2E tests for critical paths\n- [ ] Performance benchmarks met\n- [ ] Security scan passed\n- [ ] Code review approved\n- [ ] Linting clean\n\n## Related Workflow Bundles\n\n- `development` - Development workflow\n- `security-audit` - Security testing\n- `cloud-devops` - CI\u002FCD integration\n- `ai-ml` - AI testing\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,207,1563,"2026-05-16 13:43:52",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"代码审查","review","mdi-magnify-scan","代码质量分析、安全审查",4,145,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"eb95a790-bd4c-4959-893d-d16a04cd1c3b","1.0.0","testing-qa.zip",1928,"uploads\u002Fskills\u002F1e3b14ed-1ec3-4342-92af-d9483183dd18\u002Ftesting-qa.zip","731f7e9ad643c64219eb55bb379e9caeb3644d22bdb3526593dfa2ef8c420a6f","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":5189}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]