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

1.11x
Quality

62%

Does it follow best practices?

Impact

99%

1.11x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/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 body presents a clear multi-step workflow and genuinely concrete output templates, but it is heavily padded with generic API-documentation best practices Claude already knows and inlines ~220 lines of examples that belong in separate reference files. Adding a verification step and cutting the generic guidance would substantially improve it.

Suggestions

Cut or drastically compress the Best Practices, Documentation Structure, and Common Pitfalls sections — this is knowledge Claude already has and consumes context without adding value.

Move the full example documentation templates (REST endpoint, GraphQL, auth) into a references/EXAMPLES.md file and reference it one level deep, keeping only one short exemplar inline.

Add an explicit validation step to the workflow, e.g. 'Step 6: Verify — cross-check every documented endpoint, parameter, and example against the actual code, and test that all example requests are syntactically valid.'

DimensionReasoningScore

Conciseness

Large portions restate knowledge Claude already has — the Best Practices do/don't lists, the generic recommended Documentation Structure sections, and the Common Pitfalls (~170 lines) — while the ~220-line Examples block, though concrete, pads the file well past what the overview needs. Not score 1 because the examples do establish a non-obvious output format; not score 3 because multiple whole sections add nothing Claude doesn't know.

2 / 5

Actionability

For an instruction-only generation skill, it supplies concrete, copy-ready output templates: complete markdown endpoint docs with cURL/JavaScript/Python examples, GraphQL query/response formats, and OpenAPI YAML and Postman JSON skeletons. Minor gaps: it never says where to write output or how to handle undocumented codebases' missing details, keeping it below the fully-executable 5 anchor.

4 / 5

Workflow Clarity

The five steps (analyze API structure → generate endpoint docs → usage guidelines → error handling → interactive examples) form a clear sequence, but there is no validation or verification checkpoint (e.g., 'verify documented endpoints against actual routes and test all code examples' appears only as an implicit best-practice bullet). Checkpoints are missing rather than mostly present, so below the 4 anchor.

3 / 5

Progressive Disclosure

Sections are well-organized and easy to scan, but there are no bundle files at all and ~220 lines of examples/templates are inlined in SKILL.md — content that clearly belongs in a separate references/ file — matching the 'content that should be separate is inline' anchor. Not score 2 because the section structure provides real navigation; not score 4 because the bulk templates were never split out.

3 / 5

Total

12

/

20

Passed

Description

58%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 clearly states what the skill produces with a specific list of deliverables, but it omits any 'when to use' trigger guidance and lacks common natural trigger terms like OpenAPI, Swagger, or REST. It is distinct from general writing skills yet would benefit from explicit trigger phrases.

Suggestions

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

Include natural trigger synonyms users would say — 'OpenAPI', 'Swagger', 'REST', 'GraphQL', 'document my API' — to raise trigger term coverage.

Split the single 'Generate...' action into a couple of distinct concrete actions (e.g., 'generate endpoint docs and produce OpenAPI/Swagger specs') for fuller capability coverage.

DimensionReasoningScore

Specificity

The description lists several concrete deliverables — 'endpoints, parameters, examples, and best practices' — beyond naming the domain, though it centers on a single action ('Generate... API documentation from code') rather than multiple distinct actions, keeping it below the comprehensive 5 anchor.

4 / 5

Completeness

The 'what' is clear ('Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices') but the description contains no 'Use when...' clause or equivalent trigger guidance, which caps completeness at 3 per the judging guidelines.

3 / 5

Trigger Term Quality

'API documentation' and 'endpoints' are natural user phrases, but common variations users actually say — 'OpenAPI', 'Swagger', 'REST docs', 'document my API' — are missing, matching the 'some relevant keywords but missing common variations or synonyms' anchor.

3 / 5

Distinctiveness Conflict Risk

The API-documentation niche is distinct with endpoint/parameter triggers that wouldn't fire for unrelated skills; only minor overlap risk exists with general writing skills like copywriting or doc-coauthoring.

4 / 5

Total

14

/

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

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills/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.