CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

hono-api

Use when building or extending REST APIs with Hono + @hono/zod-openapi. Covers schema-first route declaration with createRoute, feature-grouped composable routers, a class-based service layer behind interfaces, the strategy pattern for multi-event webhooks, typed request validation, and auto-generated OpenAPI docs.

68

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

75%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.

A high-quality architecture reference: executable patterns, explicit rules with rationale, and real scaffolding scripts correctly referenced from the body. The main improvements are completing the webhook example chain (NoopStrategy definition and route wiring), trimming table/prose duplication, and adding post-scaffold verification steps.

Suggestions

Show the NoopStrategy class definition and a minimal webhook route example (signature verify → parse → dispatch → 200) so the strategy pattern section is fully executable like the others.

Add a verification checkpoint after scaffolding and mounting — e.g., confirm the new route appears in the generated /openapi.json or the project typechecks — to close the workflow_clarity gap.

Trim duplication between the Quick Reference / Common Mistakes tables and the body sections (e.g., the auto-generated-OpenAPI rule appears in the intro, Core principle, Quick Reference, and Common Mistakes).

DimensionReasoningScore

Conciseness

The body is dense and rule-driven with compact, purposeful code; it explains non-obvious rationale ("Never return 4xx for an event you simply do not act on yet — that triggers provider retry storms") rather than concepts Claude already knows. Falls short of 5 due to redundancy: the "Core principle" restates the intro, and the Quick Reference and Common Mistakes tables restate rules already given in their sections.

4 / 5

Actionability

Most guidance is copy-paste executable: complete schema/route/app/index/validation examples and two real scaffolding scripts (verified present in scripts/). Minor gaps keep it below 5: the OrderService methods are elided placeholders ("{ /* ... */ return null; }"), the imported NoopStrategy class is never defined, and the webhook route wiring ("verify the signature on the raw body → parse → dispatch") is described only in prose with no code.

4 / 5

Workflow Clarity

Sequences are clear and well-formed ("validate → call a service → serialise the result"; "verify the signature → parse → dispatcher.dispatch(payload) → serialise"; scaffold → mount in app.ts), and the scaffolders embed real checkpoints (never overwrite, skip-if-exists, identifier validation, usage errors). Missing an explicit post-step verification (e.g., confirm the new route appears in /openapi.json, or run tsc after scaffolding) keeps it at 4 rather than 5.

4 / 5

Progressive Disclosure

Good structure: well-sectioned body, a Quick Reference table for navigation, and clear one-level-deep pointers to the two bundle scripts with per-script "use when" guidance — both verified to exist and match their descriptions. Not 5 because the ~250-line body keeps everything inline; the webhook strategy pattern (interface, dispatcher, NoopStrategy, route wiring) is detailed enough that it could live in a separate reference file, per the rubric's "content appropriately split" bar.

4 / 5

Total

16

/

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: it names the exact stack, enumerates the skill's concrete capabilities, and opens with an explicit, specific 'Use when' trigger. The only refinements would be more verb-driven phrasing of the capability list and a few extra natural trigger synonyms.

DimensionReasoningScore

Specificity

The description lists six concrete capabilities — "schema-first route declaration with createRoute", "feature-grouped composable routers", "a class-based service layer behind interfaces", "the strategy pattern for multi-event webhooks", "typed request validation", and "auto-generated OpenAPI docs" — with only minor gaps. It sits just below the 5 anchor because these are noun-phrase capabilities rather than the crisp action verbs of the 5-star example ("Extract text and tables from PDF files, fill forms, merge documents"), and "building or extending REST APIs" is somewhat generic on its own.

4 / 5

Completeness

Both halves are explicit and concrete: the "what" is the enumerated capability list ("Covers schema-first route declaration with createRoute, ... auto-generated OpenAPI docs") and the "when" opens with "Use when building or extending REST APIs with Hono + @hono/zod-openapi" — a concrete trigger phrase matching the 5 anchor's pattern. The 4 anchor's caveat ("'when' could be more explicit") does not apply here.

5 / 5

Trigger Term Quality

Strong natural keywords users of this stack would actually say: "REST APIs", "Hono", "@hono/zod-openapi", "webhooks", "request validation", "OpenAPI docs", "routers". Not a 5 because common variations are missing — "endpoints", "zod" alone, "TypeScript backend", "API routes" — whereas the 5 anchor includes the full synonym/extension spread.

4 / 5

Distinctiveness Conflict Risk

"Hono + @hono/zod-openapi" carves out a clear niche with near-zero overlap risk: a user on Express, Fastify, or any other framework would not trigger this skill, and the package name is an unambiguous discriminator. This matches the 5 anchor ("clear niche with distinct triggers; minimal conflict risk").

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

whimzyLive/nightshift-ai

Path

skills/hono-api/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.