CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

koa-typescript

Guidelines for building modern APIs with Koa.js and TypeScript, featuring the onion middleware model and async/await patterns

Quality

66%

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

Fix and improve this skill with Tessl

tessl review fix ./koa-typescript/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%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 a well-organized compendium of Koa-specific patterns with strong, mostly executable code examples. Its weaknesses are padded generic TypeScript advice, no explicit workflow with validation checkpoints, and no progressive disclosure of detail into reference files.

Suggestions

Trim the generic TypeScript guidelines (naming conventions, "avoid any", arrow-function advice) that Claude already knows, keeping only Koa-specific typing guidance such as ParameterizedContext and Middleware generics.

Add a brief explicit build workflow (scaffold structure -> define middleware -> mount in order -> add routes/validators -> test with supertest) with a validation checkpoint such as running integration tests before considering an endpoint done.

Move per-topic detail (validation schemas, auth, testing recipes, or full project scaffolding) into a references/ directory with clearly signaled one-level-deep links from SKILL.md.

DimensionReasoningScore

Conciseness

Most sections are efficient lists plus code, but the generic TypeScript guidelines ("Use English for all code", PascalCase/camelCase conventions, "Avoid using `any`", "Write short functions") restate knowledge Claude already has and contribute nothing Koa-specific. This is more than minor over-explanation, so it sits at anchor 3 rather than 4.

3 / 5

Actionability

The body provides concrete, near copy-paste-ready TypeScript examples for middleware, typed context, app setup, routing, error handling, Zod validation, JWT auth, and supertest. It is not 5 because of small gaps: the app-setup snippet uses `router` without importing it, and `validateToken`, `User`, and `process.env.JWT_SECRET` are referenced without definition or setup.

4 / 5

Workflow Clarity

Section order (project structure, middleware, app setup, routing, error handling, testing) implies a rough build sequence, and the app-setup example documents middleware ordering ("Error handling (first in chain)"), but no explicit step sequence or validation checkpoints are given. This is guideline-style content rather than a multi-step process, so it matches anchor 3, not 4, which requires most checkpoints present.

3 / 5

Progressive Disclosure

The single ~290-line file has clear section headers and logical organization, but there are no bundle files and no references at all; per-topic example libraries (validation, auth, testing, per-resource scaffolding) and the generic TS style rules are all inlined and could be split into one-level-deep reference files. This matches anchor 3 (structure present, content that should be separate is inline) rather than 4, since nothing is offloaded to separate files.

3 / 5

Total

13

/

20

Passed

Description

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

The description names a specific, distinctive niche and includes relevant natural keywords, but it reads as a topic label rather than an actionable trigger. Its main weakness is the complete absence of a "when to use" clause, which caps completeness at 3.

Suggestions

Add an explicit trigger clause, e.g. "Use when building or refactoring APIs with Koa.js, writing Koa middleware, or when the user mentions Koa, onion model, or @koa/router."

Replace the generic "Guidelines for building modern APIs" framing with concrete capabilities (e.g., "Structures Koa projects, types context state, composes middleware, validates requests with Zod, and tests with supertest").

Include a few more natural synonyms such as REST, routing, Node server, or Express-to-Koa migration to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

The description names the domain ("building modern APIs with Koa.js and TypeScript") and references two concrete patterns ("onion middleware model and async/await patterns"), but offers only a single action and no broader coverage of what the skill provides. It matches anchor 3 (domain plus 1-2 concrete actions, not comprehensive) rather than 2, since real capabilities are named, and not 4, since there is no list of several specific actions.

3 / 5

Completeness

The "what" is clear (guidelines for building APIs with Koa.js and TypeScript), but there is no "Use when..." clause or any equivalent explicit trigger guidance. Per the judging guidelines this caps completeness at 3; it is not 4 because the "when" is entirely absent rather than merely imprecise.

4 / 5

Trigger Term Quality

Natural terms users would say are present: "APIs", "Koa.js", "TypeScript", "middleware", and "async/await". Coverage is good but misses common variations such as routing, REST, server, or Node, so it falls just below the comprehensive anchor 5.

4 / 5

Distinctiveness Conflict Risk

"Koa.js and TypeScript" is a clear niche with distinct triggers, giving minimal confusion with PDF, document, or data skills. It is not 5 because "modern APIs" and "TypeScript" still overlap with generic Node/Express/TypeScript guideline skills.

4 / 5

Total

15

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

Mindrally/skills

Path

koa-typescript/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.