CtrlK
BlogDocsLog inGet started
Tessl Logo

api-documentation-generator

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

39

Quality

37%

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 ./plugins/antigravity-awesome-skills/skills/api-documentation-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

14%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill is a verbose, generic guide to API documentation best practices rather than a focused, actionable skill for Claude. It explains concepts Claude already knows extensively, lacks concrete workflow steps with validation checkpoints, and dumps all content into a single monolithic file. The examples are well-formatted but serve more as templates than as instructions for how to analyze code and generate documentation.

Suggestions

Cut the content by 70%+: remove 'When to Use', 'Common Pitfalls', 'Best Practices' do/don't lists, 'Documentation Structure' recommended sections, 'Related Skills', and 'Additional Resources' — Claude already knows these concepts.

Replace the vague 'How It Works' steps with a concrete workflow: e.g., 'Step 1: List all route files → Step 2: Extract endpoint signatures → Step 3: Generate doc per endpoint using template → Step 4: Validate examples compile/run'.

Move the large examples (REST, GraphQL, Auth, OpenAPI, Postman) into separate bundle files (e.g., EXAMPLES.md, TEMPLATES.md) and reference them from a concise SKILL.md overview.

Add validation checkpoints: e.g., 'After generating docs, verify each example request matches the actual endpoint signature; confirm all listed error codes exist in the codebase'.

DimensionReasoningScore

Conciseness

Extremely verbose at ~350+ lines. Explains concepts Claude already knows (what REST APIs are, what HTTP methods are, what authentication is). The 'When to Use This Skill', 'How It Works' steps, 'Common Pitfalls', 'Best Practices' do/don't lists, and 'Documentation Structure' sections are largely generic knowledge that adds no novel instruction. The examples, while detailed, are templates Claude could generate without being shown.

1 / 3

Actionability

The examples are concrete and well-formatted (REST endpoint docs, GraphQL docs, OpenAPI YAML, Postman JSON), but the skill reads more like a reference document about API documentation than executable instructions for Claude. It describes what documentation should contain rather than providing a clear, actionable process for analyzing code and generating docs. There's no code for actually extracting endpoints from a codebase.

2 / 3

Workflow Clarity

The 5-step 'How It Works' section describes what Claude will do in vague terms ('I'll examine your API codebase', 'I'll create documentation') without concrete commands, validation checkpoints, or feedback loops. There's no verification step to confirm generated docs match actual API behavior, and no process for handling incomplete or ambiguous codebases.

1 / 3

Progressive Disclosure

Monolithic wall of text with no bundle files to offload content to. The massive examples (REST, GraphQL, Auth) and the lengthy best practices, documentation structure, common pitfalls, and tools sections should be split into separate reference files. Everything is inlined in a single enormous document with no clear navigation hierarchy.

1 / 3

Total

5

/

12

Passed

Description

60%Scale 1-3

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 does a good job listing specific capabilities around API documentation generation, making it clear what the skill produces. However, it lacks an explicit 'Use when...' clause, which is critical for Claude to know when to select this skill. Adding trigger guidance and more natural user terms would significantly improve its effectiveness in a multi-skill selection context.

Suggestions

Add an explicit 'Use when...' clause, e.g., 'Use when the user asks to document an API, generate API docs, create endpoint references, or produce developer documentation from source code.'

Include common user-facing trigger term variations such as 'API docs', 'REST API', 'OpenAPI', 'Swagger', 'endpoint documentation', or 'reference docs' to improve matching.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: generating API documentation from code, covering endpoints, parameters, examples, and best practices. These are concrete, identifiable outputs.

3 / 3

Completeness

Clearly answers 'what does this do' (generate API documentation from code with specific elements), but lacks an explicit 'Use when...' clause or equivalent trigger guidance, which caps this at 2 per the rubric.

2 / 3

Trigger Term Quality

Includes relevant terms like 'API documentation', 'endpoints', 'parameters', and 'examples', but misses common user variations like 'API docs', 'REST API', 'Swagger', 'OpenAPI', 'docstrings', or file extensions. Coverage is decent but not comprehensive.

2 / 3

Distinctiveness Conflict Risk

The focus on API documentation from code is fairly specific, but 'documentation' and 'best practices' could overlap with general documentation skills or code review skills. The API focus helps but isn't fully distinct without clearer trigger boundaries.

2 / 3

Total

9

/

12

Passed

Validation

90%

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

Validation — 10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
popey/claude-code-skills
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.