add-function-examples

v2026.09.24

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

GitHub
安装命令
npx skhub add vercel-labs/add-function-examples
Markdown
SKILL.md

Adding Function Examples

Review the changes in the current branch, and identify new or modified features or bug fixes that would benefit from having an example in the examples/ai-functions directory. These examples are used for testing specific features against the actual provider APIs, and can also serve as documentation for users.

Determine for which kind of model and top-level function the example should be added. For a language model, the example should be added in two variants, one for generateText and one for streamText. For any other models kinds, add the example for the relevant top-level function (e.g. generateImage, generateSpeech).

After creating the example, run pnpm type-check:full; fix any errors encountered.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

NOASSERTION

源路径

skills/add-function-examples

默认分支

main

最新提交

be877ff

Tree SHA

8029c38