vue-test-utils-skilld

vue-test-utils-skilld is a skill for Claude Code, Codex from skilld-dev/vue-ecosystem-skills. It costs 85 tokens per session (2,063 once invoked), scanned A, original, MIT.

A coding guide for Vue Test Utils, the library used to test Vue components. It covers current APIs and changes between major versions.

In plain words
What is it for?
Use it when writing or modifying code that imports @vue/test-utils, including component tests and test setup.
Why use it?
It helps avoid outdated test code and makes debugging or changing Vue Test Utils code more reliable.

Skill for Claude CodeCodex

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

Good fit Use it when writing or modifying code that imports @vue/test-utils, including component tests and test setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld
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 skilld-dev/vue-ecosystem-skills --skill vue-test-utils-skilld
Clone the repo
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin vue-test-utils — /plugin install vue-test-utils 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-test-utils-skilld

README.md
[![agentmods](https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld/github.svg)](https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld)
Your own site
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld/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-test-utils-skilld

Your own site · 80×15
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/vue-test-utils-skilld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,063 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
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00085 $0.02063
Opus 5.5 $0.00034 $0.00825
Sonnet 5.5 $0.00017 $0.00413
Haiku 4.5 $0.00009 $0.00206

Measured 19d ago against content hash 1565512267bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vue-test-utils-skilld 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 19d 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.

skills/vue-test-utils-skilld/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@vue/test-utils 2.5.1 (Vue 3)

Prepared source: input/source, version 2.5.1 (package.json:3). Requires Vue 3.x and @vue/compiler-dom 3.x as peers; @vue/server-renderer 3.x is an optional peer needed only for renderToString (package.json:73-81). Test-runner agnostic (Vitest, Jest, others). Needs a browser-like DOM environment (jsdom or happy-dom).

Install: npm install @vue/test-utils --save-dev

Quick start

import { mount } from '@vue/test-utils'
import Counter from './Counter.vue'

test('increments', async () => {
  const wrapper = mount(Counter, { props: { start: 1 } })
  await wrapper.find('button').trigger('click')
  expect(wrapper.text()).toContain('2')
})

Public API surface

Exports from dist/src/index.d.ts:13:

Export Kind Use
mount function Mount a component, returns VueWrapper (dist/src/mount.d.ts:17)
shallowMount function Same as mount with all child components stubbed (dist/src/mount.d.ts:22)
renderToString function SSR-render a component to a string, Promise<string> (dist/src/renderToString.d.ts:4)
flushPromises function Await pending non-Vue promises (mocked API calls, timers) (dist/src/utils/flushPromises.d.ts:1)
enableAutoUnmount(hook) function Unmount all wrappers via a test hook (dist/src/utils/autoUnmount.d.ts:4)
disableAutoUnmount function Stop auto unmounting (dist/src/utils/autoUnmount.d.ts:3)
VueWrapper class Wrapper around a mounted component instance (dist/src/vueWrapper.d.ts:5)
DOMWrapper class Wrapper around a DOM element; new DOMWrapper(document.body) (dist/src/domWrapper.d.ts:4)
RouterLinkStub component Stub for <router-link> (dist/src/components/RouterLinkStub.d.ts:1)
config object Shared default mount options and wrapper plugins (dist/src/config.d.ts:32)
createWrapperError function Internal; produces the error wrapper returned by find misses

Read the full file on GitHub · 110 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago Changed · +1 lines 1565512267bd
  2. 1mo ago Changed · +13 lines · +34 tokens per session d77c13a46f86
  3. 2mo ago First seen · 96 lines · 51 tokens per session scan A e8bb0ef246b3

Subscribe to this mod's changes

vue-test-utils-skilld is a skill published in the GitHub repository skilld-dev/vue-ecosystem-skills (184 stars, last pushed 19d ago), licensed MIT. It adds 85 tokens to every session and 2,063 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

vue-idioms

Vue 3 Composition API patterns: syntax, reactive state with Pinia stores, reusable composables, and Vitest component testing. Use when developing or refactoring Vue 3 frontend applications.

irahardianto/awesome-agv · 47 tokens

Component Test Scaffold (Vue.js)

Generate Vue.js component test skeletons (Vue Test Utils) from specifications.

s977043/river-review · 22 tokens

vue-component-testing

A guide for testing Vue components with Vue Test Utils and the project's test runner. It covers mounted components, inputs, emitted events, slots, reusable logic, asynchronous updates, and interactions.

eighteendreamer/Ai_Test_Agent · 53 tokens

vue-component

Create Vue 3 components with Composition API — composables, Pinia store integration, TypeScript, and unit tests.

inbharatai/claude-skills · 27 tokens

test-master

Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…

Jeffallan/claude-skills · 104 tokens

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

dotnet/skills · 149 tokens