CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

add-function-examples

Guide for adding new AI function examples, for testing specific features against the actual provider APIs.

Quality

72%

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/add-function-examples/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

82%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 lean, highly actionable instruction-only skill: concrete paths, naming conventions, and a verification command with a fix loop. Main gaps are the absence of a model example file and slightly flat internal organization.

DimensionReasoningScore

Conciseness

The ~19-line body is dense with repo-specific facts ("examples/ai-functions/src/<function>/<provider>/", "Never commit reproduction-only files") with zero padding and no explanation of concepts Claude already knows. Every token earns its place.

5 / 5

Actionability

Concrete paths ("examples/ai-functions/src/stream-text/openai/tool-call.ts"), naming rules ("basic.ts", kebab-case), and a runnable command ("pnpm type-check") make the guidance mostly executable. Minor gap: no sample example-file content modeling what a new example should look like inside.

4 / 5

Workflow Clarity

A clear sequence is present (review branch → place example → pick function variants → run "pnpm type-check" → "fix any errors encountered") with an explicit validate-and-fix checkpoint. The checkpoint is terminal-only and the bug-repro paragraph interrupts the main flow, keeping it below a 5.

4 / 5

Progressive Disclosure

No bundle files exist and the single-purpose skill stays under 50 lines, with external pointers (AGENTS.md, .github/pull_request_template.md) one level deep and clearly signaled. A single flat section leaves placement, naming, and verification steps unlabeled — a minor organization gap.

4 / 5

Total

17

/

20

Passed

Description

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

The description communicates a clear, distinct purpose but reads as a domain label rather than a trigger-optimized description: one concrete action, no explicit "Use when..." guidance, and thin natural keyword coverage. It would rarely fire at the right moment on its own.

Suggestions

Add an explicit trigger clause, e.g. "Use when adding or updating examples in examples/ai-functions, or when a change needs verification against a real provider API."

List the concrete actions covered — adding examples, choosing generateText/streamText variants, naming and placing files, and type-checking — to lift specificity beyond a single action.

Include natural synonyms users would actually say, such as "ai-functions", "example file", and "provider repro", to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

"adding new AI function examples" is one concrete action, and "for testing specific features against the actual provider APIs" states purpose rather than additional actions — domain plus 1–2 actions, not comprehensive. It does not list several distinct actions (4) but is concrete, not generic (2).

3 / 5

Completeness

The "what" is clear ("Guide for adding new AI function examples"), but there is no "Use when..." trigger clause — the "for testing..." phrase only weakly implies when, capping completeness at 3 per the rubric guideline. Not a 4 since the "when" is not explicit; not a 2 since the "what" is concrete.

3 / 5

Trigger Term Quality

Terms like "function examples", "testing", and "provider APIs" are relevant, but natural variations a user would say ("add an example", "ai-functions", "repro example") are missing. Keywords are on-domain rather than generic, so above a 2 but short of good coverage (4).

3 / 5

Distinctiveness Conflict Risk

The niche — provider-API function examples in an AI SDK repository — is mostly distinct with only minor overlap risk against general testing-skills. It lacks the explicit distinct trigger phrases of a 5 and is too specific for the broad overlap of a 3.

4 / 5

Total

13

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 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

relative_links

Relative link issues: 1 suspicious

Warning

Total

13

/

16

Passed

Repository

vercel/ai

Path

skills/add-function-examples/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.