vue-composable-testing
✓Test Vue 3 composables with Vitest following best practices. Use when writing tests for composables, creating test helpers for Vue reactivity, or when asked to "test a composable", "write tests for use*", or "help test Vue composition functions". Covers independent composables (direct testing) and dependent composables (lifecycle/inject testing with helpers).
Installation
SKILL.md
Test composables based on their dependency type: Independent (direct testing) or Dependent (requires component context).
| Independent | Uses only reactivity APIs (ref, computed, watch) | Test directly like functions | | Dependent | Uses lifecycle hooks (onMounted) or inject | Use withSetup or useInjectedSetup helpers |
Independent composables use only Vue's reactivity system without lifecycle hooks or dependency injection.
Test Vue 3 composables with Vitest following best practices. Use when writing tests for composables, creating test helpers for Vue reactivity, or when asked to "test a composable", "write tests for use*", or "help test Vue composition functions". Covers independent composables (direct testing) and dependent composables (lifecycle/inject testing with helpers). Source: alexanderop/workouttracker.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/alexanderop/workouttracker --skill vue-composable-testing- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is vue-composable-testing?
Test Vue 3 composables with Vitest following best practices. Use when writing tests for composables, creating test helpers for Vue reactivity, or when asked to "test a composable", "write tests for use*", or "help test Vue composition functions". Covers independent composables (direct testing) and dependent composables (lifecycle/inject testing with helpers). Source: alexanderop/workouttracker.
How do I install vue-composable-testing?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/alexanderop/workouttracker --skill vue-composable-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/alexanderop/workouttracker
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01