CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

clerk-auth

Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync

Quality

67%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/clerk-auth/SKILL.md
SKILL.md
Quality
Evals
Security

Clerk Authentication

Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use

  • User mentions or implies: adding authentication
  • User mentions or implies: clerk auth
  • User mentions or implies: user authentication
  • User mentions or implies: sign in
  • User mentions or implies: sign up
  • User mentions or implies: user management
  • User mentions or implies: multi-tenancy
  • User mentions or implies: organizations
  • User mentions or implies: sso
  • User mentions or implies: single sign-on

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Guide snippets are independent alternatives/files, not one deployable module; duplicate default exports and omitted Prisma models/imports must be resolved in the actual project. Pin compatible Next.js/Clerk versions and check current middleware/proxy filenames. Authenticate each server route/action, validate inputs and authorize organization permissions/individual resources; client UI and org:admin do not grant global-user access. Verify webhook raw bytes first, then use a durable transactional event inbox keyed by Svix ID plus a domain ordering/tombstone policy; upsert alone does not prevent stale events resurrecting deleted users or overwriting newer state. Hard deletion must follow the application’s retention/foreign-key policy. Choose actual primary email rather than array order and allow phone-only identities. Use synthetic test instances and never log signing secrets/raw private payloads. See Clerk sync guidance and Svix raw payload verification.

Repository

sickn33/agentic-awesome-skills

Path

skills/clerk-auth/SKILL.md

Last updated
First committed

Also appears in

popey/claude-code-skills
Stale

last in sync Apr 16, 2026

popey/claude-code-skills
Stale

last in sync Apr 16, 2026

popey/claude-code-skills
Stale

last in sync Apr 16, 2026

duclm1x1/Dive-Ai
Stale

last in sync Jan 28, 2026

administrakt0r/AI-Agents-Safe-Coding-Skills
Stale

last in sync Mar 21, 2026

administrakt0r/AI-Agents-Safe-Coding-Skills
Stale

last in sync Mar 21, 2026

administrakt0r/AI-Agents-Safe-Coding-Skills
Stale

last in sync Mar 21, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.