CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-docs-generator

This guide covers an API-documentation workflow and provides extensive OpenAPI examples for endpoints, schemas, parameters, responses, and security. It also shows Express and FastAPI integrations, interactive documentation with Swagger UI, Redoc, and Stoplight Elements, SDK generation, and Spectral validation.

Quality

82%

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

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 highly actionable with complete, executable code for every major integration path, but it suffers from severe token bloat: hundreds of lines of OpenAPI boilerplate Claude already knows, and no progressive disclosure — everything is inlined in one large file. The workflow sequence also lacks integrated validation checkpoints.

Suggestions

Move the full OpenAPI spec templates (path definitions, component schemas, security schemes) into a references/ file (e.g. references/spec-template.yaml) and keep only a compact skeleton in SKILL.md, since Claude can already write OpenAPI 3.1 boilerplate.

Split the Express, FastAPI, Redoc/Stoplight, and SDK-generation sections into per-topic reference files linked from a short overview, so SKILL.md stays under ~150 lines.

Integrate validation into the Core Workflow as an explicit checkpoint (e.g. step 5: 'Validate: npx @stoplight/spectral-cli lint openapi.yaml — fix errors before deploying docs') instead of leaving Spectral in a disconnected section.

DimensionReasoningScore

Conciseness

Roughly 400 lines are full OpenAPI boilerplate (complete CRUD path definitions, User/Error/Pagination schemas, response and security component templates) that Claude already knows, e.g. the entire 'OpenAPI Specification Structure' and 'Component Schemas' sections. The genuinely non-obvious material (zod-to-openapi registry usage, FastAPI custom_openapi, openapitools.json config) is diluted by this padding, fitting 'noticeably verbose; several unnecessary explanations or padded sections' rather than the severe wall-of-basics of a 1.

2 / 5

Actionability

The guidance is fully executable and copy-paste ready: concrete `openapi-generator-cli generate` commands with flags, `npx @stoplight/spectral-cli lint openapi.yaml`, complete working TypeScript (swagger-ui-express setup, OpenAPIRegistry usage) and Python (FastAPI models and routes) covering the common integration cases. Not below 5 because no pseudocode or missing key details were found.

5 / 5

Workflow Clarity

The 6-step 'Core Workflow' is a clear sequence but steps are high-level with no commands attached (e.g. "Analyze API endpoints: Review routes, methods, parameters"), and validation exists only as a separate later 'Validation' section rather than an explicit checkpoint in the sequence — matching 'steps listed but validation gaps; checkpoints missing or implicit'. Not a 4 because the Spectral linting step is never wired into the workflow as a verify-before-deploy gate.

3 / 5

Progressive Disclosure

Section headers provide reasonable structure, but the file is a ~940-line monolith with no bundle files: full spec templates, three framework integrations, SDK config, and linting rules are all inlined where they belong in separate reference files — matching 'some structure but content that should be separate is inline'. Not a 2 because navigation via headers is genuinely clear, and not a 4 because nothing is split out at all.

3 / 5

Total

13

/

20

Passed

Description

100%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 is exemplary: it states concrete capabilities in third person and provides an explicit 'Use when' clause with five natural trigger phrases. It closely follows the strongest reference example patterns with no fluff or over-claims.

DimensionReasoningScore

Specificity

"Generates API documentation using OpenAPI/Swagger specifications with interactive documentation, code examples, and SDK generation" lists multiple concrete actions (spec-based doc generation, interactive docs, code examples, SDK generation) with comprehensive coverage of the domain, matching the top anchor rather than the 'minor gaps' of a 4. Uses proper third-person voice.

5 / 5

Completeness

The first sentence explicitly answers 'what' and "Use when users request ..." explicitly answers 'when' with concrete quoted trigger phrases, exactly matching the 5 anchor pattern.

5 / 5

Trigger Term Quality

"API documentation", "OpenAPI spec", "Swagger docs", "document API endpoints", "generate API reference" are all natural phrases a user would say, covering synonyms and common request variants comparable to the 5 anchor's breadth.

5 / 5

Distinctiveness Conflict Risk

The OpenAPI/Swagger documentation niche is clearly defined with distinct trigger terms ("OpenAPI spec", "Swagger docs") that would not fire for unrelated document or writing skills, so conflict risk is minimal.

5 / 5

Total

20

/

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

skill_md_line_count

SKILL.md is long (947 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

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