Skillzwave Logo
Skillzwave

vitest

75.0
C

Vitest unit testing patterns for TypeScript. Covers test structure, mocking, assertions, and coverage. Triggers on vitest, describe, it, expect, mock.

Commands Agents Marketplace
#mock#vitest#test#mocking#vitest description#API#unit tests#tests

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install settlemint/agent-marketplace/vitest
skilz install settlemint/agent-marketplace/vitest --agent opencode
skilz install settlemint/agent-marketplace/vitest --agent codex
skilz install settlemint/agent-marketplace/vitest --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding agents

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/settlemint/agent-marketplace
2. Copy the agent skill directory:
cp -r agent-marketplace/devtools/skills/vitest ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

automating-mail

by SpillwaveSolutions

Automates Apple Mail via JXA with AppleScript dictionary discovery. Use when asked to "automate email", "send mail via script", "JXA Mail automation",...

100
A
general
Marketplace
#excel#Mail.OutgoingMessage#Status

automating-reminders

by SpillwaveSolutions

Automates Apple Reminders using JavaScript for Automation (JXA). Use when asked to "create reminders programmatically", "automate reminder lists", "JX...

100
A
general
Marketplace
#app.lists.byName#excel#notes

mastering-postgresql

by SpillwaveSolutions

PostgreSQL development for Python with full-text search (tsvector, tsquery, BM25 via pg_search), vector similarity (pgvector with HNSW/IVFFlat), JSONB...

100
A
general
Marketplace
#references#search#vector

automating-contacts

by SpillwaveSolutions

Automates macOS Contacts via JXA with AppleScript dictionary discovery. Use when asked to "automate contacts", "JXA contacts automation", "macOS addre...

99
A
general
Marketplace
#excel#notes#Contacts.Person

Agentic Skill Details

Type
Other
Meta-Domain
N/A
Primary Domain
N/A
Market Score
75.0

Agent Skill Grade

C
Score: 75/100 Click to see breakdown

Score Breakdown

Spec Compliance
14/15
PDA Architecture
22/30
Ease of Use
21/25
Writing Style
8/10
Utility
16/20
Modifiers: -6

Areas to Improve

  • File exceeds 100 lines but lacks table of contents for navigation
  • Mock patterns appear both inline in SKILL.md and in templates, wasting tokens
  • Uses templates/ instead of standard references/ directory per skill specification

Recommendations

  • Add trigger phrases to description for discoverability
  • Add table of contents for files over 100 lines

Graded: 1/18/2026

Developer Feedback

I took a look at your vitest skill and wanted to share some thoughts.

Links:

The TL;DR

You're at 75/100, solid C-grade territory. This is based on Anthropic's skill best practices rubric. Your strongest area is Spec Compliance (14/15) — the fundamentals are tight. Weakest is Progressive Disclosure Architecture (22/30) — there's some structural inefficiency that's eating your token economy.

What's Working Well

  • Spec compliance is basically perfect (14/15). Your YAML frontmatter is clean, naming follows conventions, and your description has comprehensive trigger coverage (40+ patterns). This skill will activate on natural queries.
  • Your trigger list is genuinely thorough — covering everything from explicit vi.fn, .test.ts, describe( to implicit "mock a service test" patterns. That's good UX design.
  • The quick_start table is a solid entry point with clear scenarios, and your success_criteria checklist gives devs a real validation path. That's the kind of thing that makes a skill feel approachable.

The Big One: Token Waste From Duplication

Your mocking patterns appear twice — once inline in the <mocking> section (lines 110-123) and again in templates/mock-module.ts.md. For a 350-line file, this is burning tokens on repetition.

The fix: Keep only the vi.fn() basics in SKILL.md with a reference to the template. Move the full module mocking example into the template exclusively. This alone should save ~40 tokens and bump you +2 points toward 77/100.

Other Things Worth Fixing

  1. Add a table of contents — 350+ lines without a TOC makes navigation a pain. Add a simple ## Contents section listing: objective, mocking, advanced patterns, assertions, templates, commands. Gets you +2 points.

  2. Use references/ instead of templates/ — that's the standard directory name in the skill spec. Small change, but standardization matters for discoverability. +1 point.

  3. Templates need "Expected Output" sections — your placeholder tables show what to fill in, but not what a passing vitest run actually looks like. Add sample terminal output so devs know what success looks like. +1 point.

  4. Missing step-by-step workflow — you have a quick_start table, but no numbered "Step 1... Step 2..." flow for writing a complete test file from scratch. Add a workflow section. +1 point.

Quick Wins

  • Deduplicate mocking examples (SKILL.md → template) — +2 pts
  • Add table of contents — +2 pts
  • Rename templates/ to references/+1 pt
  • Add expected output to templates — +1 pt

That's 6 points within reach. You'd hit 81/100 and move into B-grade territory with focused work on PDA structure.


Checkout your skill here: SkillzWave.ai | SpillWave We have an agentic skill installer that install skills in 14+ coding agent platforms. Check out this guide on how to improve your agentic skills.

AI-Detected Topics

Extracted using NLP analysis

mock vitest test mocking vitest description API unit tests tests current API testing

Report Security Issue

Found a security vulnerability in this agent skill?