CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-documentation-generator

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

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 ./skills/api-documentation-generator/SKILL.md

The canonical home for this skill is api-documentation-generator in sickn33/agentic-awesome-skills

SKILL.md
Quality
Evals
Security

Quality

Content

50%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 skill's core value — concrete output templates showing exactly what generated API docs should look like — is strong and executable. But roughly half the file teaches generic API-documentation best practices Claude already knows, and the workflow lacks any verification checkpoints to keep generated docs in sync with the code. Splitting examples and best-practice catalogs into reference files would improve both conciseness and progressive disclosure.

Suggestions

Cut or drastically trim the 'Best Practices', 'Common Pitfalls', and 'Documentation Structure' sections — this is API-doc knowledge Claude already has — and keep only the output templates and skill-specific conventions.

Add validation checkpoints to the workflow, e.g. after generating docs: cross-check every documented endpoint, parameter, and error code against the actual codebase, and execute the generated example requests before finalizing.

Move the three large example blocks into an examples/ reference file (e.g. EXAMPLES.md) and link them from SKILL.md, keeping the main file as a lean overview of the process.

DimensionReasoningScore

Conciseness

The ~485-line body contains several sections that restate knowledge Claude already has — 'Best Practices' do/don't lists ('Don't Use Vague Descriptions', 'Include Examples'), 'Common Pitfalls' solutions, and a generic 9-section 'Documentation Structure' catalog. This goes beyond 'some unnecessary explanation' (anchor 3) into noticeably verbose padded sections (anchor 2), though the examples section itself earns its tokens as an output template.

2 / 5

Actionability

The three example blocks (REST endpoint, GraphQL query, authentication) are complete, executable output templates with working cURL/JavaScript/Python code and realistic data, giving mostly copy-paste-ready guidance. It falls short of 5 because Step 1 ('examine your API codebase') and the analysis process lack any concrete method or commands for extracting endpoints from an actual codebase.

4 / 5

Workflow Clarity

The five steps (analyze structure, generate endpoint docs, add guidelines, document errors, create interactive examples) form a clear, coherent sequence. However, there are no validation checkpoints anywhere — no step to verify examples execute, cross-check generated docs against the actual code, or confirm error codes match the implementation — matching anchor 3's 'sequence present but checkpoints missing or implicit'.

3 / 5

Progressive Disclosure

The body has well-organized section headers, but the skill ships as a single monolithic 485-line file with no bundle files, while containing content that clearly belongs in separate references — the three large example blocks belong in an EXAMPLES.md, and the best-practices/pitfalls catalogs in a reference file. This matches anchor 3: good structure but content that should be separate is inlined; it is above anchor 2 because headers make it navigable.

3 / 5

Total

12

/

20

Passed

Description

66%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 solid description with a concrete, specific 'what' and good natural trigger terms, but it entirely lacks a 'when to use' clause. Adding an explicit 'Use when...' trigger sentence and API-specific synonyms (OpenAPI, Swagger) would raise both completeness and trigger coverage.

Suggestions

Add an explicit trigger clause, e.g. 'Use when documenting a new or existing API, or when the user mentions API docs, OpenAPI, or Swagger specifications.'

Include common synonyms and formats users actually say — 'OpenAPI', 'Swagger', 'API reference' — to broaden natural trigger coverage.

Trim soft qualifiers like 'comprehensive, developer-friendly' in favor of one or two more concrete actions (e.g. 'analyze routes and generate endpoint reference docs').

DimensionReasoningScore

Specificity

The description names the domain ('API documentation') and lists several concrete content items — 'endpoints, parameters, examples, and best practices' — matching the anchor for several specific actions with minor gaps. It falls short of 5 because it names only one action ('Generate') with the rest being content categories rather than multiple distinct operations.

4 / 5

Completeness

The 'what' is clearly stated ('Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices') but there is no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not a 2 because the 'what' is specific and detailed rather than vague.

3 / 5

Trigger Term Quality

Natural keywords like 'API documentation', 'endpoints', 'parameters', and 'best practices' give good coverage of what users would say. It misses a few natural synonyms users commonly use, such as 'Swagger', 'OpenAPI', or 'API docs', so it does not reach comprehensive synonym-level coverage.

4 / 5

Distinctiveness Conflict Risk

'API documentation from code' carves out a mostly distinct niche with low conflict risk against unrelated skills. There is minor overlap with general technical-writing or documentation skills since the description does not distinguish API-specific triggers like 'Swagger' or 'OpenAPI'.

4 / 5

Total

15

/

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

agent-skills-hub/agent-skills-hub

Path

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