mk:vue-testing-best-practices

mk:vue-testing-best-practices is a skill for Claude Code from ngocsangyem/MeowKit. It costs 125 tokens per session (2,918 once invoked), scanned A, original, MIT.

A review guide for designing and auditing tests in Vue 3 applications, including components, composables, stores, routes, forms, asynchronous behaviour, and accessibility. It covers Vitest, Vue Test Utils, and Playwright, tools used for unit and browser-based tests.

In plain words
What is it for?
Use it to review Vue tests, plan tests for components or stores, assess asynchronous tests, or choose between unit and end-to-end testing.
Why use it?
It helps developers find weak test designs, missing cases, and misleading tests without changing or running the tests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review Vue tests, plan tests for components or stores, assess asynchronous tests, or choose between unit and end-to-end testing.

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

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 mk:vue-testing-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/vue-testing-best-practices/github.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/vue-testing-best-practices)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/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 mk:vue-testing-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/vue-testing-best-practices"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/vue-testing-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,918 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 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.00125 $0.02918
Opus 5 $0.00063 $0.01459
Sonnet 5 $0.00025 $0.00584
Haiku 4.5 $0.00013 $0.00292

Measured 6d ago against content hash 320fef0569c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mk: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 6d 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.

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

How it starts

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

Vue Testing Best Practices

Vue-specific test-design advisor + test-code reviewer. Recommends how to test Vue 3 components, composables, Pinia stores, Vue Router, async/Suspense, Teleport, forms, and accessibility — and audits existing Vitest + Vue Test Utils tests for smells, gaps, and coverage risk. Read-only: it advises and reviews; it never runs, generates, or fixes tests.

This skill is to mk:testing what mk:vue-best-practices is to mk:vue — a domain-specialized advisory that you invoke deliberately.

When to Use

Invoke-only — this skill does NOT auto-activate. Activate it for:

  • /mk:vue-testing-best-practices [test file or component] (explicit).
  • "review my Vue tests", "how should I test this component/composable/store", "Vue test best practices", "Vitest or Jest for this Vue app?", "are my async component tests correct?".

Do NOT invoke for (each routes to its owner):

  • Running tests / TDD red-green / non-Vue tests / generic Playwright runner protocol → mk:testing
  • Diff/PR structural review or test-existence gap detection → mk:review
  • Coverage→requirement mapping → mk:nyquist
  • QA of a running app + bug fixes → mk:qa
  • Generating or running Playwright .spec.ts E2E → mk:qa-manual
  • Driving a live browser → mk:agent-browser / mk:playwright-cli
  • Writing Vue feature code → mk:vue / mk:vue-best-practices

Invocation Decision Guide

You want to… Use
Write/refactor Vue feature code mk:vue
Review Vue feature code / authoring workflow mk:vue-best-practices
Design or review Vue test code; choose test tooling this skill
Actually run tests / TDD loop / non-Vue tests mk:testing
Diff/PR review or "does a test exist for this change?" mk:review
Map test coverage → requirements (which criteria are untested) mk:nyquist
"does the running site work? find + fix bugs" mk:qa
Generate runnable Playwright E2E specs from a spec/URL mk:qa-manual
Drive a real browser mk:agent-browser / mk:playwright-cli

Read the full file on GitHub · 230 lines

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. 6d ago First seen · 230 lines · 125 tokens per session scan A 320fef0569c1

Subscribe to this mod's changes

mk:vue-testing-best-practices is a skill published in the GitHub repository ngocsangyem/MeowKit (14 stars, last pushed 1mo ago), licensed MIT. It adds 125 tokens to every session and 2,918 once invoked, about $0.0006 per session on Opus 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-09-03.

Related

Other skills, from other repositories

testing-frontend

Use when writing component tests, testing user interactions, mocking APIs, or setting up Vitest/React Testing Library/Vue Test Utils for frontend applications.

MadAppGang/claude-code · 34 tokens

storybook-testing

Storybook 10 testing patterns with Vitest integration, ESM-only distribution, CSF3 typesafe factories, play() interaction tests, Chromatic TurboSnap visual regression, module automocking, accessibility addon testing, and autodocs generation. Use when writing component stories, setting up visual regression testing…

yonatangross/orchestkit · 77 tokens

vue-component-testing

Applies the three-tier test taxonomy for Vue 3 applications: writes unit tests for composables and Pinia stores with Vitest, component tests for behaviour and user interactions with @testing-library/vue, and acceptance tests for full user flows with Playwright. Ensures tests focus on observable behaviour, not…

soulcodex/agentic · 79 tokens

Component Test Scaffold (Vue.js)

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

s977043/river-review · 22 tokens

nextjs-testing

Write Jest or Vitest unit tests with React Testing Library and Playwright E2E tests for Next.js projects. Use when testing components with RTL, mocking APIs with MSW, or creating Playwright user flow tests.

FilippoDeSilva/skills · 48 tokens

frontend-testing

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

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