hybrid-mount/meta-hybrid_mount/vue-testing-best-practices

Claude Code and agent skill by hybrid-mount/meta-hybrid_mount

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

给 Hybrid Mount WebUI 写或修测试时用:Vitest + Vue Test Utils 的组件测试、异步与 flushPromises、composable 测试、避免只写快照,以及本仓库实际的测试门禁。

Install

npx vskill@latest install hybrid-mount/meta-hybrid_mount/vue-testing-best-practices

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as hybrid-mount/meta-hybrid_mount/vue-testing-best-practices.

Hybrid Mount precedence (read before applying any rule)

These rules are generic Vue testing defaults. This repository's own contracts win wherever they differ.

  • The runner is `pnpm test` = `vitest run && vue-tsc -b` from webui/; types are part of the test gate, so a passing Vitest run with failing vue-tsc is still red.
  • No Playwright, no E2E, no browser runner. The WebUI is a WebView front-end for a rooted Android device; the testing-e2e-playwright-recommended and testing-browser-vs-node-runners references describe an environment this repo does not have. Do not add them.
  • No Pinia. Any reference telling you to install or hydrate a Pinia store before mounting does not apply; the testing-pinia-store-setup reference is kept only because it also covers test-only plugin installation, which vue-i18n does need.
  • This is a systems repo. Most behaviour worth testing lives in Rust (cargo test --workspace); do not grow a Vue test suite to compensate for untested Rust, and do not test the kernelsu.exec bridge by mocking it into always succeeding.
  • Don't snapshot what a gate can assert. See .dsh/skills/hm-verify/SKILL.md for the full checklist.

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

Testing

Reference

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hybrid-mount/meta-hybrid_mount/vue-testing-best-practices/badge)](https://verified-skill.com/skills/hybrid-mount/meta-hybrid_mount/vue-testing-best-practices)

Something wrong with this skill or its page? Tell us.