fjrg2007/enigma/clerk-vue-patterns
Claude Code and agent skill by fjrg2007/enigma
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
'Vue 3 patterns with Clerk — composables (useAuth, useUser,
Install
npx vskill@latest install fjrg2007/enigma/clerk-vue-patternsSKILL.md
The same SKILL.md was published earlier as midudev/autoskills/clerk-vue-patterns.
Vue Patterns
SDK: @clerk/vue v2+ (Vue 3). For Nuxt, use clerk-nuxt-patterns.
What Do You Need?
| Task | Reference | |
|---|---|---|
| Composables: useAuth, useUser, useOrganization | references/composables.md | |
| Vue Router navigation guards | references/vue-router-guards.md | |
| Pinia store with auth state | references/pinia-integration.md |
Mental Model
Vue uses composables from @clerk/vue:
- `useAuth()` — reactive
isSignedIn,userId,signOut - `useUser()` — reactive
userobject - `useClerk()` — full Clerk instance for advanced operations
- `useOrganization()` — reactive
organization,membership
Setup
Vue (Plain)
Composables Usage
Org Switching
Common Pitfalls
| Symptom | Cause | Fix | |
|---|---|---|---|
Composables return undefined | Not inside ClerkProvider tree | Ensure app.use(clerkPlugin, { publishableKey }) is called | |
userId reactive but not updating | Destructuring loses reactivity | Use const { userId } = useAuth() (toRefs-style composable, reactive) |
Import Map
| What | Import | |
|---|---|---|
| Composables | @clerk/vue | |
| Plugin setup | @clerk/vue | |
| Components | @clerk/vue |
See Also
clerk-setup- Initial Clerk installclerk-custom-ui- Custom flows & appearanceclerk-orgs- B2B organizations
Docs
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingassets/skills-registry/clerk-vue-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fjrg2007/enigma/clerk-vue-patterns)