web-testing by mrgoonie/claudekit-skills
npx skills add https://github.com/mrgoonie/claudekit-skills --skill web-testing全面的 Web 测试:单元测试、集成测试、端到端测试、负载测试、安全测试、视觉回归测试、无障碍访问测试。
npx vitest run # 单元测试
npx playwright test # 端到端测试
npx playwright test --ui # 带 UI 的端到端测试
k6 run load-test.js # 负载测试
npx @axe-core/cli https://example.com # 无障碍访问测试
npx lighthouse https://example.com # 性能测试
| 层级 | 比例 | 框架 | 速度 |
|---|---|---|---|
| 单元测试 | 70% | Vitest/Jest | <50ms |
| 集成测试 | 20% | Vitest + fixtures | 100-500ms |
| 端到端测试 | 10% | Playwright | 5-30s |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
./references/unit-integration-testing.md - 单元/集成测试模式./references/e2e-testing-playwright.md - Playwright 端到端测试工作流./references/component-testing.md - React/Vue/Angular 组件测试./references/testing-pyramid-strategy.md - 测试比例、优先级矩阵./references/cross-browser-checklist.md - 浏览器/设备矩阵./references/mobile-gesture-testing.md - 触摸、滑动、方向./references/shadow-dom-testing.md - Web 组件测试./references/interactive-testing-patterns.md - 表单、键盘、拖放./references/functional-testing-checklist.md - 功能测试./references/performance-core-web-vitals.md - LCP/CLS/INP、Lighthouse CI./references/visual-regression.md - 截图对比./references/test-flakiness-mitigation.md - 稳定性策略./references/accessibility-testing.md - WCAG 检查清单、axe-core./references/security-testing-overview.md - OWASP Top 10、工具./references/security-checklists.md - 认证、API、头部信息./references/vulnerability-payloads.md - SQL/XSS/CSRF 攻击载荷./references/api-testing.md - API 测试模式./references/load-testing-k6.md - k6 负载测试模式./references/pre-release-checklist.md - 完整的发布前检查清单jobs:
test:
steps:
- run: npm run test:unit # 关卡 1: 快速失败
- run: npm run test:e2e # 关卡 2: 单元测试通过后
- run: npm run test:a11y # 无障碍访问测试
- run: npx lhci autorun # 性能测试
每周安装量
202
代码仓库
GitHub 星标数
1.9K
首次出现
2026年1月19日
安全审计
安装于
opencode164
claude-code163
gemini-cli154
codex151
cursor136
github-copilot127
Comprehensive web testing: unit, integration, E2E, load, security, visual regression, accessibility.
npx vitest run # Unit tests
npx playwright test # E2E tests
npx playwright test --ui # E2E with UI
k6 run load-test.js # Load tests
npx @axe-core/cli https://example.com # Accessibility
npx lighthouse https://example.com # Performance
| Layer | Ratio | Framework | Speed |
|---|---|---|---|
| Unit | 70% | Vitest/Jest | <50ms |
| Integration | 20% | Vitest + fixtures | 100-500ms |
| E2E | 10% | Playwright | 5-30s |
./references/unit-integration-testing.md - Unit/integration patterns./references/e2e-testing-playwright.md - Playwright E2E workflows./references/component-testing.md - React/Vue/Angular component testing./references/testing-pyramid-strategy.md - Test ratios, priority matrix./references/cross-browser-checklist.md - Browser/device matrix./references/mobile-gesture-testing.md - Touch, swipe, orientation./references/shadow-dom-testing.md - Web components testing./references/interactive-testing-patterns.md - Forms, keyboard, drag-drop./references/functional-testing-checklist.md - Feature testing./references/performance-core-web-vitals.md - LCP/CLS/INP, Lighthouse CI./references/visual-regression.md - Screenshot comparison./references/test-flakiness-mitigation.md - Stability strategies./references/accessibility-testing.md - WCAG checklist, axe-core./references/security-testing-overview.md - OWASP Top 10, tools./references/security-checklists.md - Auth, API, headers./references/vulnerability-payloads.md - SQL/XSS/CSRF payloads./references/api-testing.md - API test patterns./references/load-testing-k6.md - k6 load test patterns./references/pre-release-checklist.md - Complete release checklistjobs:
test:
steps:
- run: npm run test:unit # Gate 1: Fast fail
- run: npm run test:e2e # Gate 2: After unit pass
- run: npm run test:a11y # Accessibility
- run: npx lhci autorun # Performance
Weekly Installs
202
Repository
GitHub Stars
1.9K
First Seen
Jan 19, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode164
claude-code163
gemini-cli154
codex151
cursor136
github-copilot127
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
31,600 周安装