typescript-testing
✓使用 Vitest、React 测试库和 MSW 进行前端测试规则。包括覆盖率要求、测试设计原则和质量标准。在编写前端测试或检查测试质量时使用。
SKILL.md
Coverage Requirements (ADR-0002 Compliant) Mandatory: Unit test coverage must be 60% or higher Component-specific targets:
Fix tests: Wrong expected values, references to non-existent features, dependence on implementation details, implementation only for tests Fix implementation: Valid specifications, business logic, important edge cases When in doubt: Confirm with user
Basic Principles Use test helpers to reduce duplication and improve maintainability.
使用 Vitest、React 测试库和 MSW 进行前端测试规则。包括覆盖率要求、测试设计原则和质量标准。在编写前端测试或检查测试质量时使用。 来源:shinpr/claude-code-workflows。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/shinpr/claude-code-workflows --skill typescript-testing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 typescript-testing?
使用 Vitest、React 测试库和 MSW 进行前端测试规则。包括覆盖率要求、测试设计原则和质量标准。在编写前端测试或检查测试质量时使用。 来源:shinpr/claude-code-workflows。
如何安装 typescript-testing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/shinpr/claude-code-workflows --skill typescript-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/shinpr/claude-code-workflows
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01