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".

59

Quality

70%

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/saas-packs/clerk-pack/skills/clerk-reference-architecture/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%Weight 40%Scale 1-3

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

Highly actionable with executable code for four Clerk architectures, but it is weakened by an orphaned/duplicated reference file, restated prerequisites, and missing selection guidance for choosing among the patterns.

Suggestions

Link references/implementation-guide.md from the body (e.g., a '## Implementation details' section) and move the per-architecture full code there, keeping the body as an overview with one representative snippet per pattern.

Add an in-body architecture decision matrix (the one currently only in implementation-guide.md) so Claude can select the right pattern for a given use case.

Trim the Prerequisites section to non-obvious requirements only and remove the Output section that restates the architectures already shown.

DimensionReasoningScore

Conciseness

The body is mostly lean diagrams and executable code, but the Prerequisites section restates concepts Claude already knows ('Familiarity with authentication patterns (JWT, sessions, OAuth)') and the Output section restates content already shown.

2 / 3

Actionability

Each architecture ships copy-paste-ready TypeScript with real imports (clerkMiddleware, auth(), getToken, requireAuth) and a concrete Prisma schema, so the guidance is fully executable.

3 / 3

Workflow Clarity

The body is a catalog of four patterns with no in-body decision matrix for choosing among them and no validation checkpoints; the Error Handling table gives issue/solution pairs but no clear sequenced workflow.

2 / 3

Progressive Disclosure

A bundle file references/implementation-guide.md exists but is never referenced from the body and duplicates the same four architectures, while content that could live in the reference (full code per pattern) is inlined.

2 / 3

Total

9

/

12

Passed

Description

75%Weight 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.

A solid description with explicit what/when guidance and distinct Clerk-scoped triggers, though the named actions are abstract and the trigger phrases are repetitive variations rather than diverse natural terms.

Suggestions

Replace abstract activity verbs with concrete skill outputs (e.g., 'Generate middleware, route guards, and tenant-scoped data access code for Clerk').

Diversify trigger phrases beyond the 'clerk <noun>' pattern to include terms users naturally say, such as 'clerk multi-tenant', 'clerk middleware setup', or 'clerk org-based auth'.

DimensionReasoningScore

Specificity

Names the domain ('Reference architecture patterns for Clerk authentication') and activities ('designing application architecture, planning auth flows, or implementing enterprise-grade authentication'), but these are abstract user activities rather than concrete skill actions like 'extract text, fill forms'.

2 / 3

Completeness

Explicitly answers both what (reference architecture patterns for Clerk auth) and when (an explicit 'Use when...' clause plus trigger phrases), so it is not capped at 2.

3 / 3

Trigger Term Quality

Provides relevant triggers ('clerk architecture', 'clerk design', 'clerk system design', 'clerk integration patterns') but they are narrow variations of one theme and miss common natural phrasings a user might actually say.

2 / 3

Distinctiveness Conflict Risk

Clerk-prefixed triggers and a clear architecture/design niche make it unlikely to fire for unrelated skills.

3 / 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.