CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

client-side-security

The skill explains how to configure and roll out CSP headers across Next.js and Vercel, including using Project Routes to change headers without a redeploy. It also covers Page Integrity monitoring for client-side scripts and connections, recommended review practices, and CSP allowances for Vercel products.

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

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

A well-structured, largely executable skill body: concrete CLI commands, a staged report-only-to-enforcing rollout sequence, and cleanly organized sections with one-level references. The gaps are minor — a duplicated recommendation sentence, a missing starter CSP header example, and a soft rather than concrete pre-publish check.

Suggestions

Deduplicate 'CSP is recommended for all web pages' (stated in both the bullets and the CSP section) and replace the generic opening sentence with a one-line purpose statement.

Add a minimal starter CSP header value (e.g. "default-src 'self'; script-src 'self' https://vercel.live; ...") so the 'cover the common directives' guidance has a copy-paste starting point.

Turn the pre-publish caution into a concrete validation step, e.g. 'review `vercel routes list --diff` output and confirm no unrelated rules change before `vercel routes publish`'.

DimensionReasoningScore

Conciseness

The body is lean and directive, but 'CSP is recommended for all web pages' is stated twice (in the bullets and again opening the CSP section), and the opener 'This skill covers how applications can improve security of the client side of their applications' is low-value filler. Minor over-explanation keeps it below the 5 anchor's 'every token earns its place', but well above the 3 anchor.

4 / 5

Actionability

Provides executable, copy-paste commands ('vercel routes add "CSP" --src "/(.*)" --set-response-header ...', 'vercel page-integrity enable --path "/checkout/:path*" --exact /cart') and concrete Toolbar CSP directives. Not 5 because no example CSP header value is ever shown — 'should cover the common directives (script-src, connect-src, frame-src, etc.) and avoid using overly broad allowances' instructs without a starter policy.

4 / 5

Workflow Clarity

Clear sequences with most checkpoints present: ship Content-Security-Policy-Report-Only first, fix violations, then enforce; routes are staged, inspected with 'vercel routes list --diff', then published with an explicit caution. Not 5 because the pre-publish validation is a soft 'Only run it once you're sure' rather than a concrete verification step, but validation is clearly not absent.

4 / 5

Progressive Disclosure

No bundle files exist; the ~70-line body is well-sectioned (CSP, Page Integrity, Notifications, Allowing Vercel Products, References) with a clearly signaled References section of one-level-deep links and nothing inlined that belongs in a separate file. Matches the well-organized, easy-to-navigate 5 anchor; the 4 anchor's 'minor organization gaps' do not apply.

5 / 5

Total

17

/

20

Passed

Description

92%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: concrete third-person capabilities, an explicit 'Use when...' clause rich with trigger phrases, and explicit boundary routing to sibling skills. The only weakness is that a few natural trigger terms (security headers, XSS, nonce) that users might say are absent from the description text.

DimensionReasoningScore

Specificity

Lists multiple concrete, specific actions — 'adding or debugging a CSP', 'choosing where to set it (Next.js proxy.ts or next.config.js, vercel.json, Project Routes)', 'allowing Vercel Toolbar under CSP', 'monitoring third-party scripts or tag managers', 'meeting PCI DSS script requirements' — with comprehensive coverage of both CSP and Page Integrity in third-person voice. It exceeds the 4 anchor ('minor gaps in coverage') because no meaningful capability is left out.

5 / 5

Completeness

Explicitly answers both: what ('Protect what runs in your users' browsers on Vercel with a Content-Security-Policy header and Page Integrity script monitoring') and when ('Use when adding or debugging a CSP, choosing where to set it..., monitoring third-party scripts or tag managers, or meeting PCI DSS script requirements'). Matches the 5 anchor with concrete trigger phrases; the 4 anchor's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

Includes natural terms users would say — 'CSP', 'third-party scripts', 'tag managers', 'PCI DSS' — plus both the full name 'Content-Security-Policy' and its acronym. Not 5 because a few common natural phrases ('security headers', 'XSS', 'nonce') are missing from the description itself.

4 / 5

Distinctiveness Conflict Risk

Clear niche (client-side security on Vercel) with explicit disambiguation — 'For WAF rules and rate limits use `vercel-firewall`; for bots use `botid`' — minimizing conflict with closely related skills. Minimal overlap risk, matching the 5 anchor.

5 / 5

Total

19

/

20

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.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

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

Warning

Total

13

/

16

Passed

Repository

vercel/vercel-plugin

Path

skills/client-side-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.