mikailustuner/omnirule/clerk-auth
Claude Code and agent skill by mikailustuner/omnirule
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Clerk: Drop-in auth UI, Organizations, User management, JWT templates, webhooks, Next.js middleware integration.
Install
npx vskill@latest install mikailustuner/omnirule/clerk-authSKILL.md
The same SKILL.md was published earlier as mikailustuner/omnirule/clerk-auth.
Clerk Authentication Patterns
Version: Clerk v6 (Next.js App Router) | Focus: Middleware, components, server helpers
1. Installation & Setup
2. Middleware (Route Protection)
3. Server-Side Auth
4. Client-Side Hooks
5. Pre-built UI Components
6. Webhooks (Sync Users to DB)
Quick Reference
| Need | Clerk API | |
|---|---|---|
| Protect all routes | clerkMiddleware + createRouteMatcher | |
| Get userId (server) | auth().userId | |
| Get full user (server) | currentUser() | |
| Client user info | useUser() hook | |
| Sign out | useClerk().signOut() | |
| JWT for 3rd party API | getToken({ template: 'name' }) | |
| Sync to DB | Webhooks via svix |
Anti-Patterns
🌍 Universal Language Support
- Turkish Native: This skill natively supports Turkish. If the user prompt is in Turkish, all analysis, formatting, and output MUST be entirely in Turkish.
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 repositoryCheckingskills/clerk-auth/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/mikailustuner/omnirule/clerk-auth)