CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

error-handling-standardizer

This guide provides TypeScript examples for defining an error taxonomy, handling operational and unexpected errors, and logging request context. It also demonstrates safe client-facing messages and an async route wrapper, followed by implementation recommendations and a checklist.

Quality

83%

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

Scored by GLM 5.3

Content

68%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 delivers concrete, near-executable TypeScript covering all advertised components with good section organization. Its main weaknesses are the absence of an explicit ordered workflow for wiring the components together, and code examples that lack imports needed to be fully copy-paste ready.

Suggestions

Add a short numbered workflow (define error classes → register errorHandler middleware → configure logger → wrap async routes) so the assembly sequence and validation checkpoints are explicit rather than implied by section order.

Complete the code examples with the necessary imports (express Request/Response/NextFunction types, winston) so the snippets are fully copy-paste ready.

Trim the 'Best Practices' list to items not already demonstrated by the code (e.g., drop 'Use custom error classes' and 'Distinguish operational vs programming errors'), or move extended logging configuration to a reference file to reduce inline length.

DimensionReasoningScore

Conciseness

The body is mostly lean, executable code with minimal prose, but the 'Best Practices' list restates what the code already demonstrates ("Use custom error classes", "Distinguish operational vs programming errors") — minor padding that could be trimmed, fitting anchor 4 rather than the fully lean anchor 5.

4 / 5

Actionability

Provides concrete TypeScript throughout — full error class hierarchy, errorHandler middleware, winston logger setup, and asyncHandler with usage — but examples have minor gaps: no imports (Request, Response, express), logger referenced before its setup, and undefined userService, so not fully copy-paste ready (anchor 4, not 5).

4 / 5

Workflow Clarity

Section order implies a build sequence (taxonomy → middleware → logging → safe messages → async wrapper) but no explicit step sequence is written, and the Output Checklist is the only (end-state) validation — anchor 3's 'sequence present but checkpoints missing or implicit'. Not anchor 4 since the sequence is never stated as steps.

3 / 5

Progressive Disclosure

Well-organized single-file skill with clear section headers and cohesive content, though at ~171 lines the extended logging setup or taxonomy could live in a reference file — good structure with minor organization gaps fits anchor 4 rather than the well-split anchor 5.

4 / 5

Total

15

/

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 that clearly states concrete capabilities in third person and provides an explicit 'Use when' clause with natural trigger phrases. The only weaknesses are a few missing common trigger synonyms and slight overlap risk on the generic 'logging' term.

DimensionReasoningScore

Specificity

Lists five concrete capabilities ("custom error classes, HTTP status mapping, structured logging, safe client messages, and error taxonomy") with comprehensive coverage of the domain, matching the anchor-5 example's breadth; third-person "Creates" incurs no voice penalty.

5 / 5

Completeness

Explicitly answers both what ("Creates consistent error handling with custom error classes...") and when ("Use when standardizing...") with concrete quoted trigger phrases, matching the anchor-5 pattern.

5 / 5

Trigger Term Quality

Includes natural phrases users would say ("error handling", "logging", "error responses", "exception management"), but common variations like "error messages", "try/catch", or "HTTP errors" are missing, fitting anchor 4's "good keyword coverage; a few natural terms missing".

4 / 5

Distinctiveness Conflict Risk

The error-handling standardization niche is mostly distinct, but the "logging" trigger term creates minor overlap risk with a dedicated logging skill, fitting anchor 4 rather than the clear-niche anchor 5.

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

sathishssj3/Stereix-Engine

Path

.agents/skills/error-handling-standardizer/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.