关于
This skill helps developers write and review unit tests for Vue 3 applications using TypeScript, Vitest, and Pinia. It provides guidance for testing components, composables, and stores while emphasizing black-box assertions over implementation details. Key features include mocking Pinia with createTestingPinia and applying Vue Test Utils patterns.
快速安装
Claude Code
推荐npx skills add github/awesome-copilot -a claude-code/plugin add https://github.com/github/awesome-copilotgit clone https://github.com/github/awesome-copilot.git ~/.claude/skills/unit-test-vue-pinia在 Claude Code 中复制并粘贴此命令以安装该技能
GitHub 仓库
Frequently asked questions
What is the unit-test-vue-pinia skill?
unit-test-vue-pinia is a Claude Skill by github. Skills package instructions and resources that Claude loads on demand, so Claude can perform unit-test-vue-pinia-related tasks without extra prompting.
How do I install unit-test-vue-pinia?
Use the install commands on this page: add unit-test-vue-pinia to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does unit-test-vue-pinia belong to?
unit-test-vue-pinia is in the testing category, tagged ai and testing.
Is unit-test-vue-pinia free to use?
Yes. unit-test-vue-pinia is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
相关推荐技能
该Skill为开发者提供基于Playwright的自动化Web应用测试方案,特别强调"先侦察后操作"的原则。它具备服务器状态管理、UI测试和可视化调试等核心功能,确保在验证服务器运行和页面加载正常后再执行测试操作。适用于需要可靠端到端测试、前端调试和网络状态监控的Web应用测试场景。
这个Claude Skill强制执行测试驱动开发流程,确保在编写实现代码前先写失败测试。它严格遵循RED/GREEN/REFACTOR循环:先写失败测试验证其失败,然后写最少代码让测试通过,最后进行重构。适用于新功能开发、bug修复、重构和任何行为变更的场景。
这是一个用于端到端测试知识库索引系统的验证工具。它能够测试知识索引、搜索功能以及CSV模式验证,主要用于开发过程中验证知识库系统的完整性和可靠性。开发者可以通过此技能确保知识库的索引和搜索功能正常工作。
这个Skill为XCUITest开发提供自动化指导,涵盖测试编写、运行和调试全流程。它重点讲解元素定位策略、条件等待方法和测试隔离原则,帮助创建可靠的UI测试。内容包含SwiftUI/UIKit的accessibilityIdentifier实现、测试计划配置以及CI/CD集成模式。
