CtrlK
BlogDocsLog inGet started
Tessl Logo

api-patterns

Creates API route handlers, implements Server Actions with Zod schema validation, and 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).

77

Quality

96%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Discovery

100%

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 well-crafted skill description that clearly articulates specific capabilities (API routes, Server Actions with Zod, REST API integration), provides explicit 'Use when' guidance, and includes natural trigger terms in parentheses. It uses proper third-person voice throughout and is concise without being vague. The description effectively distinguishes itself from other potential skills through technology-specific references.

DimensionReasoningScore

Specificity

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

3 / 3

Completeness

Clearly answers both what ('Creates API route handlers, implements Server Actions with Zod schema validation, integrates external REST APIs with error handling') and when ('Use when adding endpoints, building request handlers, or wiring external services') with explicit trigger terms in parentheses.

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 terms a developer would naturally use.

3 / 3

Distinctiveness Conflict Risk

Clearly scoped to API route handling, Server Actions, and REST API integration with specific technology mentions (Zod, .ts route files). This carves out a distinct niche unlikely to conflict with general coding or frontend skills.

3 / 3

Total

12

/

12

Passed

Implementation

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 skill that provides executable code patterns, clear architectural guidance, and a concrete verification workflow. The content is concise and respects Claude's intelligence throughout. The only minor weakness is that the design rules section is somewhat dense and could benefit from being referenced as a separate file, though it remains readable as-is.

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.

3 / 3

Actionability

All three code patterns (Route Handler, Server Action, external API fetch) are fully executable TypeScript with imports, schemas, and error handling. 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. The architecture table clearly delineates when to use each pattern, preventing misuse.

3 / 3

Progressive Disclosure

There is a reference to project-specific config via `api-config.md`, which is good. However, the design rules section is fairly dense and could be split into a separate reference file. The skill is reasonably organized but the inline density of the design rules section slightly undermines progressive disclosure.

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.