CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

generate-rest-api

This skill applies when a user asks to design or generate a REST API. It prioritizes defining resources and status codes before implementation details, aligning versioning with the API contracts file, and recording stable contract shapes. Its expected output is an endpoint table, error shapes, and a suggested path for an OpenAPI sketch.

Quality

71%

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-rest-api/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.

A concise, well-structured procedure that respects the token budget and organizes its small scope appropriately. It falls short on actionability and workflow rigor: no output templates or examples, and no validation step to check the designed surface (error coverage, versioning consistency) before delivering.

Suggestions

Add a minimal template for the deliverables — e.g., one example endpoint-table row and one error-shape JSON envelope — so the output format is unambiguous.

Add an explicit validation step before output, such as "Verify every resource has documented error responses and its versioning matches /.claude/memory/api-contracts.md".

Trim the duplicated Role and title lines, which repeat the frontmatter's name and role fields without adding guidance.

DimensionReasoningScore

Conciseness

The body is very lean and assumes Claude's competence — no concept explanations, just a 5-step method with named artifacts. It is not a 5 because the "**Role:** Skill — REST API design procedure" line and "# Skill: generate-rest-api" heading duplicate information already in the frontmatter and could be trimmed.

4 / 5

Actionability

Guidance names concrete deliverables ("endpoint table + error shapes + OpenAPI sketch path suggestion") and a concrete file to align with (/.claude/memory/api-contracts.md), but gives no example or template of the output — what an endpoint table row looks like, or the shape of an error envelope. It exceeds the vague-hints 2 anchor but lacks the concrete, executable detail of a 4.

3 / 5

Workflow Clarity

The five numbered steps form a clear, ordered sequence (define → align versioning → separate concerns → update notes → output), matching the 3 anchor of steps listed with validation gaps. No explicit validation checkpoints exist (e.g., verify every resource has error responses or that versioning matches api-contracts.md before output); the design-only nature avoids the destructive/batch cap, but the absence of any checkpoint keeps it below 4.

3 / 5

Progressive Disclosure

The skill is under 50 lines, has no bundle files, and needs none — all guidance fits inline in a single well-organized "## Method" section with the one external dependency (api-contracts.md) clearly signaled by path. Per the simple-skill guideline, this earns a 5 on well-organized sections alone.

5 / 5

Total

15

/

20

Passed

Description

67%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 clear what/when structure and a distinct, well-scoped niche. Its main weaknesses are thin trigger-term variation (only REST API / HTTP API phrasings) and a single trigger condition where more concrete user phrasings would strengthen it.

Suggestions

Broaden trigger terms to include natural variations users would say, e.g. "endpoints", "API spec", or "OpenAPI/Swagger", in the 'Use when' clause.

Mention the concrete deliverables (endpoint table, error shapes, OpenAPI sketch) in the description itself to sharpen the 'what' and push specificity and completeness toward the top anchors.

DimensionReasoningScore

Specificity

The description lists several concrete facets of the work — "resources, verbs, errors, versioning" — going beyond naming the domain, but coverage is not comprehensive (no mention of deliverables like endpoint tables or OpenAPI output). It clearly exceeds the 3 anchor (only 1-2 concrete actions) yet falls short of the 5 anchor's full coverage.

4 / 5

Completeness

It answers both questions: the "what" is "Design and sketch a REST API surface (resources, verbs, errors, versioning)" and the "when" is an explicit "Use when defining or changing external/internal HTTP APIs" clause. It falls short of a 5 because the trigger clause is a single condition without the concrete, varied trigger phrases seen in the 5 anchor.

4 / 5

Trigger Term Quality

"REST API" and "external/internal HTTP APIs" are relevant natural keywords, but the description is essentially two phrasings of one concept and misses common variations users would say such as "endpoints", "API spec", "OpenAPI", or "Swagger". This sits above the single-keyword 3 anchor example but does not reach the good multi-term coverage of the 4 anchor.

3 / 5

Distinctiveness Conflict Risk

REST API surface design scoped to "Orbit" is a clear niche with distinct triggers, giving minimal conflict with unrelated skills. It is not a 5 because it could still overlap with closely related skills like general backend development or OpenAPI/spec-generation skills.

4 / 5

Total

15

/

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-rest-api/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.