CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-endpoint-generator

The guide provides example schemas, route handlers, controllers, response formats, and status codes for building CRUD APIs with Express and TypeScript, NestJS, or FastAPI. It also outlines a generation workflow and best practices for validation, pagination, error handling, and API documentation.

Quality

81%

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

63%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 highly actionable, with dense, concrete, multi-framework code and a clear numbered workflow plus an output checklist. Its weaknesses are token efficiency and file structure: significant duplication across the three framework implementations, dual DTO definitions, and no progressive disclosure of the large framework-specific patterns into reference files.

Suggestions

Split the NestJS and FastAPI patterns into reference files (e.g., references/nestjs.md, references/fastapi.md) and keep only the Express pattern plus conventions in SKILL.md, cutting the body by more than half.

Remove the duplicate DTO definitions: keep the z.infer-derived types (or the manual interfaces) in one place, not both in types/user.types.ts and schemas/user.schema.ts.

Fix the executable gaps in the inline code: import `z` in middleware/validate.ts for the ZodError check, import `datetime` in the FastAPI model, and correct the `UserService = Depends()` usage.

DimensionReasoningScore

Conciseness

Prose is lean and avoids explaining known concepts, but the ~480-line body includes clear tightening opportunities: DTOs are defined twice (manual interfaces in types/user.types.ts and re-derived via z.infer in schemas), and the same CRUD surface is fully implemented in three frameworks (Express, NestJS, FastAPI) inline. This matches anchor 3 ('mostly efficient but could be tightened') rather than 4, where the duplication is more than minor.

3 / 5

Actionability

The guidance is overwhelmingly concrete and near copy-paste ready (routes, controller, schemas, middleware, response formats, status codes), but has a few executable gaps: middleware/validate.ts checks `error instanceof z.ZodError` without importing `z`, and the FastAPI example uses `datetime` without importing it and calls `UserService = Depends()` incorrectly. These minor defects fit anchor 4 ('concrete code with minor gaps') rather than 5 ('fully executable').

4 / 5

Workflow Clarity

The 7-step Core Workflow gives a clear, ordered sequence, and the Output Checklist acts as a completion checkpoint. It sits at 4 rather than 5 because there is no explicit validation/verification step (e.g., run/type-check/test the generated endpoints), leaving a minor checkpoint gap; the destructive/batch cap does not apply since this is additive code generation.

4 / 5

Progressive Disclosure

Section headers are well-organized and navigation within the file is easy, but there are no bundle files or references at all: 480 lines are fully inlined, and the NestJS and FastAPI patterns (and arguably the full controller implementation) clearly belong in separate reference files. This matches anchor 3 ('some structure... content that should be separate is inline') rather than 2, because the structure itself is good.

3 / 5

Total

14

/

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 explicitly states concrete capabilities in third person and pairs them with an explicit 'Use when' clause of natural trigger phrases. Both 'what' and 'when' are fully answered; the only weakness is slightly incomplete keyword coverage (no framework names or common synonyms beyond the four listed triggers).

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — "request validation, TypeScript types, consistent response formats, error handling, and documentation" plus "route handlers, validation schemas (Zod/Joi), typed responses, and usage examples" — giving comprehensive, specific coverage in third-person voice. It exceeds the 4 anchor ('several specific actions; minor gaps') because no meaningful capability is left vague or generic.

5 / 5

Completeness

Both halves are explicit: the "what" is concrete ("Generates CRUD REST API endpoints with request validation, TypeScript types...") and the "when" is a concrete "Use when building..." clause listing four trigger phrases, matching the 5 anchor exactly. Not 4, because the when-clause is fully explicit rather than merely adequate.

5 / 5

Trigger Term Quality

Triggers "REST API", "CRUD endpoints", "API routes", and "backend endpoints" are natural phrases users would say, giving good keyword coverage. It falls short of 5 because common variations such as framework names (Express, NestJS, FastAPI) or phrases like "build an API" are missing.

4 / 5

Distinctiveness Conflict Risk

The niche (CRUD REST endpoint generation) is clear and mostly distinct, but broad triggers like "REST API" could overlap with related skills such as API testing or OpenAPI spec generation. Minor overlap risk with closely related skills places it at 4 rather than 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/api-endpoint-generator/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.