CtrlK
BlogDocsLog inGet started
Tessl Logo

develop-ai-functions-example

Develop examples for AI SDK functions. Use when creating, running, or modifying examples under examples/ai-functions/src to validate provider support, demonstrate features, or create test fixtures.

88

1.40x
Quality

Does it follow best practices?

Impact

100%

1.40x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

85%

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

The content is highly actionable with executable templates and clear workflow guidance, and is well-organized for a self-contained skill. The main weakness is mild redundancy across the four near-identical example templates.

Suggestions

Consolidate the four overlapping code templates into one canonical example plus brief deltas for streaming, tool-calling, and structured output to reduce token redundancy.

If more detail grows, split the category/utility tables into a reference file and link to it from a concise overview to preserve progressive-disclosure benefits.

DimensionReasoningScore

Conciseness

The body is well-organized with lean tables and avoids explaining concepts Claude already knows, but four near-identical code templates with repeated boilerplate add redundancy that could be tightened.

2 / 3

Actionability

It provides fully executable TypeScript templates, concrete run commands ('pnpm tsx src/generate-text/openai.ts'), real file references, and copy-paste-ready naming patterns.

3 / 3

Workflow Clarity

'When to Write Examples' and 'Running Examples' give a clear, unambiguous sequence for this low-risk single-task workflow with no destructive steps requiring validation checkpoints.

3 / 3

Progressive Disclosure

With no bundle files present, the content is appropriately organized into clear sections and tables with inline references to real repo paths, which suffices for a self-contained skill.

3 / 3

Total

11

/

12

Passed

Description

85%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, complete with an explicit 'Use when' trigger, and clearly scoped to a distinct niche. It is held back only slightly by trigger terms that lean technical rather than reflecting common phrasings a user would naturally say.

Suggestions

Add more natural-language trigger terms (e.g., 'testing AI providers', 'adding example scripts') alongside the directory path so it matches how users phrase requests.

Consider trimming the path-specific framing ('examples/ai-functions/src') in favor of task-oriented wording to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'creating, running, or modifying examples' and 'validate provider support, demonstrate features, or create test fixtures' — rather than vague language.

3 / 3

Completeness

It clearly states what ('Develop examples for AI SDK functions') and when ('Use when creating, running, or modifying examples under examples/ai-functions/src to validate provider support, demonstrate features, or create test fixtures').

3 / 3

Trigger Term Quality

It includes relevant natural terms like 'examples', 'test fixtures', and 'validate provider support', but leans on technical/path framing ('examples/ai-functions/src') and misses some common user variations.

2 / 3

Distinctiveness Conflict Risk

The skill is scoped to a specific directory and AI SDK functions, giving it a clear niche unlikely to trigger for unrelated skills.

3 / 3

Total

11

/

12

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.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

Total

14

/

16

Passed

Repository
vercel/ai
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.