Skip to content
appsgit

Vitest

Vitest is an agent skill (a SKILL.md file) from antfu/skills. Vitest fast unit testing framework powered by Vite with Jest-compatible API. It works with Claude Code and has 5,943 GitHub stars across a repository of 4 listed skills. Install it by copying the skill folder into your agent's skills directory.

github.com/antfu/skills/skills/vitest (opens in a new tab)

Add this skill

Claude

Claude Code loads skills from ~/.claude/skills/ (all projects) or .claude/skills/ (one project):

git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/vitest ~/.claude/skills/vitest   # personal, or .claude/skills in a project

In the Claude apps, zip the vitest folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

ChatGPT / Codex

Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:

git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/vitest .agents/skills/vitest   # repo; ~/.agents/skills for all projects

Standalone skills also load in the ChatGPT desktop app.

Cursor

Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:

git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/vitest .cursor/skills/vitest   # project; ~/.cursor/skills for all projects

Source (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)

What this skill does

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures. Vitest is a next-generation testing framework powered by Vite. It provides a Jest-compatible API with native ESM, TypeScript, and JSX support out of the box. Vitest shares the same config, transformers, resolvers, and plugins with your Vite app.

When it triggers

  • Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

More skills in antfu/skills

4 skills are listed from this repository.

FAQ

Vitest FAQ

Still curious? Email info@appsgit.com.

What is the Vitest skill?

Vitest is an agent skill (a SKILL.md file) from antfu/skills. Vitest fast unit testing framework powered by Vite with Jest-compatible API. It works with Claude Code and has 5,943 GitHub stars across a repository of 4 listed skills. Install it by copying the skill folder into your agent's skills directory. Its SKILL.md lives at github.com/antfu/skills/skills/vitest.

How do I install the Vitest skill?

Copy the vitest folder (the one containing SKILL.md) into ~/.claude/skills/ for Claude Code, .agents/skills/ for Codex or .cursor/skills/ for Cursor. The agent picks it up automatically when a task matches its description.

Is the Vitest skill free?

Yes. The repository is open source under the MIT license.

Is Vitest maintained?

The repository's most recent commit was on Sep 30, 2026. appsgit only lists skills from repositories with a commit in the last six months.