CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

structured-logging-standardizer

Defines a TypeScript log schema and shows request-ID middleware that propagates correlation context into Pino logs. Includes a standardized logger for info and error messages, examples of preferred structured fields, and an output 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

76%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 an efficient, code-first skill that gives concrete, mostly copy-paste-ready TypeScript for schema, middleware, and logger. Its main gaps are the absence of any validation/verification step for the emitted logs, undefined `asyncLocalStorage` setup, and small authoring defects (escaped backticks, stray ENDFILE line).

Suggestions

Add a validation step to the workflow, e.g. after wiring the middleware, emit a test log and confirm the requestId/traceId fields appear in the JSON output before considering the checklist item done.

Complete the code's minor gaps: instantiate `const asyncLocalStorage = new AsyncLocalStorage()`, import AsyncLocalStorage, and declare the `req.id` Express type augmentation so the middleware example is fully copy-paste executable.

Fix authoring defects: replace the escaped backticks in the DON'T example with a valid template literal or plain string, and remove the stray 'ENDFILE' line at the end of the file.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence: a one-line goal ("Implement consistent, queryable, correlated logs.") followed immediately by a TypeScript schema, middleware code, a logger class, terse DO/DON'T pairs, and a checklist — no explanations of concepts Claude already knows and no padding. Not below 5 because every section contributes unique guidance.

5 / 5

Actionability

Guidance is mostly executable TypeScript (the LogEntry interface, the uuid/asyncLocalStorage middleware, the StandardLogger class, concrete DO/DON'T calls), matching "concrete code with minor gaps". Not a 5 because `asyncLocalStorage` is never instantiated or imported, `req.id` requires Express type augmentation, the DON'T example uses escaped backticks ("logger.info(\`User 123 purchased for $99.99\`)") that are invalid syntax as written, and a stray "ENDFILE" artifact trails the checklist.

4 / 5

Workflow Clarity

The sections imply a sequence (schema → middleware → logger → practices) and the Output Checklist enumerates deliverables, but there are no validation checkpoints (e.g., verify the requestId actually appears in emitted logs) — matching "sequence present but checkpoints missing or implicit". Not a 4 because no verification step exists anywhere; not a 2 because the component ordering and checklist give a coherent structure, and no destructive/batch cap applies since this is additive logging middleware.

3 / 5

Progressive Disclosure

No bundle files exist and the ~116-line body is well organized into clear sections (Log Schema, Request ID Middleware, Standardized Logger, Best Practices, Output Checklist), with content appropriately sized for inline inclusion — good structure with minor gaps. Not a 5 because the skill exceeds the under-50-line simple-skill threshold and deeper material (transports, sampling, log retention) has no home, and the trailing "ENDFILE" artifact slightly mars the organization.

4 / 5

Total

16

/

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 in third-person voice that clearly states what the skill does and provides explicit, naturally-worded trigger phrases. The only weaknesses are the vague "best practices" item and missing common trigger variations like "request IDs" or "correlation IDs".

DimensionReasoningScore

Specificity

The description lists several concrete capability areas — "request correlation IDs", "standardized log schema", "middleware integration" — matching the anchor for several specific actions with minor gaps. It falls short of a 5 because "best practices" is vague and the single verb "Enforces" covers all actions rather than enumerating distinct concrete actions.

4 / 5

Completeness

Both questions are explicitly answered: the "what" is "Enforces consistent structured logging with request correlation IDs, standardized log schema, middleware integration" and the "when" is the explicit clause "Use for 'structured logging', 'log standardization', 'request tracing', or 'log correlation'" with concrete trigger phrases, matching the top anchor. It is not a 4 because the trigger guidance is already specific and quoted, not merely present.

5 / 5

Trigger Term Quality

The quoted triggers "structured logging", "log standardization", "request tracing", and "log correlation" are natural phrases users would say, giving good keyword coverage. Not a 5 because common variations like "request IDs", "correlation IDs", "log format", or library names (pino/winston) are missing.

4 / 5

Distinctiveness Conflict Risk

Structured logging standardization with these trigger phrases is a clear niche and mostly distinct, but "request tracing" risks overlap with distributed-tracing/observability skills. Minor overlap risk with closely related skills places it at 4 rather than 5.

4 / 5

Total

17

/

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/structured-logging-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.