CtrlK
BlogDocsLog inGet started
Tessl Logo

api-patterns

Creates API route handlers, implements Server Actions with Zod schema validation, integrates external REST APIs with error handling. Use when adding endpoints, building request handlers, or wiring external services (endpoint, REST API, request handling, fetch, .ts route files).

75

Quality

92%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

92%

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

This is a strong, well-structured API patterns skill that provides executable code examples, clear architectural guidance, and a concrete workflow with verification. The content is concise and respects Claude's intelligence throughout. The only minor weakness is that the design rules section packs many conventions inline that could benefit from references to deeper documentation for complex topics like pagination and caching strategies.

DimensionReasoningScore

Conciseness

The content is lean and efficient. It uses tables for architecture decisions, provides executable code without explaining what Next.js or Zod are, and the design rules are terse bullet points. Every section earns its place with no unnecessary preamble.

3 / 3

Actionability

All three code patterns (Route Handler, external API fetch with retry, Server Action) are fully executable TypeScript with imports and proper structure. The workflow includes a concrete curl smoke test command. Design rules specify exact response shapes and status codes.

3 / 3

Workflow Clarity

The Quick Workflow section provides a clear 5-step sequence from file creation through validation to verification, including an explicit smoke test step with a concrete bash command. The validation-first approach (Zod at top of handler) and error handling patterns serve as built-in checkpoints.

3 / 3

Progressive Disclosure

There is a reference to an external config file (api-config.md) and the content is well-sectioned with clear headers. However, the design rules section is fairly dense and could potentially be split out, and there are no other referenced files for advanced topics like pagination implementation or rate limiting details.

2 / 3

Total

11

/

12

Passed

Description

92%

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 strong skill description that clearly articulates specific capabilities (API routes, Server Actions, Zod validation, REST integration) and provides explicit trigger guidance with a 'Use when...' clause and parenthetical keywords. The only minor weakness is potential overlap with adjacent skills covering TypeScript, Next.js, or general backend development, though the focus on route handlers and external API integration provides reasonable distinctiveness.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'Creates API route handlers', 'implements Server Actions with Zod schema validation', 'integrates external REST APIs with error handling'. These are distinct, concrete capabilities.

3 / 3

Completeness

Clearly answers both 'what' (creates route handlers, implements Server Actions with Zod validation, integrates REST APIs) and 'when' with an explicit 'Use when...' clause listing trigger scenarios and parenthetical keywords.

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'endpoint', 'REST API', 'request handling', 'fetch', '.ts route files', 'endpoints', 'request handlers', 'external services'. Good coverage of common variations.

3 / 3

Distinctiveness Conflict Risk

While it targets API/route handling specifically, terms like 'fetch', 'request handling', and '.ts route files' could overlap with general TypeScript or backend skills. The Zod validation and Server Actions specificity helps but doesn't fully eliminate overlap with form validation or general Next.js skills.

2 / 3

Total

11

/

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
monkilabs/opencastle
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.