All skills
anil-matcha avatar

/add-function-examples

@2c6c74d

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

  • 1 file
  • 935 B
  • Updated 6 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/anil-matcha/ai/add-function-examples

This session only. Nothing lands on disk.

SKILL.md

≈32 tokens always: the name and description. ≈188 when used: this file.

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.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at 2c6c74d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Steadyupdated 6 months ago
metadata
{
  "internal": true
}

README badge

README badge for anil-matcha/ai/add-function-examples