vue-testing-best-practices

by antfu 5.8k MIT Updated Jun 23, 2026
vue-testing-best-practices skill by antfu
vue-testing-best-practices — Testing skill by antfu

vue-testing-best-practices is an open-source testing skill for Claude Code and compatible agents, published by antfu. Its author describes it as: “Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.”. The project has 5.8k stars on GitHub and is available under the MIT license. Add it to your setup with `git clone https://github.com/antfu/skills ~/.claude/skills/vue-testing-best-practices`.

What vue-testing-best-practices does

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

Installation

Add vue-testing-best-practices to your agent with:

git clone https://github.com/antfu/skills ~/.claude/skills/vue-testing-best-practices

Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.

What's inside

The SKILL.md for vue-testing-best-practices is organised into these sections:

  • Testing
  • Reference

When to use it

Reach for vue-testing-best-practices when you want testing help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.

Strengths

  • Clear MIT license — safe to read and adapt
  • Ships in antfu/skills, an established project with 5,770 GitHub stars
  • Actively maintained (recent commits)

Topics

agent-skillsskills

Frequently asked questions

What does vue-testing-best-practices do?
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
How do I install vue-testing-best-practices?
Run git clone https://github.com/antfu/skills ~/.claude/skills/vue-testing-best-practices in your agent, then reload your skills. Review the source at https://github.com/antfu/skills before installing.
Is vue-testing-best-practices free to use?
Yes. vue-testing-best-practices is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
Where does vue-testing-best-practices come from?
vue-testing-best-practices ships inside antfu/skills, a repository that contains 19 catalogued skills in total. The repository's 5,770 GitHub stars apply to that whole collection, not to this skill on its own.

Related skills

More Testing →

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.

5.8k antfu MIT

Test Cherry Studio PRs by resolving and checking out a PR, statically inspecting its changes, running interactive UI tests against a safely tracked Electron instance through CDP, producing a structured report, cleaning up only the owned test instance, and restoring the original branch.

51k CherryHQ AGPL-3.0-only

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

51k CherryHQ AGPL-3.0-only