CtrlK
BlogDocsLog inGet started
Tessl Logo

clerk-security-basics

Implement security best practices with Clerk authentication. Use when securing your application, reviewing auth implementation, or hardening Clerk configuration. Trigger with phrases like "clerk security", "secure clerk", "clerk best practices", "clerk hardening".

64

Quality

77%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Fix and improve this skill with Tessl

tessl review fix ./plugins/saas-packs/clerk-pack/skills/clerk-security-basics/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

64%

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

This is a solid, actionable security skill with excellent executable code examples covering the key Clerk security concerns. Its main weaknesses are the lack of explicit validation/verification steps between security hardening actions and the monolithic structure that could benefit from splitting detailed examples into supporting files. Minor verbosity in framing sections (Prerequisites, Output summary) could be trimmed.

Suggestions

Add explicit validation checkpoints after each step, e.g., 'Verify: curl your protected route without auth and confirm 401 response' or 'Check browser DevTools → Network → Response Headers for security headers'.

Extract the rate limiting example, error handling table, and session dashboard configuration into a separate CLERK-SECURITY-ADVANCED.md to keep the main skill focused and concise.

Remove the Prerequisites and Output sections — Claude doesn't need to be told what OWASP is, and the output summary restates what the steps already demonstrate.

DimensionReasoningScore

Conciseness

The content is mostly efficient with executable code examples, but includes some unnecessary sections like 'Prerequisites' (Claude knows OWASP basics), the 'Output' summary section that restates what was already shown, and some inline comments that explain obvious things. The error handling table and resources section add value but the overall document could be tightened.

2 / 3

Actionability

Every step includes fully executable, copy-paste ready TypeScript/bash code with specific imports, function signatures, and concrete patterns. The rate limiting example is complete with actual library usage. Permission checks use specific Clerk API calls rather than pseudocode.

3 / 3

Workflow Clarity

Steps are clearly numbered and sequenced, but there are no explicit validation checkpoints or feedback loops. For a security hardening skill involving potentially destructive configuration changes (CSP headers, middleware), there should be verification steps like 'test that protected routes return 401 without auth' or 'verify CSP headers appear in browser dev tools'. The error handling table partially compensates but doesn't constitute inline validation.

2 / 3

Progressive Disclosure

The content is well-structured with clear headings and a logical flow, and references a next step ('clerk-prod-checklist'). However, at ~180 lines it's quite long for a single SKILL.md with no bundle files to offload detail into. The rate limiting example, error handling table, and session dashboard configuration could be split into referenced files to keep the main skill leaner.

2 / 3

Total

9

/

12

Passed

Description

89%

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 clear 'what' and 'when' clauses and explicit trigger terms, making it strong on completeness and distinctiveness. Its main weakness is the lack of specific concrete actions — it describes the goal (security best practices) without enumerating what those practices actually are, which limits specificity. Note: the description uses second person ('your application') which is a minor voice issue but doesn't severely impact utility.

Suggestions

Add specific concrete actions such as 'configure CSRF protection, set token expiration policies, enable multi-factor authentication, restrict redirect URLs, review session management settings' to improve specificity.

Replace second person 'your application' with third person phrasing like 'Implements security best practices for Clerk authentication configurations' to follow the preferred voice guidelines.

DimensionReasoningScore

Specificity

Names the domain (Clerk authentication security) and mentions some actions like 'securing your application', 'reviewing auth implementation', and 'hardening Clerk configuration', but doesn't list specific concrete actions (e.g., 'configure CSRF protection, set token expiration, enable MFA, restrict redirect URLs').

2 / 3

Completeness

Clearly answers both 'what' (implement security best practices with Clerk authentication) and 'when' (securing application, reviewing auth implementation, hardening Clerk configuration) with explicit trigger phrases listed.

3 / 3

Trigger Term Quality

Includes explicit trigger phrases like 'clerk security', 'secure clerk', 'clerk best practices', 'clerk hardening' which are natural terms users would say. Also includes broader terms like 'securing your application' and 'auth implementation' that provide good coverage.

3 / 3

Distinctiveness Conflict Risk

The combination of 'Clerk' (a specific auth provider) and 'security/hardening' creates a clear niche that is unlikely to conflict with general security skills or general Clerk usage skills.

3 / 3

Total

11

/

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.

Validation9 / 11 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

9

/

11

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.