Killer-Skills Review
Decision support comes first. Repository text comes second.
This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.
非常适合需要快速高效单元测试、即时反馈和AI驱动测试能力的JavaScript代理。 Expert guidance for Vitest testing framework including unit tests, integration tests, mocking, coverage, React Testing Library integration, and TypeScript testing. Use this when writing tests for Vite-based applications.
核心价值
赋予代理使用Vitest编写极快的单元测试的能力,利用其Jest兼容的API、第一级TypeScript支持和内置的v8/istanbul代码覆盖,同时提供一个漂亮的UI用于测试结果。
适用 Agent 类型
非常适合需要快速高效单元测试、即时反馈和AI驱动测试能力的JavaScript代理。
↓ 赋予的主要能力 · Vitest
! 使用限制与门槛
- 需要Vite原生环境
- 与非Jest兼容测试框架存在兼容性问题
- 需要额外的设置@vitest/ui和@testing-library/react
Why this page is reference-only
- - Current locale does not satisfy the locale-governance contract.
- - The underlying skill quality score is below the review floor.
Source Boundary
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Browser Sandbox Environment
⚡️ Ready to unleash?
Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.
常见问题与安装步骤
以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。
? FAQ
Vitest 是什么?
非常适合需要快速高效单元测试、即时反馈和AI驱动测试能力的JavaScript代理。 Expert guidance for Vitest testing framework including unit tests, integration tests, mocking, coverage, React Testing Library integration, and TypeScript testing. Use this when writing tests for Vite-based applications.
如何安装 Vitest?
运行命令:npx killer-skills add oriolrius/pki-manager-web/Vitest。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。
Vitest 适用于哪些场景?
典型场景包括:使用@testing-library/react为React应用程序自动化单元测试、使用v8/istanbul生成测试覆盖报告、使用Vitest的HMR获得即时反馈来调试JavaScript代码。
Vitest 支持哪些 IDE 或 Agent?
该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。
Vitest 有哪些限制?
需要Vite原生环境;与非Jest兼容测试框架存在兼容性问题;需要额外的设置@vitest/ui和@testing-library/react。
↓ 安装步骤
-
1. 打开终端
在你的项目目录中打开终端或命令行。
-
2. 执行安装命令
运行:npx killer-skills add oriolrius/pki-manager-web/Vitest。CLI 会自动识别 IDE 或 AI Agent 并完成配置。
-
3. 开始使用技能
Vitest 已启用,可立即在当前项目中调用。
! 参考页模式
此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Vitest
安装 Vitest,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。