CtrlK
BlogDocsLog inGet started
Tessl Logo

defense-in-depth-validation

Validate at every layer data passes through to make bugs impossible. Use when invalid data causes failures deep in execution, requiring validation at multiple system layers.

81

1.42x
Quality

72%

Does it follow best practices?

Impact

100%

1.42x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./plugins/defense-in-depth-validation/skills/defense-in-depth-validation/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Discovery

67%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description has a clear structure with explicit 'what' and 'when' clauses, which is its main strength. However, it lacks specific concrete actions and could benefit from more natural trigger terms that users would actually say. The concept of 'multi-layer validation' is somewhat distinctive but could still conflict with general validation or debugging skills.

Suggestions

Add specific concrete actions like 'implement input validation, add type guards, create schema validators, sanitize data at API boundaries'

Include more natural trigger terms users would say: 'type checking', 'schema validation', 'input sanitization', 'data integrity', 'runtime type errors'

DimensionReasoningScore

Specificity

Names the domain (data validation) and describes the general action ('Validate at every layer data passes through'), but lacks specific concrete actions like 'add type guards', 'implement schema validation', or 'create input sanitizers'.

2 / 3

Completeness

Clearly answers both what ('Validate at every layer data passes through to make bugs impossible') and when ('Use when invalid data causes failures deep in execution, requiring validation at multiple system layers') with explicit trigger guidance.

3 / 3

Trigger Term Quality

Includes some relevant terms like 'validation', 'invalid data', 'failures', and 'system layers', but misses common user phrases like 'type checking', 'input validation', 'schema', 'sanitize', or 'data integrity'.

2 / 3

Distinctiveness Conflict Risk

The focus on multi-layer validation is somewhat specific, but 'validation' and 'bugs' are broad terms that could overlap with general debugging, testing, or error handling skills.

2 / 3

Total

9

/

12

Passed

Implementation

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a solid skill with excellent actionability through concrete, executable code examples and clear workflow guidance. The four-layer validation pattern is well-explained with practical examples. Minor improvements could be made by trimming explanatory prose that states the obvious and potentially splitting detailed examples into referenced files.

Suggestions

Remove or condense the 'Why Multiple Layers' section - the distinction between 'fixed the bug' vs 'made the bug impossible' is self-evident from the examples

Consider moving the detailed 'Example from Session' to a separate EXAMPLES.md file and referencing it, keeping SKILL.md focused on the pattern itself

DimensionReasoningScore

Conciseness

The content is mostly efficient but includes some explanatory text that could be tightened. Phrases like 'When you fix a bug caused by invalid data, adding validation at one place feels sufficient' explain concepts Claude understands. The 'Why Multiple Layers' section is somewhat redundant with the overview.

2 / 3

Actionability

Provides fully executable TypeScript code examples for each validation layer. The code is copy-paste ready with clear patterns showing exactly what to validate and how to throw appropriate errors.

3 / 3

Workflow Clarity

The 'Applying the Pattern' section provides a clear 4-step sequence with explicit validation at each checkpoint. The concrete example traces data flow through all layers and shows how each layer catches different failure modes.

3 / 3

Progressive Disclosure

Content is well-structured with clear sections, but it's a monolithic document with no references to external files for deeper content. The 'Example from Session' section could potentially be split out for complex real-world examples.

2 / 3

Total

10

/

12

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
secondsky/claude-skills
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.