Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Vue Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-vue-patterns)
---
name: vue-patterns
description: "Vue 3 and Nuxt patterns: Composition API, composables, Pinia, SSR-safe code and typed props/emits."
tags: [frontend]
---
# Vue Patterns
## When to use
- Vue or Nuxt apps
## Procedure
1. Use script setup with TypeScript
2. Extract logic into composables
3. Keep stores small and domain-focused (Pinia)
4. Guard browser-only code for SSR
5. Use useFetch/useAsyncData with keys in Nuxt
## Checklist
- [ ] Props and emits typed
- [ ] No reactivity loss from destructuring
## Anti-patterns
- Options API mixed randomly with Composition API
- Giant global stores