CtrlK
BlogDocsLog inGet started
Tessl Logo

api-error-handling

Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building production APIs, implementing error recovery patterns, or integrating error monitoring services.

70

Quality

85%

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

82%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 lean, executable, and well-structured with appropriate offloading of secondary language examples to a real reference file. Tightening the prose and adding any sequencing/validation cues for the circuit-breaker recovery flow would lift the remaining dimensions.

Suggestions

Trim the one-line intro sentence; the section headers and code are self-explanatory.

Add an explicit note on circuit-breaker state transitions (CLOSED -> OPEN -> HALF_OPEN) as a short sequenced checklist to strengthen workflow clarity.

DimensionReasoningScore

Conciseness

The body is code-forward with minimal explanatory padding and assumes Claude's competence; only the single-sentence intro and best-practices list add slight overhead.

4 / 5

Actionability

Provides complete, copy-paste-ready Node.js code (ApiError class, global error handler, CircuitBreaker) that covers the common cases.

5 / 5

Workflow Clarity

This is a single-purpose pattern reference rather than a multi-step workflow, so the simple-skill exception applies; content is unambiguous with no destructive/batch operations requiring validation checkpoints.

4 / 5

Progressive Disclosure

Main SKILL.md holds core Node.js patterns while clearly signaling a one-level-deep reference (references/python-flask.md, a real file) with a bulleted summary of its contents; minor gaps in organization keep it below 5.

4 / 5

Total

17

/

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 that clearly conveys both capability and triggering conditions with concrete, third-person language. It could reach full marks on specificity and trigger terms by adding more granular action verbs and common synonyms.

Suggestions

Add concrete action verbs (e.g., 'standardize', 'map', 'log') to push specificity toward 5.

Include common synonyms like 'exception handling' or 'status codes' alongside 'error recovery patterns' to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

Names several concrete actions ('standardized API error responses with proper status codes, logging, and user-friendly messages'), but the actions are somewhat higher-level than the maximally specific 5-anchor examples.

4 / 5

Completeness

Explicitly states both what it does and when to use it with concrete trigger phrases ('Use when building production APIs, implementing error recovery patterns, or integrating error monitoring services').

5 / 5

Trigger Term Quality

Includes natural triggers ('building production APIs', 'error recovery patterns', 'error monitoring services') but omits common synonyms like 'exception handling' or 'status codes' that a 5 would cover.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (API error handling) with distinct triggers; minimal overlap risk with unrelated skills.

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

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.