vue-testing-best-practices

vue-testing-best-practices is a skill for Claude Code, Codex from vuejs-ai/skills. It costs 38 tokens per session (475 once invoked), scanned A, a copy of vue-testing-best-practices, MIT.

Testing guidance for Vue applications, covering component tests, browser tests, asynchronous code, state stores, and end-to-end tests. Vue is a JavaScript framework for building user interfaces.

In plain words
What is it for?
For testing Vue components, composables, Pinia stores, modals, asynchronous components, styles, and complete user journeys.
Why use it?
It addresses common testing failures and helps choose the right kind of test for each part of a Vue app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit For testing Vue components, composables, Pinia stores, modals, asynchronous components, styles, and complete user journeys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vuejs-ai/skills/vue-testing-best-practices
About the project

vue-skills is a collection of add-ons that provide guidance for developing Vue 3 applications, covering APIs, routing, state management, testing, JSX, and debugging. Vue developers use them to help AI agents apply framework-specific patterns and address common implementation problems. The catalogue entries are individual Vue development skills and instructions.

vuejs-ai/skills · 2,839 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vuejs-ai/skills --skill vue-testing-best-practices
Clone the repo
git clone --depth 1 https://github.com/vuejs-ai/skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin vue-testing-best-practices/plugin install vue-testing-best-practices after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vue-testing-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/vuejs-ai/skills/vue-testing-best-practices/github.svg)](https://agentmods.dev/skills/vuejs-ai/skills/vue-testing-best-practices)
Your own site
<a href="https://agentmods.dev/skills/vuejs-ai/skills/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/vuejs-ai/skills/vue-testing-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vue-testing-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/vuejs-ai/skills/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/vuejs-ai/skills/vue-testing-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 17 Feb 2026
How audits are shown
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00475
Opus 5 $0.00019 $0.00237
Sonnet 5 $0.00008 $0.00095
Haiku 4.5 $0.00004 $0.00047

Measured 12d ago against content hash 376fd21d6adf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vue-testing-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to vue-testing-best-practices — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/vue-testing-best-practices/SKILL.md · 30 lines

What it actually says

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

Testing

Reference

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 30 lines · 38 tokens per session scan A 376fd21d6adf

Subscribe to this mod's changes

vue-testing-best-practices is a skill published in the GitHub repository vuejs-ai/skills (2,839 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 475 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to vue-testing-best-practices, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

frontend-testing

Comprehensive frontend testing strategy covering unit, integration, E2E, visual regression, and accessibility testing.

cosmicstack-labs/mercury-agent-skills · 23 tokens

test-implement

Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Use when creating or completing frontend tests and generated test skeletons.

shinpr/claude-code-workflows · 48 tokens

angular-testing

Write unit and integration tests for Angular v20+ applications using Vitest or Jasmine with TestBed and modern testing patterns. Use for testing components with signals, OnPush change detection, services with inject(), and HTTP interactions. Triggers on test creation, testing signal-based components, mocking…

Kilo-Org/kilo-marketplace · 94 tokens

angular-testing

Testing Angular 18-21: TestBed, component harnesses (@angular/cdk/testing), Karma+Jasmine (default historical) vs Jest (jest-preset-angular, modern), Angular Testing Library (RTL-style). HttpClient mocking via HttpTestingController. NgRx Effects testing. Cypress / Playwright e2e. Use this skill to: Detect runner…

AratKruglik/claude-sdlc · 185 tokens

vue-testing

Testing Vue 3 SPAs: Vitest + @vue/test-utils, RTL-style alternatives, Pinia testing via createTestingPinia, composable testing, msw for network mocks, Cypress component testing, Playwright e2e. Use this skill to: Set up Vitest for Vue 3 with jsdom + @vue/test-utils. Pick mount vs shallowMount. Test components by…

AratKruglik/claude-sdlc · 155 tokens

react-testing

Testing React SPAs: React Testing Library + Vitest/Jest for components and hooks, msw for network mocks, Playwright/Cypress for e2e. Query priority, user events, async assertions, mocking patterns. Use this skill to: Pick the right runner (Vitest vs Jest) and setup. Write component tests with RTL using accessible…

AratKruglik/claude-sdlc · 154 tokens