CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

secure-code-guardian

Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities — including custom security implementations such as hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens. Invoke for authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening. For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.

72

Quality

91%

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.

The body is a strong, example-driven overview: fully executable code covering the common secure-coding cases, an explicit validation-checkpoint checklist, and a clean progressive-disclosure structure pointing to real one-level-deep reference files. Minor improvements possible: trim the keyword-list footer and add an explicit validate→fix→retry loop to the checkpoints.

DimensionReasoningScore

Conciseness

The body is largely efficient — code comments are instructive ('value passed separately — never interpolated', 'Generic message — do not reveal whether email exists') and no sections explain concepts Claude already knows. Minor trimmable content exists: the 'Knowledge Reference' keyword list ('OWASP Top 10, bcrypt/argon2, JWT, OAuth 2.0, OIDC, CSP, CORS...') and the footer attribution/doc links add tokens without actionable value. This fits the 4 anchor ('minor instances of over-explanation that could be trimmed'), not 5 ('every token earns its place').

4 / 5

Actionability

Five complete, executable TypeScript examples cover the common cases: bcrypt hashing with salt-rounds guidance, parameterized pg queries, Zod safeParse validation, JWT verification with an explicit algorithm allowlist, and a full login endpoint wiring helmet, rate limiting, scoped tokens, and httpOnly cookies. All are copy-paste ready, matching the 5 anchor; the 4 anchor's 'minor gaps' does not apply.

5 / 5

Workflow Clarity

A clear five-step sequence (Threat model, Design, Implement, Validate, Document) is paired with an explicit Validation Checkpoints section containing concrete test payloads ("' OR 1=1--", "<script>alert(1)</script>") and verification commands (curl -I, Mozilla Observatory). It falls short of the 5 anchor because there is no explicit error-recovery feedback loop — checkpoints say to verify after each step but never state what to do when a check fails — so 'most checkpoints present; minor validation gaps' (4) is the best fit.

4 / 5

Progressive Disclosure

The SKILL.md serves as a well-organized overview with a Reference Guide table mapping each topic to an existing one-level-deep file in references/ with explicit 'Load When' conditions, and quick-start code examples are appropriately kept inline while detailed patterns live in the five reference files. This matches the 5 anchor ('clear overview with well-signaled one-level-deep references; content appropriately split; easy navigation').

5 / 5

Total

18

/

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 that explicitly covers both what and when with concrete, technology-specific actions and explicit boundary guidance against adjacent skills. Its only weakness is trigger-term coverage: common user phrasings like XSS, CSRF, and rate limiting are absent, and the second sentence adds redundancy rather than new synonyms.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'hashing passwords with bcrypt/argon2, sanitizing SQL queries with parameterized statements, configuring CORS/CSP headers, validating input with Zod, and setting up JWT tokens' — giving comprehensive coverage of the secure-implementation domain. It exceeds the 4 anchor because there are no notable gaps in capability coverage, matching the 5 anchor's 'multiple specific concrete actions; comprehensive coverage'.

5 / 5

Completeness

Both what and when are explicit: 'Use when implementing authentication/authorization, securing user input, or preventing OWASP Top 10 vulnerabilities' provides concrete trigger phrases, and the enumerated implementation actions clearly state what the skill does. This matches the 5 anchor ('clearly and explicitly answers both what AND when with concrete trigger phrases'); the 4 anchor's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

Good keyword coverage including natural terms users would say: 'authentication, authorization, input validation, encryption, OWASP Top 10 prevention, secure session management, and security hardening'. However, a few natural terms are missing (XSS, CSRF, rate limiting, login/signup) that users commonly say when needing this skill, and the second sentence partially restates the first rather than adding new synonyms, so it does not reach the 5 anchor's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The skill occupies a clear implementation-focused security niche and actively reduces conflict risk with the boundary guidance 'For pre-built OAuth/SSO integrations or standalone security audits, consider a more specialized skill.' Triggers (bcrypt, Zod, CSP/CORS, JWT, OWASP) are distinct; minimal conflict risk, matching the 5 anchor.

5 / 5

Total

19

/

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

Jeffallan/claude-skills

Path

skills/secure-code-guardian/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.