Vitest — Development skill for Claude Code
Run Vitest tests and fix any failing tests.
How to install Vitest
Installs to ~/.claude/commands/alexanderop-markvim-vitest.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alexanderop/MarkVim/HEAD/.claude/commands/vitest.md -o ~/.claude/commands/alexanderop-markvim-vitest.md Restart Claude Code, or start a new session, for it to be picked up.
What Vitest does
description: Run Vitest tests and fix any failing tests allowed-tools: Bash(pnpm run test:vitest), Bash(pnpm test:vitest), Bash(vitest)
Vitest Test Runner
I have run the Vitest test suite. Here are the results:
Instructions
- Analyze the
above.- If all tests pass, no action is needed.
- If tests are failing, identify the root cause from the error messages.
- **Fix failing test
Alternatives in Development
- E2e Devcontainer — Run E2E tests in a dev container (isolated environment) 1.6k ★
- Create API — Scaffold a new API endpoint — route, handler, types, tests — wired into the server 335 ★
- Run Stack Tests — Skill: Run stack-tests (stacktest-) manually 295 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Implement Fix
Debug and patch application code to satisfy failing E2E or unit tests
TDD Green
Implement minimal code to make failing tests pass in TDD green phase:
TDD Red
Write comprehensive failing tests following TDD red phase principles.
Repos And Dungeons
Watch Claude Code explore your repo as a live pixel dungeon. Folders are rooms, unread code is fog, failing te
Agentic Dev
Turns a checked-in plan.md into reviewed pull requests. Three cron-driven stages — slice into issues, write fa
Vanta Status
Quick compliance dashboard — failing tests, missing docs, overdue vulns
Related Agents
Senior Test Engineer
Use to author RED (failing) tests first in the TDD cycle — xUnit + Moq + FluentAssertions for .NET, Vitest + T
Ark Build Manager
Triage and fix CI/CD build failures in Ark. Use when builds are failing, CI checks are red, tests are broken,
Playwright Test Healer
Use this agent when you need to debug and fix failing Playwright tests