CtrlK
BlogDocsLog inGet started
Tessl Logo

cross-origin-security

Use when reviewing scripts, client components, bundles, or runtime behavior related to Handle cross-origin requests securely. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug.

56

Quality

65%

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

Quality

Content

71%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 well-structured overview with genuinely actionable check/fix/review guidance and exemplary progressive disclosure to a real, one-level-deep reference file. Its main weakness is mild redundancy and a textbook SOP explainer that adds tokens without adding information Claude doesn't already have.

Suggestions

Cut or compress the opening paragraph explaining what the Same-Origin Policy is — Claude already knows this — and keep at most the one-line consequence framing.

Deduplicate the overlapping review instructions between the Fix and Code Review sections (e.g. the CORS-permissiveness review appears in both) so each section earns its place.

DimensionReasoningScore

Conciseness

The opening paragraph explains the Same-Origin Policy — a concept Claude already knows — and the Check, Fix, and Code Review sections repeat overlapping instructions ("review CORS configuration" appears in both Fix and Code Review). Mostly efficient but includes unnecessary explanation and could be tightened, matching anchor 3.

3 / 5

Actionability

Concrete, directive guidance throughout: "Always verify event.origin before processing postMessage data", "Never set Access-Control-Allow-Origin: * for authenticated endpoints", "Reject unvalidated redirect targets such as next, redirect, or callbackUrl", and "Check login, logout, SSO, and return-to flows for open redirects". Instruction-only but actionable; not a 5 because no example of a violation or its fix appears inline — everything concrete of that kind is deferred to the reference file.

4 / 5

Workflow Clarity

The Check → Fix → Explain → Code Review sequence is a coherent, ordered workflow with verification woven in ("state how the change should be verified in the browser"). Not a 5 because the body itself contains no explicit validate-and-report checkpoint (verification steps live in references/rule.md), leaving a minor validation gap.

4 / 5

Progressive Disclosure

The body is a compact, well-sectioned overview that defers all implementation detail through a clearly signaled one-level-deep pointer ("For full implementation details, code examples, and framework-specific guidance, see references/rule.md"), and that file exists and contains exactly that content. No inlining of material that belongs in the reference.

5 / 5

Total

16

/

20

Passed

Description

58%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.

The description has an explicit Use-when clause and a recognizable niche, but it underperforms on specificity and trigger terms: the skill's own vocabulary (CORS, postMessage, CSRF, open redirect) never appears, and the rule title is mechanically interpolated into the sentence. It reads as template output for a rule family rather than a purpose-written description for this skill.

Suggestions

Rewrite the capability clause to state the skill's concrete actions in the user's vocabulary, e.g. "Review CORS configuration, validate postMessage origins, check CSRF protections (SameSite cookies, tokens), and reject open-redirect parameters like next, redirect, or callbackUrl."

Add the natural trigger terms users actually say — CORS, postMessage, CSRF, same-origin policy, open redirect — to the Use-when clause so the skill surfaces for those queries.

Remove the interpolated rule title ("related to Handle cross-origin requests securely") and replace it with a grammatical statement of what the skill does, keeping the description in consistent third-person voice.

DimensionReasoningScore

Specificity

Names the domain and a couple of concrete actions ("reviewing scripts, client components, bundles, or runtime behavior", "Inspect both source code and the browser execution path"), but the actions are generic review language rather than the skill's actual mechanisms (CORS config, postMessage origin validation, CSRF, redirect allow-listing), and "related to Handle cross-origin requests securely" awkwardly interpolates the rule title instead of stating a capability.

3 / 5

Completeness

Both parts are present: an explicit trigger ("Use when reviewing scripts, client components, bundles, or runtime behavior...") and a what ("Handle cross-origin requests securely" plus "Inspect both source code and the browser execution path"). Not a 5 because the what is muddled by the interpolated rule title and the when is broad boilerplate that could be far more specific.

4 / 5

Trigger Term Quality

Relevant keywords like "cross-origin", "client components", and "runtime behavior" are present, but the natural terms a user would actually say for this skill — CORS, postMessage, CSRF, same-origin, open redirect — are all missing. This matches the anchor for some relevant keywords with missing common variations or synonyms.

3 / 5

Distinctiveness Conflict Risk

The "cross-origin requests securely" niche is distinct, but the generic opening ("reviewing scripts, client components, bundles, or runtime behavior") is boilerplate shared across frontend-checklist sibling rules, so it could still overlap with other JavaScript review skills. Somewhat specific but overlap risk remains.

3 / 5

Total

13

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
thedaviddias/Front-End-Checklist
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.