Skill Press

No. 926 · vue-testing-best-practices

VUE Testing BEST Practices

A field guide from Vue.js AI contributors

Vue.js AI contributors

When to use it

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Rank
No. 926 of 971
Installs
Not listed yet
Runs in
Claude
Length
155 words · 1 min
Files
13
License
MIT

Get this skill

Download the skill folder (.zip, 25 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "vue-testing-best-practices" Agent Skill by Vue.js AI contributors, from https://github.com/vuejs-ai/skills.

1. Fetch the whole folder skills/vue-testing-best-practices — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/vuejs-ai/skills.git 198f0cd8f7f9c0a3d9b566ccc16de6677519ee78
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "vue-testing-best-practices":
   - Claude Code: ~/.claude/skills/vue-testing-best-practices/ (all projects) or .claude/skills/vue-testing-best-practices/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that vue-testing-best-practices/SKILL.md exists and its frontmatter says name: vue-testing-best-practices.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/vuejs-ai/skills/tree/198f0cd8f7f9c0a3d9b566ccc16de6677519ee78/skills/vue-testing-best-practices --skill vue-testing-best-practices

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

The skill, in full

Vue.js testing best practices, patterns, and common gotchas.

Testing

Reference

More in Testing & Code Review

All Testing & Code Review skills →

More from Vue.js AI contributors

From vuejs-ai/skills at 198f0cd, MIT. Install counts from skills.sh.