CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

generate-openapi

Use this skill when asked to document API endpoints or update an OpenAPI specification. It requires request, response, and error schemas, prefers annotations alongside controllers unless an ADR selects a separate spec file, and outputs the fragment plus any undocumented endpoints.

Quality

77%

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 ./.cursor/skills/generate-openapi/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

65%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 appropriately brief and well-organized for a small skill, but it reads more like a policy summary than an executable guide: no annotation example or format is given, and the workflow has no validation checkpoint for the generated spec. Strengthening actionability and adding a verification step would lift the two weakest dimensions.

Suggestions

Add a minimal example of the expected annotation/spec fragment (e.g., one swagger-php annotation block or YAML path/schema snippet) so Claude knows the exact output format instead of guessing.

Include a validation step in the Method, such as 'Verify the fragment parses with the project's OpenAPI validator (e.g., swagger-cli validate)' with a fix-and-retry loop, and clarify step 1 as an action (e.g., 'Enumerate public API methods via grep to find undocumented ones').

Trim the redundant 'Role:'/'Trigger:' lines that duplicate the frontmatter description, keeping only the Method section to make the body fully token-efficient.

DimensionReasoningScore

Conciseness

The body is very lean — no concept explanations, no padding — but the "**Role:**" line, the "# Skill: generate-openapi" heading, and the "Trigger:" line all duplicate information already in the frontmatter, so a few tokens could be trimmed. It is above anchor 3 (some unnecessary explanation) because nothing explains concepts Claude doesn't need explained, but short of anchor 5 (every token earns its place) due to that redundant metadata block.

4 / 5

Actionability

Steps 2–4 give some concrete direction ("Document request/response schemas and error responses", "Prefer annotations colocated with controllers", "Output: annotation/spec fragment + list of undocumented endpoints") but no annotation-format example, syntax, or verification command, leaving key details missing. It is above anchor 2 (only high-level hints) because the output contract and colocation rule are specific, but below anchor 4 (mostly executable guidance) because Claude cannot act on this without guessing the annotation format.

3 / 5

Workflow Clarity

A rough 4-step sequence exists, but step 1 is a constraint statement rather than an action, and there are no validation checkpoints (e.g., verifying the fragment parses or the spec validates). It is above anchor 2 (poorly defined steps) because the sequence is coherent with a defined output, but below anchor 4 (most checkpoints present) because no verification step exists at all.

3 / 5

Progressive Disclosure

This is a sub-50-line skill with no bundle files (no references/, scripts/, or assets/ directories exist) and no need for external references; the single well-organized Method section with clear numbered steps satisfies the simple-skill exception. There is nothing inlined that belongs in a separate file, so it matches anchor 5 rather than anchor 4 (which expects minor organization gaps).

5 / 5

Total

15

/

20

Passed

Description

82%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: third-person, concise, with an explicit 'Use when' trigger clause and a well-scoped niche. Its only real weakness is specificity — it names just two actions and undersells the skill's actual coverage (schemas, error responses, undocumented-endpoint auditing).

DimensionReasoningScore

Specificity

"Produce or update OpenAPI annotations/spec fragments for Orbit public APIs" names the domain and two concrete actions (produce, update) but stops there — it omits capabilities the body actually covers (schemas, error responses, endpoint auditing), so coverage is not comprehensive. It is above anchor 2 (domain named, actions minimal/generic) because two distinct actions are stated, but below anchor 4 (several specific actions with minor gaps).

3 / 5

Completeness

The description explicitly answers both: what ("Produce or update OpenAPI annotations/spec fragments for Orbit public APIs") and when ("Use when documenting endpoints or enforcing OpenAPI-first design") with concrete trigger phrases. This mirrors the anchor-5 example's structure of a clear capability statement followed by an explicit 'Use when' clause with specific triggers.

5 / 5

Trigger Term Quality

Natural trigger phrases like "OpenAPI", "annotations", "spec", "documenting endpoints", and "OpenAPI-first design" match what a user would actually say. It falls short of anchor 5 because common synonyms and variations such as "Swagger", "API spec", or "REST API documentation" are missing.

4 / 5

Distinctiveness Conflict Risk

"OpenAPI annotations/spec fragments for Orbit public APIs" carves out a clear niche with a distinct, specific trigger term (OpenAPI) unlikely to fire for unrelated skills. It is not anchor 4 because the scoping to OpenAPI and Orbit public APIs leaves only minimal, not minor-material, overlap risk.

5 / 5

Total

17

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository

chandrakanthbalaraman/spring-boot-microservices

Path

.cursor/skills/generate-openapi/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.