vue-testing-best-practices

vue-testing-best-practices is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 38 tokens per session (475 once invoked), scanned A, a copy of vue-testing-best-practices, MIT.

A testing guide for Vue.js applications, including component tests, browser tests, and end-to-end tests that exercise a complete user flow.

In plain words
What is it for?
It covers Vitest, Vue Test Utils, Playwright, mocking, asynchronous components, Pinia stores, teleported content, and browser-versus-Node test runners.
Why use it?
It helps developers choose suitable tests and diagnose common problems such as timing races, missing injected services, and misleading snapshots.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It covers Vitest, Vue Test Utils, Playwright, mocking, asynchronous components, Pinia stores, teleported content, and browser-versus-Node test runners.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/vue-testing-best-practices
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 YuDefine/nuxt-supabase-starter --skill vue-testing-best-practices
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

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/yudefine/nuxt-supabase-starter/vue-testing-best-practices/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/vue-testing-best-practices)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/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/yudefine/nuxt-supabase-starter/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/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.
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 11d ago against content hash 376fd21d6adf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 11d 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.

template/.claude/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. 11d 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 YuDefine/nuxt-supabase-starter (45 stars, last pushed today), 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

next-dev-loop

Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compiles or type-checks. Combines /next/mcp (Next.js's view) with agent-browser (the browser's view). Requires a running next dev.

vercel/next.js · 68 tokens

playwright-component-testing

Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.

microsoft/playwright · 69 tokens

multi-agent-engineering-workflow

Enforce engineering rigor and verification loop for coding tasks using multi-agent debate and TDD.

chromium/chromium · 25 tokens

multi-agent-tdd-implementation

Multi-agent Test-Driven Development workflow. Scaffolds APIs, writes failing tests, synthesizes implementation, and verifies compilation and test runs.

chromium/chromium · 35 tokens

react-web

React web development with hooks, React Query, Zustand.

alinaqi/maggy · 13 tokens

testing

Verify a Skyvern deployment is working correctly by smoke-testing the backend API, frontend rendering, browser session provisioning, and workflow execution. Use when the user says 'is Skyvern working', 'test my deployment', 'verify the installation', 'smoke test', or needs to check that a self-hosted or local Skyvern…

Skyvern-AI/skyvern · 71 tokens