Vue Testing Best Practices
JetBrains/skills
A skill your agent uses for Vue.js testing. An agent skill from JetBrains/skills.
Runs and extends Fantasia Archive tests: Vitest unit tests vs Playwright component and E2E tests, including rebuild-before-Playwright rules and file naming.
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vishiri/fantasia-archive fantasia-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/fantasia-testing .claude/skills/fantasia-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .claude/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vishiri/fantasia-archive fantasia-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/fantasia-testing .agents/skills/fantasia-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .agents/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vishiri/fantasia-archive fantasia-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/fantasia-testing .cursor/skills/fantasia-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .cursor/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vishiri/fantasia-archive.git --path .cursor/skills/fantasia-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vishiri/fantasia-archive fantasia-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/fantasia-testing .gemini/skills/fantasia-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .gemini/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vishiri/fantasia-archive fantasia-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/fantasia-testing .github/skills/fantasia-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .github/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vishiri/fantasia-archive --skill fantasia-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vishiri/fantasia-archive fantasia-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vishiri/fantasia-archive.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/fantasia-testing .opencode/skills/fantasia-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fantasia-testing" agent skill from https://github.com/vishiri/fantasia-archive/tree/master/.cursor/skills/fantasia-testing into .opencode/skills/fantasia-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fantasia-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fantasia-testingRuns and extends Fantasia Archive tests: Vitest unit tests vs Playwright component and E2E tests, including rebuild-before-Playwright rules and file naming.
Fantasia Testing is an agent skill from vishiri/fantasia-archive. Runs and extends Fantasia Archive tests: Vitest unit tests vs Playwright component and E2E tests, including rebuild-before-Playwright rules and file naming. Use when writing tests, debugging CI, or when the user mentions Vitest, Playwright, component tests, or e2e.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Unit testing, Browser testing and End-to-end testing. It works with Playwright, Vitest and Vue.js. The repository describes itself as: A world-builder's best friend! The licence is GPL-3.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 26d4648. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
yarnFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use yarn, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fantasia Testing loads about 3.1k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 859 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vishiri/fantasia-archive at commit 26d4648, republished under its GPL-3.0 licence (© vishiri). 859 words, ~3,112 tokens.
.claude/skills/fantasia-testing/SKILL.md (or your agent's skills folder).Match existing tests when adding or editing:
vitest-tests.mdc (**/*.vitest.test.ts)playwright-tests.mdc (**/*playwright*.ts)vue-template-test-hooks.mdc (**/*.vue)Tests = same deliverable as production edits.
data-test-locator, T_dialogName, COMPONENT_NAME, action/keybind ids, store symbols, i18n keys you changed. Follow imports + menu _data/ entries.yarn vitest run with explicit paths for every matching *.vitest.test.ts (feature _tests/, scripts/_tests/, src/scripts/**/_tests, src/stores/_tests, src-electron/**/_tests, helpers/**/_tests, i18n/_tests when implicated). During edits: fantasia-dev-scoped-verify. Before commit / final cleanup: yarn testbatch:verify.src/**/_tests/*.playwright.test.ts: yarn test:components:single --component=<bucket>/<ComponentFolder> or yarn test:components in own terminal after yarn quasar:build:electron when bundle exercises changed renderer code (testing-terminal-isolation.mdc).e2e-tests/*.playwright.spec.ts: yarn test:e2e:single --spec=… or yarn test:e2e with same rebuild rule.CI scope: default Verify workflow runs yarn testbatch:verify only — not component/E2E Playwright. Run locally (or yarn testbatch:ensure:nochange) when feature touches those flows.
See vitest-tests.mdc Vitest coverage tiers (CI): per instrumented file (thresholds.perFile: true) — 95% statements/lines, 80% branches, 100% functions on src-electron, helpers/**/*.ts (helpers/playwrightHelpers_* excluded), unit-src-renderer src .ts, scoped i18n/ (unit-i18n), and unit-components .ts / .vue under src/components, src/layouts, src/pages (src/components/foundation/** excluded). Configs: vitest/.
yarn test:unit — multi-project root (vitest.config.mts: unit-electron, unit-src-renderer, unit-helpers, unit-i18n, unit-components) without coverage. yarn testbatch:verify ends with yarn test:coverage:verify. Debug slices: yarn test:coverage:electron, yarn test:coverage:helpers, yarn test:coverage:i18n, yarn test:coverage:src. Full tier detail: vitest-tests.mdc.yarn testbatch:verify. Do not chain unit/coverage with yarn quasar:build:electron or Playwright in one shell line.test-results/vitest-report/test-results-vitest-*.json per project.src/ + src-electron/ with *.vitest.test.ts under _tests/; component mounts use @vue/test-utils + vitest.setup.ts.helpers/: playwrightHelpers_* = Playwright harness only — extend with yarn test:components / yarn test:e2e after yarn quasar:build:electron; no *.vitest.test.ts there. Non-Playwright helpers/<name>/: colocate _tests/*.vitest.test.ts._tests/<Name>.vitest.test.ts per feature .vue under src/components/**, src/layouts/**, src/pages/**. Extracted scripts/*.ts → scripts/_tests/*.vitest.test.ts when real logic. Merge tests when merging modules (code-size-decomposition.mdc).return { ... } (code-size-decomposition.mdc).Window* mounts: stub FaFloatingWindowBodyTeleport or query document.body — see fantasia-floating-windows._data/: production feeds only — no Vitest suites aimed only at _data/. Fixtures inline in test files; no _tests/_data/.test / test.skip (no describe), JSDoc per test, titles Test that ... — see vitest-tests.mdc.any; use I_ / T_ naming for imported types.Critical: Playwright targets built, production Electron app. After any source change affecting exercised code: quasar build -m electron or yarn quasar:build:electron before Playwright. Node.js 22.22.0+ locally.
Stale packaged bundle — Harness starts Fantasia Archive.exe from dist/electron/Packaged, not live Vite dev server. IPC still matching pre-change behavior → rebuild before next Playwright run.
Electron userData isolation: TEST_ENV components / e2e → %APPDATA%/<package.json name>/playwright-user-data (here: fantasia-archive/playwright-user-data, not fantasia-archive-dev). appIdentity_manager.ts, playwrightIsolatedUserDataDirName.ts, playwrightUserDataReset.ts. Specs use test.describe.serial; test.beforeAll **await**s launchFaPlaywrightComponentHarnessWindow / launchFaPlaywrightE2eAppWindow (owns resetFaPlaywrightIsolatedUserData() ordering — not in test.beforeEach). Helpers: helpers/playwrightHelpers_universal / _e2e / _component. No test.describe.parallel unless user asks.
keyboard.press and app keybinds (cross-OS)faPlaywrightKeyboardChords.tsprimary: use getters (getFaPlaywrightDefaultToggleDevtoolsPressString(), etc.) — not hardcoded Control+F12 / Meta+F12.ctrl: physical Control on every OS — FA_PLAYWRIGHT_PRESS_CONTROL_SHIFT_F12, etc.getFaPlaywrightMonacoSelectAllPressString().storybook-workspace/; staticDirs sync with Quasar public/. VRT: yarn test:storybook:visual* chains yarn storybook:build. Verbose: FA_STORYBOOK_VISUAL_VERBOSE=1.file:// — relative public/ paths when BASE_URL is '/' or empty (see SocialContactSingleButton.vue).file:// mismatch.EXCLUDED_STORY_IDS in .storybook-workspace/visual-tests/storybook.visual.playwright.test.ts; empty iframe root = failure unless tags: ['skip-visual-render-check'] or excluded id. #storybook-root and #root checked separately.maxDiffPixels — whole-image differing-pixel cap, not width. CI vs local: see README Storybook visual baseline policy, storybook-stories.mdc.yarn testbatch:ensure:nochange / yarn testbatch:ensure:change — see testing-terminal-isolation.mdc.playwright.config.ts)outputDir: test-results/playwright-artifacts. testMatch: src/components/**, e2e-tests/**. HTML: test-results/playwright-report. Yarn scripts trim artifacts via .utility-scripts/playwrightWithArtifactTrim.mjs.workers: 1, fullyParallel: falselaunchFaPlaywright* + tearDownFaPlaywrightElectronSerialSuite. Video: FA_PLAYWRIGHT_NO_VIDEO; cursor: FA_PLAYWRIGHT_CURSOR_MARKER=0.test-results/playwright-report/index.html over analyzing raw .webm.waitForFaRendererContentBridgeApis — not bare page.evaluate for bridge globals. E2E on #/: waitForFaE2eRendererDomReady.yarn test:components — own terminal (src/components, src/layouts, src/pages)src/components|layouts|pages/**/_tests/*.playwright.test.tsyarn test:components:single --component=<bucket>/<ComponentName>yarn test:components:listI_faComponentTestingStoreSeed / projectContentOverrides — see AGENTS Component-testing seedTEST_ENV: 'e2e'checkProjectManagementFlow.playwright.spec.ts; path staging via playwrightE2eProjectPaths.tscheckWorkspaceSidebar.playwright.spec.ts; drag + sidebar_width cold restart via faPlaywrightE2eWorkspaceSidebar.tse2e-tests/checkWorkspace*.playwright.spec.ts; helpers e2eWorkspaceHierarchyTree*yarn test:e2e — own terminalyarn test:e2e:single --spec=<stem> (no suffix) or yarn test:e2e:single:ci --spec=<full file>yarn test:e2e:listyarn testbatch:ensure:nochange / yarn testbatch:ensure:change — see testing-terminal-isolation.mdcDuring edits (fantasia-dev-scoped-verify):
yarn lint:typescript, connected yarn vitest runShip / commit / final cleanup:
yarn testbatch:verify — one terminalyarn quasar:build:electron — own terminalsyarn test:storybook:smoke + yarn test:storybook:visual (or testbatch:ensure:*)src/ — deterministicyarn storybook:run, yarn test:storybook:smokeyarn test:storybook:visual / :updatesrc/components/**/_tests/<Component>.stories.ts, meta.title Components/<bucket>/<ComponentName>L_* imports + externalFileLoader.ts placeholders — mirror new keys from i18n/en-US/index.tsShared types → types/ (app/types/...). See types-folder.mdc.
© vishiri, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/fantasia-testing of vishiri/fantasia-archive.
Open the folder on GitHubat commit 26d4648
Fantasia Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fantasia Testing this skillvishiri/fantasia-archive | 409 | — | ~3.1k | Automated safety check: Pass | GPL-3.0 | |
| Vue Testing Best PracticesJetBrains/skills | 366 | 7 repos | ~563 | Automated safety check: Pass | MIT | |
| Control UI E2Eopenclaw/openclaw | 392k | — | ~2.9k | Automated safety check: Pass | MIT | |
| Svelte Testingspences10/sveltest | 113 | — | ~579 | Automated safety check: Pass | MIT | |
| Playwright Testingchongdashu/vibejam-starter-pack | 149 | — | ~2.1k | Automated safety check: Pass | None | |
| Ha Frontend Testinghome-assistant/frontend | 5.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 |
JetBrains/skills
A skill your agent uses for Vue.js testing. An agent skill from JetBrains/skills.
openclaw/openclaw
A skill your agent uses when designing, testing, fixing, or extending the OpenClaw Control UI GUI, including UI stress-test galleries with feedback inputs, Vitest + Playwright end-to-end checks…
spences10/sveltest
Fix and create Svelte 5 tests with vitest-browser-svelte and Playwright.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
home-assistant/frontend
Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.
chongdashu/vibejam-starter-pack
Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.
vishiri/fantasia-archive
Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.
vishiri/fantasia-archive
Ultra-compressed code review comments. An agent skill from vishiri/fantasia-archive.
vishiri/fantasia-archive
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens.
vishiri/fantasia-archive
Decision guide for delegating to caveman-style subagents. An agent skill from vishiri/fantasia-archive.
vishiri/fantasia-archive
Quick-reference card for all caveman modes, skills, and commands.
vishiri/fantasia-archive
Context menu divider policy: full primary-bright group separators vs low-opacity separatorAlt between consecutive items in the same group.
Works with
Categories
Runs and extends Fantasia Archive tests: Vitest unit tests vs Playwright component and E2E tests, including rebuild-before-Playwright rules and file naming. Fantasia Testing is an agent skill from vishiri/fantasia-archive. Runs and extends Fantasia Archive tests: Vitest unit tests vs Playwright component and E2E tests, including rebuild-before-Playwright rules and file naming.
Fantasia Testing fits situations like: the user mentions Vitest; component tests.
Run `npx skills add vishiri/fantasia-archive --skill fantasia-testing -a claude-code`. Or copy the skill folder (.cursor/skills/fantasia-testing in vishiri/fantasia-archive) into .claude/skills/fantasia-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vishiri/fantasia-archive --skill fantasia-testing -a codex`. Or copy the skill folder (.cursor/skills/fantasia-testing in vishiri/fantasia-archive) into .agents/skills/fantasia-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vishiri/fantasia-archive --skill fantasia-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fantasia-testing, .gemini/skills/fantasia-testing, .github/skills/fantasia-testing and .opencode/skills/fantasia-testing in your project.
Going by SKILL.md and its folder, Fantasia Testing needs the command-line tools its instructions call (yarn). Our summary lists: Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fantasia Testing is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fantasia Testing: Vue Testing Best Practices (JetBrains/skills, 366 stars), Control UI E2E (openclaw/openclaw, 392k stars), Svelte Testing (spences10/sveltest, 113 stars) and Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vishiri (a GitHub user) maintains it in vishiri/fantasia-archive, which has 409 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.
Source: vishiri/fantasia-archive on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.