CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

security-and-hardening

This skill provides a threat-model-first workflow and practical controls for input validation, access control, authentication, dependencies, privacy, and AI/LLM features. It distinguishes mandatory safeguards, actions requiring human approval, and prohibited practices, then provides review and verification checklists.

Quality

84%

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

Scored by GLM 5.3

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-engineered skill body: prescriptive rather than tutorial-style, concrete on thresholds and commands, organized into a coherent threat-model-first workflow with tiered rules and closing checklists, and cleanly split across two real, well-anchored reference files. The residual gaps are minor — a trimmable rationalizations table, code examples deferred entirely to references, and a few verification items that name outcomes without check commands.

Suggestions

Trim the 'Common Rationalizations' table to the rows that are not already restated by their corresponding hardening-control sections (e.g., the dependency, privacy, and LLM rows each repeat points made above) to reduce token cost.

Add a brief how-to-check hint to each Verification checklist item (e.g., the command for scanning git history for secrets, or a curl one-liner for security headers) so every checkpoint is executable, not just a named outcome.

Fix the grammatical slip in the description's final clause ('Use when personal data or privacy compliance (GDPR, CCPA) is involved') — e.g., 'Use when handling personal data or when privacy compliance (GDPR, CCPA) is involved.'

DimensionReasoningScore

Conciseness

The body is dense and prescriptive throughout — it never explains concepts Claude already knows (no definition of XSS, bcrypt, or CORS) and every section states rules rather than background. Minor trimmable material keeps it at anchor 4 instead of 5: rhetorical Overview flourishes ('every secret as sacred', 'Security isn't a phase') and the 11-row 'Common Rationalizations' table, several rows of which restate points already made in their sections.

4 / 5

Actionability

Concrete, executable specifics throughout: 'bcrypt (≥12 rounds), scrypt, or argon2', "sameSite: 'lax' or 'strict'… with a bounded maxAge", 'about 10 attempts per 15 minutes', 'link-local 169.254.169.254', 'npm audit signatures', 'grep the staged diff before committing'. As an instruction-heavy skill this satisfies the code-vs-instruction note, but fully worked code lives in the reference files rather than the body, leaving minor gaps — anchor 4, not 5.

4 / 5

Workflow Clarity

A clear overall sequence (threat model first → three-tier rules → hardening controls → Review Checklist → Verification checklist) with explicit checkpoints and stop conditions ('On refusal, log the rejected target and stop', 'stop on disagreement or competing lockfiles', 'rotate it first, then purge history'), and destructive operations carry a mandatory three-part pre-check. It falls short of anchor 5 because several Verification items state an outcome without an explicit how-to-check step (e.g., 'No secrets in source code or git history' gives no command, though the Secrets section hints at grepping the diff).

4 / 5

Progressive Disclosure

Clean one-level-deep structure: the body keeps prescriptive rules inline and defers patterns and worked code to references/hardening-patterns.md and references/shared/security-checklist.md, both directly linked with clearly labeled signposts ('Pattern: [Injection](references/hardening-patterns.md#injection)', 'Worked code: `references/shared/security-checklist.md`'). Every referenced anchor slug resolves to a real heading in the bundle files, and the cross-links between the two reference files are supplementary signposts, not deferred content. This matches anchor 5: clear overview, well-signaled references, easy navigation.

5 / 5

Total

17

/

20

Passed

Description

83%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 that pairs a concise third-person 'what' with multiple explicit, concrete 'Use when' trigger clauses covering the skill's full scope (input handling, auth, dependencies, privacy). Keyword coverage is broad and natural. Minor issues: the headline capability is generic, a few common security phrasings are absent, and the final clause 'Use when personal data or privacy compliance (GDPR, CCPA) is involved' is slightly garbled grammatically.

DimensionReasoningScore

Specificity

The headline 'Hardens code against vulnerabilities' is generic, but the trigger clauses list several 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 in a new package'. This matches anchor 4 (several specific actions, minor gaps) rather than 5, since the standalone 'what' is a single generic action and capabilities like secrets management or security headers are only implied via triggers.

4 / 5

Completeness

Explicitly answers both 'what' ('Hardens code against vulnerabilities') and 'when' via four explicit 'Use when…' clauses with concrete trigger phrases spanning input handling, auth/session management, external integrations, dependency auditing, and privacy compliance. This clearly matches the anchor 5 example structure; it is not 4 because the 'when' guidance is explicit and specific, not merely present.

5 / 5

Trigger Term Quality

Strong natural keyword coverage: 'vulnerabilities', 'user input', 'authentication', 'login flow', 'OWASP Top Ten', 'untrusted data', 'user sessions or session cookies', 'third-party services', 'supply-chain risk', 'GDPR', 'CCPA'. A few natural phrasings users would say are missing ('security review', 'secure coding', 'penetration test', specific vulnerability names like XSS or SQL injection), so anchor 4 rather than 5.

4 / 5

Distinctiveness Conflict Risk

A clear security niche with distinctive triggers (OWASP Top Ten, supply-chain risk, GDPR/CCPA, session cookies), but 'Use when building any feature that accepts untrusted data' is broad enough to overlap with general code-review or development skills. Mostly distinct with minor overlap risk — anchor 4, not 5.

4 / 5

Total

17

/

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

referenced_paths_exist

Referenced path issues: 1 deeper-than-1-level

Warning

Total

15

/

16

Passed

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.