CtrlK
BlogDocsLog inGet started
Tessl Logo

clerk-reference-architecture

Reference architecture patterns for Clerk authentication. Use when designing application architecture, planning auth flows, or implementing enterprise-grade authentication. Trigger with phrases like "clerk architecture", "clerk design", "clerk system design", "clerk integration patterns".

61

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

65%

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

The body is highly actionable with executable code for four architectures, but it is verbose and duplicative of its own reference file, lacks workflow validation checkpoints, and fails to signpost the bundled reference.

Suggestions

Link references/implementation-guide.md from the body and move the per-architecture code into it, keeping the body as an overview (Architecture Decision Matrix + diagrams + error-handling table) to remove duplication.

Add a short selection workflow with a validation checkpoint (e.g., choose architecture by decision matrix, then verify the JWT template / org context is configured before proceeding) to sequence the patterns.

Add explicit recovery steps to the Error Handling table (confirm fix -> re-test) so each pattern has a feedback loop.

DimensionReasoningScore

Conciseness

The ~254-line body inlines all four architectures with diagrams and code while references/implementation-guide.md duplicates the same four architectures, so the content could be tightened considerably; it avoids basic-concept padding, however.

2 / 3

Actionability

Provides concrete, executable, copy-paste-ready TypeScript for each architecture (layout.tsx, middleware.ts, route handlers, Prisma schema) with specific API calls.

3 / 3

Workflow Clarity

Content is organized as a pattern catalog rather than a sequenced workflow, and lacks explicit validate->fix->retry checkpoints; the Error Handling table offers recovery guidance but not a feedback loop.

2 / 3

Progressive Disclosure

A bundle file (references/implementation-guide.md) exists but is never linked or signaled in the body, which inlines detailed implementation content that overlaps the reference rather than deferring to it.

2 / 3

Total

9

/

12

Passed

Description

82%

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 is well-structured with explicit 'what' and 'when' guidance and natural trigger phrases, but its action verbs are somewhat abstract and it carries moderate overlap risk within a family of Clerk skills.

Suggestions

Replace abstract verbs ('designing', 'planning', 'implementing') with concrete deliverables (e.g., 'Generate middleware, JWT verification, and tenant-scoped data access patterns for Clerk').

Differentiate from sibling Clerk skills by making triggers more architecture-specific (e.g., 'clerk middleware architecture', 'clerk multi-tenant design') to reduce overlap with setup/config skills.

DimensionReasoningScore

Specificity

Names the domain and some actions ('designing application architecture, planning auth flows, or implementing enterprise-grade authentication'), but these are abstract verbs rather than the multiple concrete operations the anchor-3 example lists.

2 / 3

Completeness

Clearly answers both 'what' ('Reference architecture patterns for Clerk authentication') and 'when' with an explicit 'Use when...' clause plus trigger phrases.

3 / 3

Trigger Term Quality

Provides good coverage of natural phrasings a user would say ('clerk architecture', 'clerk design', 'clerk system design', 'clerk integration patterns') for this niche.

3 / 3

Distinctiveness Conflict Risk

Triggers are Clerk-specific, but a sibling Clerk skill family exists (Next Steps points to clerk-multi-env-setup) and terms like 'clerk design' or 'clerk integration patterns' could overlap with other Clerk skills.

2 / 3

Total

10

/

12

Passed

Validation

87%

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

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository
jeremylongshore/claude-code-plugins-plus-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.