CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

api-patterns

Conventions for HTTP endpoints, server actions and calls to external APIs: the contract, input validation, error shapes, status codes, versioning, pagination, retries and caching. Use when adding or changing an endpoint or server action, or wiring an external API.

71

Quality

89%

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

SKILL.md
Quality
Evals
Security

Quality

Content

86%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 tight, high-signal conventions skill: project-specific rules only, concrete examples where they matter (error shape, status codes, curl check), and a clean section structure. The residual gaps are small — an unspecified rate-limiting mechanism and implicit rather than explicit mid-workflow checkpoints.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — it never explains what Zod, Pydantic, status codes, or ETags are, and the one rationale line ("Writing the handler first is how inconsistent APIs happen") earns its place by justifying the contract-first rule. Every token adds project-specific guidance.

5 / 5

Actionability

Mostly executable guidance: a copy-paste-ready error-shape JSON example, an enumerated status-code list, a concrete retry limit ("at most twice, with backoff"), and a specific smoke-test command ("curl -fsS"). Minor gaps keep it below 5 — "Rate-limit public endpoints" names no mechanism and no example shows the validation-error details payload.

4 / 5

Workflow Clarity

A clear sequence is present ("Decide the request, the response, the status codes and the error cases before you write the handler") with an explicit final validation checkpoint ("Smoke-test a new endpoint against the dev server with curl -fsS before you call it done"). Intermediate checkpoints are only implicit, matching the anchor with minor validation gaps rather than the explicit validate-fix-retry loop of the top anchor.

4 / 5

Progressive Disclosure

The skill is under 50 lines with no bundle files and no need for external references, and its four well-organized sections (Contract first, Writes and side effects, External APIs, Limits and caching) make navigation trivial; the one path mentioned (.opencastle/stack/api-config.md) is a project pointer, not a nested reference.

5 / 5

Total

18

/

20

Passed

Description

87%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: it is written in third person, states a comprehensive what with an explicit 'Use when' trigger clause, and uses natural vocabulary a user would say when needing this skill. The only shortfall is that coverage is expressed as topic nouns rather than concrete actions, leaving a couple of body-covered areas unmentioned.

DimensionReasoningScore

Specificity

Enumerates seven concrete coverage areas ("the contract, input validation, error shapes, status codes, versioning, pagination, retries and caching"), matching the several-specific-actions anchor; not 5 because these are topic nouns rather than concrete actions and body-covered areas like idempotency and authorization are unnamed.

4 / 5

Completeness

Explicitly answers both questions: a full "what" ("Conventions for HTTP endpoints, server actions and calls to external APIs: the contract, input validation...") and a concrete "when" ("Use when adding or changing an endpoint or server action, or wiring an external API"), matching the top anchor exactly.

5 / 5

Trigger Term Quality

Natural user phrasings like "adding or changing an endpoint", "server action", and "wiring an external API" give good keyword coverage; common synonyms such as "route", "REST", or "integration" are missing, so it falls just short of comprehensive.

4 / 5

Distinctiveness Conflict Risk

It carves a clear niche (this project's API conventions) with distinct, specific triggers ("server action", "wiring an external API") that no generic skill would claim, giving minimal conflict risk.

5 / 5

Total

18

/

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

monkilabs/opencastle

Path

src/orchestrator/skills/api-patterns/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.