CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

security-and-hardening

Hardens code against vulnerabilities. Use when auditing an input handler for vulnerabilities, when handling user input, authentication, data storage, or external integrations, or when checking a login flow is safe against the OWASP Top Ten. Use when building any feature that accepts untrusted data, manages user sessions or session cookies, or interacts with third-party services. Use when auditing dependencies for known vulnerabilities, triaging package-manager audit findings, or assessing supply-chain risk in a new package. Use when personal data or privacy compliance (GDPR, CCPA) is involved.

Quality

87%

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

81%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, high-signal security skill whose body serves as an operational rulebook with implementations correctly pushed one level deep into a real, anchor-linked reference file. The main defects are a repeatedly referenced checklist file that is missing from the bundle and two tables that restate knowledge Claude already has.

Suggestions

Fix or inline the ../../references/security-checklist.md references — the path escapes the skill bundle and does not resolve, leaving the Review Checklist section, the destructive-paths worked code, and the dependency manager matrix pointing at nothing.

Trim the Common Rationalizations table to the rows that arm the agent against user pushback it will actually face, and compress the STRIDE table to the threat-to-mitigation pairs not already standard knowledge.

Inline one short worked example (e.g., a parameterized query or the destructive-path check as code) for the highest-risk control so executable guidance does not depend entirely on reference files.

DimensionReasoningScore

Conciseness

The body is rule-first and dense with almost no explanation of concepts Claude already knows, and sections like SSRF ('resolve all DNS records and reject any private or reserved address (loopback, link-local 169.254.169.254...)') and destructive paths carry non-obvious specifics. The 12-row 'Common Rationalizations' table and the STRIDE table partially restate security knowledge Claude already has and could be trimmed.

4 / 5

Actionability

Directives are concrete and executable throughout — 'bcrypt (≥12 rounds)', 'httpOnly, secure, and sameSite: lax or strict', 'about 10 attempts per 15 minutes', 'npm audit signatures', and the three-part destructive-path check. No inline worked code is provided (it is delegated to references), and one cited 'worked code' target (../../references/security-checklist.md) does not resolve within the bundle.

4 / 5

Workflow Clarity

The threat-model process is a clear numbered sequence (map boundaries, name assets, STRIDE, abuse cases), the dependency workflow has explicit checkpoints ('stop on disagreement or competing lockfiles', 'verify with a clean frozen/immutable install'), and destructive operations get explicit validation ('On refusal, log the rejected target and stop' plus a Verification checklist item). A 12-item Verification checklist closes the loop, so the destructive-operations cap does not apply.

5 / 5

Progressive Disclosure

Exemplary one-level-deep structure: references/hardening-patterns.md exists and all 15 anchor links in the body resolve to real headings, with an explicit 'Open the section you need when you reach that code, not before' disclosure policy. However ../../references/security-checklist.md is referenced three times (the entire Review Checklist section, the destructive-paths 'worked code', and the dependency manager matrix) yet is absent from the bundle and escapes the skill directory.

4 / 5

Total

17

/

20

Passed

Description

88%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 in third-person voice that clearly states the capability and gives unusually thorough, explicit trigger guidance across the skill's sub-domains. Its only weaknesses are a few missing natural trigger terms and slightly broad phrasing that raises minor overlap risk with adjacent skills.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'auditing an input handler for vulnerabilities', 'checking a login flow is safe against the OWASP Top Ten', 'triaging package-manager audit findings', 'assessing supply-chain risk' — with comprehensive coverage across input handling, authentication, sessions, dependencies, and privacy. Coverage spans the skill's full domain with concrete verbs, matching the comprehensive anchor rather than the 'minor gaps' anchor.

5 / 5

Completeness

It explicitly answers 'what' ('Hardens code against vulnerabilities') and 'when' via four explicit 'Use when...' clauses with concrete trigger phrases covering auditing, building features, dependency review, and privacy compliance. The 'when' is fully explicit with concrete triggers, so the level-4 anchor ('when could be more explicit') does not fit.

5 / 5

Trigger Term Quality

Strong natural keyword coverage including synonyms — 'login flow', 'authentication', 'user sessions', 'session cookies', 'OWASP Top Ten', 'supply-chain risk', 'GDPR, CCPA'. A few natural user phrasings are missing, e.g. 'secrets', 'injection', 'XSS', or simply asking whether code is 'secure', so it fits 'good coverage; a few natural terms missing' rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

The security/hardening niche is clear with distinct triggers (OWASP Top Ten, session cookies, supply-chain risk, GDPR/CCPA). Broad clauses like 'building any feature that accepts untrusted data', 'data storage', or 'external integrations' create minor overlap risk with general web-development, integration, or code-review skills, and privacy compliance could overlap a dedicated compliance skill.

4 / 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

addyosmani/agent-skills

Path

skills/security-and-hardening/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.