CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

use-ai-sdk

The skill directs developers to verify AI SDK APIs against the installed package’s documentation and source, or the AI SDK website when local references are unavailable. It covers package setup, model discovery through the AI Gateway, framework-specific agent integration, type safety, and troubleshooting deprecated APIs and type errors. It also recommends minimal configuration and running a typecheck after changes.

Quality

84%

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

SKILL.md
Quality
Evals
Security

Quality

Content

85%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 skill body built around a verify-against-current-docs philosophy, with strong validation and error-recovery workflow and well-structured one-level-deep references. The only weaknesses are mild repetition of the documentation-search instructions and slightly vague framework-consumption steps.

Suggestions

Deduplicate the doc-search instructions between "Finding Documentation" and "When Typecheck Fails" — the typecheck section could simply point back to the Finding Documentation section.

Make the framework-consumption steps concrete, e.g., name which quickstart guides or doc paths to search for common stacks (Next.js, Nuxt, React) instead of "Search documentation for the framework's quickstart guide".

DimensionReasoningScore

Conciseness

The body is directive with no concept explanations and assumes competence ("Everything you know about the AI SDK is outdated or wrong"), but the local-search instructions are repeated across "Finding Documentation" and "When Typecheck Fails", and numbered item 1 ("Ensure `ai` package is installed (see Prerequisites)") restates the Prerequisites section. Efficient with minor trimmable repetition — anchor 4, not the fully lean anchor 5.

4 / 5

Actionability

Provides copy-paste-ready, executable commands: `grep "query" node_modules/ai/docs/`, the full `curl ... | jq` model-ID pipeline, the search URL `https://ai-sdk.dev/api/search-docs?q=your_query`, and `pnpm add ai`. However, "Search documentation for the framework's quickstart guide" and "Follow the framework-specific patterns for streaming, API routes, and client integration" are high-level directions without specifics — concrete commands with minor gaps, anchor 4.

4 / 5

Workflow Clarity

Workflows are clearly sequenced with an explicit validation checkpoint ("Run typecheck after changes to ensure code correct"), a dedicated error-recovery feedback loop ("When Typecheck Fails": grep common-errors.md, then search src/docs, then search ai-sdk.dev), and a 9-item checklist for the main workflow. This matches the anchor 5 pattern of clear sequence + explicit validation + feedback loops.

5 / 5

Progressive Disclosure

A concise ~75-line overview with clear sections that appropriately defers detail to three real files in references/ (common-errors.md, ai-gateway.md, type-safe-agents.md), each referenced one level deep with inline context plus a bottom References section describing what each contains. This matches the anchor 5 pattern of well-signaled, one-level-deep references; the single cross-link in common-errors.md to type-safe-agents.md is a see-also, not a nested chain.

5 / 5

Total

18

/

20

Passed

Description

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

A solid description with an explicit and trigger-rich "Use for" clause anchored to the distinct Vercel AI SDK niche. Its main weakness is the generic "AI SDK guidance" framing for the "what" and a few missing high-traffic trigger terms like useChat and the @ai-sdk packages.

Suggestions

Replace the generic "AI SDK guidance" lead with action-based phrasing, e.g., "Build and consume Vercel AI SDK agents and chat UIs: generateText, streamText, ToolLoopAgent, useChat, tools."

Add commonly-used trigger terms such as "useChat" and the "@ai-sdk" package names (e.g., @ai-sdk/openai, @ai-sdk/react) to widen natural keyword coverage.

DimensionReasoningScore

Specificity

Names concrete APIs ("generateText, streamText, ToolLoopAgent, tools") and capability areas ("providers, streaming, tool calling, structured output"), but the action is stated only as generic "AI SDK guidance" and some capabilities (e.g., useChat, agent building) are absent — several specific items with minor gaps, matching the anchor 4 example.

4 / 5

Completeness

The "when" is explicit and trigger-rich ("Use for Vercel AI SDK APIs (...), providers, streaming, tool calling, structured output, or troubleshooting"), but the "what" ("AI SDK guidance") is vague. Both are present with one side improvable, which is the anchor 4 pattern; it does not reach anchor 5 because the what lacks concrete action phrasing.

4 / 5

Trigger Term Quality

Includes natural terms users would say — "Vercel AI SDK", "generateText", "streamText", "streaming", "tool calling", "structured output", "troubleshooting" — but misses common variations such as "useChat", "@ai-sdk" package names, or "build agents". Good coverage with a few natural terms missing, so anchor 4 rather than 5.

4 / 5

Distinctiveness Conflict Risk

Tied to a clear niche ("Vercel AI SDK") with distinctive named APIs ("ToolLoopAgent", "generateText"), yet generic trigger terms like "providers", "streaming", and "troubleshooting" create minor overlap risk with other LLM/API skills. Mostly distinct with minor overlap risk — anchor 4, not 5.

4 / 5

Total

16

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

marchatton/agent-skills

Path

.agents/skills/04-develop/use-ai-sdk/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.