Claude Code Skills·Claude Skills·The open SKILL.md registry for Claude
ClaudSkills / Dev Tools / tools-misc

Test Setup Vitest

Category: Dev Tools  ·  Sub-category: tools-misc  ·  Last updated:
lang:typescript
vibe-editor (Tauri 2 + Vite 8 + React 19 + TypeScript 6) にゼロから Vitest + @testing-library/react + Tauri モック を導入し、Renderer 側のユニットテスト基盤を作るための skill。renderer 側 React コンポーネントのテスト・zustand store のテスト・`@tauri-apps/api/core` の `invoke()` モック・`@xyflow/react` Canvas テストの注意点・`monaco-editor` の jsdom スタブ・`xterm.js` のテスト除外戦略・Rust 側 `cargo test` の規約 (`#[tokio::test]` 等) の組み合わせをガイドする。`disable-model-invocation: true` (= 一度導入したら Claude が自動起動はしない、ユーザーが `/test-setup-vitest` で明示起動)。ユーザーが「テストを入れたい」「Vitest を導入」「テスト環境を整える」「unit test 基盤」「TDD したい」「invoke をモックしたい」「テストフレームワークなくて困る」「テストの書き方の規約」等を言ったときに使う。

From the source SKILL.md

vibe-editor (Tauri 2 + Vite 8 + React 19 + TS 6) に テスト基盤を一から導入 するときに通すスキル。 Tauri アプリのテストには「Renderer 側 (Vitest)」と「Rust 側 (cargo test)」の 2 系統があり、どちらをどこまでやるかを判断するところから始める。

What this skill does

Test Setup Vitest is a community-contributed Claude Code skill in the tools-misc sub-category. It ships as a SKILL.md file that Claude Code auto-discovers under ~/.claude/skills/test-setup-vitest/ and loads when your prompt matches the skill's trigger.

Who uses this skill

The Test Setup Vitest Claude Code skill is built for developers, power users, and teams automating repetitive workflows and improving developer experience. It's part of ClaudSkills (also referred to as Claude Skills or Claude Code Skills) — the open community-curated registry of 69,000+ SKILL.md files for Anthropic's Claude Code agent and the wider Claude ecosystem (Claude API, Claude Agent SDK).

How to install

Free

Manual install (2 steps)

mkdir -p ~/.claude/skills/test-setup-vitest
curl -L https://claudskills.com/skills/test-setup-vitest/SKILL.md \
  -o ~/.claude/skills/test-setup-vitest/SKILL.md

Or just download SKILL.md directly and drop it into ~/.claude/skills/test-setup-vitest/. Claude Code auto-discovers it on next session.

Skills live at ~/.claude/skills/test-setup-vitest/SKILL.md on macOS/Linux, or %USERPROFILE%\.claude\skills\test-setup-vitest\SKILL.md on Windows. See the full install guide for step-by-step instructions.

Pro

One-click install via the desktop app

The ClaudSkills desktop app installs any skill directly into ~/.claude/skills/ with one click — no terminal required. Pro starts at $9/mo or $149 lifetime.

Pro

For the full experience including quality scoring and one-click install features for each skill — upgrade to Pro.

Attribution & license

More Dev Tools skills

Browse all Dev Tools skills in the ClaudSkills registry, or explore these other picks from the same category:

Browse all Dev Tools skills → Top 100 skills
Part of ClaudSkills — the open registry for Claude Skills & Claude Code Skills.  ·  What's New  ·  Install guide  ·  About  ·  llms.txt

Part of Acreator Store — Adam Lankamer's AI tools: PerfectStudio · Ucaption · UTagger · AutoXPoster · TestYourSkills · AutomationFlows · Au Naturel