CtrlK
BlogDocsLog inGet started
Tessl Logo

security-hardening

Security architecture: authentication, authorization, RLS policies, CSP, input validation, API security. Use when implementing auth flows, writing RLS policies, configuring CSP/headers, validating inputs, or auditing security. Trigger terms: RLS, CSP, Server Actions, Zod, auth flow

71

Quality

86%

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

SKILL.md
Quality
Evals
Security

Quality

Content

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

An excellent, dense policy-style body: fully lean, concrete commands with real validation gates (RLS CI assertion with positive/negative visibility tests, header checks, bearer auth), and clean deferral of authoritative detail to the database skill. Minor gaps: a few directives (EXISTS subquery role checks, deployment customization) lack runnable examples.

DimensionReasoningScore

Conciseness

The ~35-line body is lean and dense: "ALTER TABLE x ENABLE ROW LEVEL SECURITY; on every table — default-deny, explicit-allow" and "Generate with `openssl rand -hex 32`; rotate quarterly" assume Claude's competence with zero padding. Every token earns its place.

5 / 5

Actionability

Mostly executable guidance: concrete SQL ("ALTER TABLE x ENABLE ROW LEVEL SECURITY"), a copy-paste header ("authorization: Bearer ${process.env.CRON_SECRET}"), a CI assertion query, and specific commands ("openssl rand -hex 32", "curl -I"). Not 5 because "EXISTS subqueries for role checks" and "see deployment customization" lack any code example or file path.

4 / 5

Workflow Clarity

Organized by topic rather than a multi-step sequence, but each section carries explicit validation: "CI gate: assert `SELECT relrowsecurity FROM pg_class...` plus a positive/negative row-visibility test... Block merges on failure", "Validate shipped headers with `curl -I`", and the 401 check on cron routes. Not 5 because no unified sequenced workflow with feedback loops; not 3 because validation checkpoints are explicitly present.

4 / 5

Progressive Disclosure

Under 50 lines with no bundle files, the well-organized sections (Authentication, CSP, RLS, API Security) satisfy the simple-skill exception. Deferrals are clearly signaled and one level deep: "SQL examples and role system: see the **database** skill" in a blockquote, plus named cross-references to api-patterns and session-checkpoints.

5 / 5

Total

18

/

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: it enumerates concrete security domains, provides an explicit 'Use when' clause with multiple concrete triggers, and includes a dedicated trigger-term list. The only minor gap is phrasing capabilities as domain nouns rather than action verbs and omitting a few natural synonyms.

DimensionReasoningScore

Specificity

"Security architecture: authentication, authorization, RLS policies, CSP, input validation, API security" lists several specific capability areas with comprehensive coverage, but they are domain nouns rather than the concrete action verbs of the anchor-5 example ("Extract text and tables... fill forms, merge documents").

4 / 5

Completeness

Explicitly answers both what ("Security architecture: authentication, authorization, RLS policies, CSP, input validation, API security") and when ("Use when implementing auth flows, writing RLS policies, configuring CSP/headers, validating inputs, or auditing security") with concrete trigger phrases.

5 / 5

Trigger Term Quality

"Trigger terms: RLS, CSP, Server Actions, Zod, auth flow" plus "auth flows, RLS policies, CSP/headers, validating inputs, auditing security" gives good keyword coverage users would naturally say, but misses common synonyms like "row-level security" spelled out, "login", or "permissions".

4 / 5

Distinctiveness Conflict Risk

Stack-specific triggers (RLS, CSP, Zod, Server Actions) carve out a clear security niche with minimal overlap risk; generic terms like "input validation" are anchored by the surrounding specific vocabulary. Not 4 because the enumerated trigger set is as distinct as the anchor-5 example's PDF-specific terms.

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
monkilabs/opencastle
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.