General

add-function-examples - Claude MCP Skill

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

SEO Guide: Enhance your AI agent with the add-function-examples tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to guide for adding new ai function examples, for testing specific features against the actual provider... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟298 stars • 4367 forks
📥0 downloads

Documentation

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.

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
vercel/ai
Author
vercel
Last Sync
5/10/2026
Repo Updated
5/10/2026
Created
4/3/2026

Reviews (0)

No reviews yet. Be the first to review this skill!