create-adaptable-composable
Editor's pickCreate 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.
- Type
- skill
- GitHub stars
- ★ 2.7K
- Repository
- vuejs-ai/skills
- Category
- frontend
Install
1Quick install (skills CLI)
npx skills add vuejs-ai/skills --skill create-adaptable-composable --agent claude-codeInstalls create-adaptable-composable into the current project's .claude/skills/ directory. Requires Node.js and the skills CLI.
2Manual install
Create ~/.claude/skills/<name>/ and copy the SKILL.md file from the repository into it. The directory name must match the skill name.
⚠️ Exact file layout and requirements vary by repository — always check the repo README first.
Prefer the full source? The repository README is the authoritative install reference.