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.
79
70%
Does it follow best practices?
Impact
100%
1.40xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/develop-ai-functions-example/SKILL.mdBasic example file conventions
Directory placement
100%
100%
File naming pattern
0%
100%
run() wrapper used
100%
100%
Provider import source
100%
100%
generateText import
100%
100%
run import path
100%
100%
Logs result.text
100%
100%
Logs result.usage
100%
100%
Logs result.finishReason
100%
100%
Realistic model ID
100%
100%
Streaming template and tool reuse
Directory placement
0%
100%
File naming pattern
0%
100%
run() wrapper used
0%
100%
run import path
0%
100%
printFullStream imported
0%
100%
printFullStream used
0%
100%
tool() from ai
100%
100%
z.object inputSchema
100%
100%
Reuses weather tool
0%
100%
streamText not awaited
100%
100%
Structured output template
Directory placement
100%
100%
File naming pattern
50%
100%
run() wrapper used
100%
100%
run import path
100%
100%
generateObject imported from ai
100%
100%
schema uses z.object()
100%
100%
z imported from zod
100%
100%
Logs result.object
100%
100%
Logs result.usage
100%
100%
Provider import source
100%
100%
Table of Contents
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.