CtrlK
BlogDocsLog inGet started
Tessl Logo

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

62

Quality

73%

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 ./skills/api-and-interface-design/SKILL.md

The canonical home for this skill is api-and-interface-design in addyosmani/agent-skills

SKILL.md
Quality
Evals
Security

Quality

Content

64%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 is a solid, actionable API design skill with excellent concrete examples and good coverage of important patterns. Its main weaknesses are moderate verbosity (explaining concepts Claude likely knows, like HTTP status codes and REST conventions) and a lack of sequential workflow structure — it reads more like a reference guide than a step-by-step process. The content would benefit from splitting into a concise overview with references to detailed pattern files.

Suggestions

Trim explanations of concepts Claude already knows well (HTTP status code meanings, what PATCH vs PUT does, basic REST conventions) to reduce token usage by ~30%.

Add a brief sequential workflow at the top: 1. Define contract types → 2. Design resource URLs → 3. Define error format → 4. Add validation at boundaries → 5. Run verification checklist.

Split REST API Patterns and TypeScript Interface Patterns into separate referenced files to improve progressive disclosure and reduce the main file's length.

DimensionReasoningScore

Conciseness

The skill is generally well-structured but includes some content Claude already knows (e.g., HTTP status code meanings, basic REST conventions, what PATCH vs PUT means). The 'Common Rationalizations' table, while useful, adds bulk. The Hyrum's Law explanation is somewhat verbose. However, the code examples are tight and the tables are efficient.

2 / 3

Actionability

The skill provides fully executable TypeScript code examples throughout — contract-first interface definitions, validation at boundaries with real Zod-style parsing, discriminated unions, branded types, and concrete REST endpoint patterns. All examples are copy-paste ready and specific.

3 / 3

Workflow Clarity

The verification checklist at the end provides a good summary checkpoint, but the skill lacks a clear sequential workflow for designing an API. The principles are presented as independent sections rather than a sequenced process. For a design-oriented skill this is partially acceptable, but there's no explicit 'do this, then validate, then proceed' flow.

2 / 3

Progressive Disclosure

The content is well-organized with clear headers and sections, but it's a long monolithic document (~200 lines of substantive content) that could benefit from splitting REST patterns, TypeScript patterns, and core principles into separate referenced files. The one reference to 'deprecation-and-migration' suggests awareness of progressive disclosure but the main file carries too much inline detail.

2 / 3

Total

9

/

12

Passed

Description

82%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.

This is a solid description with strong trigger term coverage and good completeness thanks to explicit 'Use when' clauses. Its main weakness is that the capability statement ('Guides stable API and interface design') is somewhat vague—it doesn't list specific concrete actions the skill performs (e.g., 'defines endpoint schemas, validates contract compatibility, generates API documentation'). There is also moderate overlap risk with general architecture or code organization skills.

Suggestions

Replace the vague 'Guides stable API and interface design' with specific concrete actions, e.g., 'Defines endpoint schemas, establishes versioning strategies, validates type contracts, and structures module boundaries.'

Add distinguishing terms to reduce conflict risk with general architecture skills, e.g., mention specific outputs like 'API specifications', 'interface contracts', or 'endpoint documentation'.

DimensionReasoningScore

Specificity

The description names the domain (API and interface design) and mentions some specific areas like REST/GraphQL endpoints, type contracts, and module boundaries, but it focuses more on when to use it rather than listing concrete actions the skill performs. 'Guides stable API and interface design' is somewhat vague as a capability statement.

2 / 3

Completeness

Clearly answers both what ('Guides stable API and interface design') and when ('Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend'). Explicit 'Use when' clauses are present.

3 / 3

Trigger Term Quality

Good coverage of natural terms users would say: 'APIs', 'REST', 'GraphQL', 'endpoints', 'type contracts', 'module boundaries', 'frontend and backend', 'public interface'. These are terms developers would naturally use when seeking API design guidance.

3 / 3

Distinctiveness Conflict Risk

While it specifies API and interface design, terms like 'module boundaries' and 'type contracts' could overlap with general architecture or code organization skills. The REST/GraphQL specificity helps, but 'interface design' is broad enough to potentially conflict with UI/UX design skills.

2 / 3

Total

10

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
finlay611/agent-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.