CtrlK
BlogDocsLog inGet started
Tessl Logo

clerk-auth

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

40

Quality

41%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

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

Quality

Content

42%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill provides excellent, actionable code examples covering the full Clerk integration surface area, which is its primary strength. However, it is severely bloated—much of the content (basic component wrappers, concept explanations, generic limitations) is unnecessary for Claude. The lack of any bundle structure means everything is crammed into one file, and the 'Sharp Edges' and 'Validation Checks' sections are skeletal labels without actionable remediation, wasting tokens without adding value.

Suggestions

Split detailed code examples into bundle files (e.g., middleware.md, webhooks.md, organizations.md) and keep SKILL.md as a concise overview with references to each.

Remove explanatory text Claude already knows (e.g., 'Key hooks: useUser(): User object and loading state') and keep only the non-obvious patterns and gotchas.

Either flesh out 'Sharp Edges' with concrete remediation steps and code fixes, or remove them entirely—severity labels alone waste tokens without being actionable.

Add a sequenced setup workflow (1. env vars → 2. middleware → 3. verify protection → 4. add components) with explicit validation checkpoints between steps.

DimensionReasoningScore

Conciseness

The skill is extremely verbose at ~500+ lines. It explains concepts Claude already knows (what ClerkProvider does, what hooks are, what webhooks are), includes full boilerplate components that are standard Clerk patterns, and has extensive sections like 'Sharp Edges' and 'Validation Checks' that list items without actionable detail (just severity labels with no remediation steps). The 'When to Use' and 'Limitations' sections add generic filler.

1 / 3

Actionability

The code examples are fully executable, copy-paste ready, and cover real-world patterns including middleware setup, webhook handlers with svix verification, Prisma schema, server components, client hooks, and API route protection. Each section provides concrete, working TypeScript/React code with proper imports and file paths.

3 / 3

Workflow Clarity

The skill presents patterns as independent sections rather than a sequenced workflow. While anti-patterns provide some guidance on what to avoid, there are no explicit validation checkpoints or step-by-step setup sequences (e.g., 'first configure middleware, then set up routes, then verify auth works'). The webhook section lacks a feedback loop for handling verification failures beyond logging.

2 / 3

Progressive Disclosure

The entire skill is a monolithic wall of text with no bundle files to offload detailed content. All code examples, anti-patterns, sharp edges, and validation checks are inlined in a single massive file. There are no references to supporting files for detailed patterns, and the external links are just documentation URLs rather than structured bundle references.

1 / 3

Total

7

/

12

Passed

Description

40%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description identifies a clear niche around Clerk authentication but relies on vague framing ('expert patterns for') instead of concrete actions. It completely lacks a 'Use when...' clause, making it harder for Claude to know when to select this skill. The Clerk-specific terminology provides good distinctiveness but the description would benefit significantly from explicit triggers and more actionable language.

Suggestions

Add an explicit 'Use when...' clause, e.g., 'Use when the user asks about Clerk authentication, setting up Clerk middleware, managing organizations, or syncing users via webhooks.'

Replace 'Expert patterns for' with concrete actions, e.g., 'Configures Clerk authentication middleware, sets up organization management, implements webhook handlers for user sync.'

Include additional natural trigger terms like 'authentication', 'sign-in', 'sign-up', 'session management', 'ClerkJS', and 'Next.js auth' to improve keyword coverage.

DimensionReasoningScore

Specificity

Names the domain (Clerk auth) and lists several areas (middleware, organizations, webhooks, user sync), but uses vague framing ('expert patterns for') rather than describing concrete actions like 'configure middleware', 'set up webhook handlers', or 'sync user data'.

2 / 3

Completeness

Describes what the skill covers at a high level but completely lacks any 'Use when...' clause or explicit trigger guidance, which per the rubric should cap completeness at 2 — and since the 'what' is also somewhat vague ('expert patterns'), this falls to 1.

1 / 3

Trigger Term Quality

Includes relevant keywords like 'Clerk', 'auth', 'middleware', 'organizations', 'webhooks', and 'user sync' that users might naturally mention, but misses common variations like 'authentication', 'ClerkJS', 'sign-in', 'sign-up', 'session management', or 'Next.js auth'.

2 / 3

Distinctiveness Conflict Risk

The mention of 'Clerk' as a specific authentication provider creates a clear niche that is unlikely to conflict with other auth-related skills (e.g., Auth0, Firebase Auth, NextAuth). The combination of Clerk-specific terms makes it distinctly identifiable.

3 / 3

Total

8

/

12

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 9 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (844 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

9

/

11

Passed

Repository
popey/claude-code-skills
Reviewed

Table of Contents

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.