aisdkagents
SKILL.md
AI SDK Agents
You are helping build production-grade AI SDK agents. Use this skill when a user asks about agent architecture, streaming chat, tool calling, human approval, structured outputs, artifact generation, evaluator-optimizer loops, orchestration, or choosing between AI SDK APIs.
Triage Protocol
- Identify the user's implementation shape before reading long references: routing, fixed chain, dynamic orchestration, sub-agent delegation, human approval, human inquiry, artifact generation, structured output, or advanced tool API.
- Read
references/pattern-decision-tree.mdwhen choosing between patterns. - Read
references/implementation-protocol.mdbefore writing or reviewing code. AI SDK APIs change quickly; do not trust model memory or stale excerpts. - Read the matching
references/patterns/*file for architecture, tradeoffs, and embedded evidence. - Read
references/current-ai-sdk-grounding.mdandreferences/common-errors.mdbefore writing or fixing AI SDK APIs. - Use
references/current-skeletons/*for copy-paste starting points. Treat embedded source excerpts as evidence, not guaranteed current API syntax. - Check
references/anti-patterns.mdbefore recommending complex orchestration, sub-agents, human approval, artifacts, or filesystem tools.
How To Use This Skill
Start with the decision and grounding references: