CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudflare-workers-security

Cloudflare Workers security with authentication, CORS, rate limiting, input validation. Use for securing APIs, JWT/API keys, or encountering auth failures, CORS errors, XSS/injection vulnerabilities.

62

Quality

78%

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/cloudflare-workers/skills/cloudflare-workers-security/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

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

The body is a solid, code-first overview with genuinely executable patterns for auth, validation, headers, and CORS, and a well-signaled reference layer that mostly resolves correctly. Its weaknesses are internal duplication, a missing verification loop (the audit script is listed but never used as a checkpoint), and four dangling template references that break navigation.

Suggestions

Wire validation into the workflow: after the checklist, add an explicit step like 'Run ./scripts/security-audit.sh <url> to verify headers and CORS are correctly applied; fix and re-run if checks fail.'

Fix the Templates section: either create the four referenced templates/*.ts files or remove the table, since the paths currently point to files that do not exist in the bundle.

Deduplicate content: merge 'Critical Rules' into the 'Top 10 Security Errors' table and drop the repeated header-setting lines from the Quick Security Checklist (or replace them with a pointer to the Security Headers section).

Add a brief inline rate-limiting example (or a one-line pointer styled like the other reference links) so the checklist's rateLimiter step has an executable counterpart.

DimensionReasoningScore

Conciseness

The body is code-heavy and mostly lean, but security headers are set twice (Quick Security Checklist and the full 'Security Headers' section) and the 'Critical Rules' list substantially duplicates the 'Top 10 Security Errors' table. This matches 'mostly efficient but includes some unnecessary explanation or could be tightened'; a 4 would require only minor trimming, and the duplication here is more than minor.

3 / 5

Actionability

The JWT verification, API key validation, Zod validation, security headers, and CORS sections are complete, executable TypeScript — 'mostly executable guidance with minor gaps'. Not a 5 because rate limiting has no inline implementation (only 'rateLimiter.check(clientIP)' in the checklist, delegated to a reference) and the templates the body points to do not exist, so those copy-paste paths dead-end.

4 / 5

Workflow Clarity

The 'Quick Security Checklist' gives a rough 5-step hardening sequence and 'When to Load References' maps tasks to files, but there are no validation checkpoints — the available 'scripts/security-audit.sh' is never wired into the flow as a verify step ('run the audit after applying headers'). This matches 'steps listed but validation gaps; checkpoints missing or implicit'.

3 / 5

Progressive Disclosure

Structure is present with a good task-to-reference map, and all six 'references/*.md' files and 'scripts/security-audit.sh' verified to exist. However, the Templates table points to four 'templates/*.ts' files and no templates directory exists in the bundle — dangling references a reader cannot navigate. Scored against the actual bundle structure, this is 'some structure but could be better organized' rather than the 4 anchor's 'minor organization gaps'.

3 / 5

Total

13

/

20

Passed

Description

87%Weight 40%Scale 1-5

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 strong description: concise, third-person, domain-scoped, with an explicit 'Use when' clause covering both task-based and error-symptom triggers. The only improvement space is slightly broader capability coverage (security headers, secrets management) and a few more user-natural synonyms.

DimensionReasoningScore

Specificity

Names the domain ('Cloudflare Workers security') and lists several concrete capabilities ('authentication, CORS, rate limiting, input validation'), matching the 'several specific actions; minor gaps in coverage' anchor. Not a 5 because body-documented capabilities like security headers and secrets management are absent from the description; not a 3 because four distinct concrete actions are explicitly stated.

4 / 5

Completeness

Explicitly answers what ('security with authentication, CORS, rate limiting, input validation') and when ('Use for securing APIs, JWT/API keys, or encountering auth failures, CORS errors, XSS/injection vulnerabilities') with concrete trigger phrases. Matches the anchor for clearly answering both what AND when; a score of 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Natural user phrases like 'securing APIs', 'JWT/API keys', 'auth failures', 'CORS errors', 'XSS/injection vulnerabilities' give good keyword coverage. Not a 5 because common variations users would say ('401/Unauthorized errors', 'hardening', 'hardened', 'secret leaked') are missing; not a 3 because both symptom-based and task-based natural terms are present.

4 / 5

Distinctiveness Conflict Risk

Scoped tightly to Cloudflare Workers with distinct trigger scenarios, minimizing conflict with generic web-security or other-platform skills. Third-person voice is used correctly, so no specificity penalty applies.

5 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

secondsky/claude-skills

Path

plugins/cloudflare-workers/skills/cloudflare-workers-security/SKILL.md

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.