·vitest-testing-patterns
</>

vitest-testing-patterns

erichowens/some_claude_skills

使用 Vitest 和 React 测试库编写测试。在创建单元测试、组件测试、集成测试或模拟依赖项时使用。激活测试文件创建、模拟模式、覆盖率和测试最佳实践。

57安装·1热度·@erichowens

安装

$npx skills add https://github.com/erichowens/some_claude_skills --skill vitest-testing-patterns

SKILL.md

This skill helps you write effective tests using Vitest and React Testing Library following project conventions.

使用 Vitest 和 React 测试库编写测试。在创建单元测试、组件测试、集成测试或模拟依赖项时使用。激活测试文件创建、模拟模式、覆盖率和测试最佳实践。 来源:erichowens/some_claude_skills。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/erichowens/some_claude_skills --skill vitest-testing-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

安全认证,代码可靠安全 一键安装,配置简单 兼容 Claude Code、Cursor 等工具

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/erichowens/some_claude_skills --skill vitest-testing-patterns
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 vitest-testing-patterns?

使用 Vitest 和 React 测试库编写测试。在创建单元测试、组件测试、集成测试或模拟依赖项时使用。激活测试文件创建、模拟模式、覆盖率和测试最佳实践。 来源:erichowens/some_claude_skills。

如何安装 vitest-testing-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/erichowens/some_claude_skills --skill vitest-testing-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/erichowens/some_claude_skills