analyzing-test-coverage
使用 Vitest 和 MSW 模式创建和分析测试。生成测试构建器、模拟存储库并配置集成测试。触发条件:编写测试、测试覆盖率、Vitest、MSW 模拟、vi.fn、vi.mock、单元测试、集成测试、测试构建器、模拟设置、测试失败。
SKILL.md
Guide the creation of comprehensive tests following project patterns for unit tests, integration tests, and E2E tests using Vitest, MSW, and project-specific test helpers.
| Vitest | Test runner and assertion library | | MSW | Mock Service Worker for network mocking | | vi | Vitest mock utilities | | test-helpers/ | Project-specific test utilities |
Service Tests See references/patterns.md for full examples. Key structure:
使用 Vitest 和 MSW 模式创建和分析测试。生成测试构建器、模拟存储库并配置集成测试。触发条件:编写测试、测试覆盖率、Vitest、MSW 模拟、vi.fn、vi.mock、单元测试、集成测试、测试构建器、模拟设置、测试失败。 来源:saleor/configurator。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/saleor/configurator --skill analyzing-test-coverage- 分类
- </>开发工具
- 认证
- —
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 analyzing-test-coverage?
使用 Vitest 和 MSW 模式创建和分析测试。生成测试构建器、模拟存储库并配置集成测试。触发条件:编写测试、测试覆盖率、Vitest、MSW 模拟、vi.fn、vi.mock、单元测试、集成测试、测试构建器、模拟设置、测试失败。 来源:saleor/configurator。
如何安装 analyzing-test-coverage?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/saleor/configurator --skill analyzing-test-coverage 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/saleor/configurator