跳到正文
cccskills
免费在 GitHub 公开

vue-testing-best-practices

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

中文简介正在准备中。当前显示原文说明。

集成工具Playwright
查看安装方法

包含的文件(12)

  • SKILL.md2.1 KB
  • reference/async-component-testing.md4.8 KB
  • reference/teleport-testing-complexity.md4.0 KB
  • reference/testing-async-await-flushpromises.md5.1 KB
  • reference/testing-browser-vs-node-runners.md5.5 KB
  • reference/testing-component-blackbox-approach.md4.6 KB
  • reference/testing-composables-helper-wrapper.md6.0 KB
  • reference/testing-e2e-playwright-recommended.md6.4 KB
  • reference/testing-no-snapshot-only.md6.1 KB
  • reference/testing-pinia-store-setup.md6.1 KB
  • reference/testing-suspense-async-components.md6.3 KB
  • reference/testing-vitest-recommended-for-vue.md4.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

Testing

Reference

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

JSX syntax in Vue (e.g., class vs className, JSX plugin config).

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

Pinia stores, state management patterns, store setup, and reactivity with stores.

中文简介正在准备中。当前显示原文说明。

vuejs-ai/skills31072026年10月20日 更新

查看 vuejs-ai 的全部技能

报告此技能的问题