integrating-ai

Installation
SKILL.md

Integrating AI (Vercel AI SDK & Ollama)

When to use this skill

  • When the user mentions "AI", "LLM", "Chatbot", "GPT", or "Ollama".
  • When building features like "Explain this", "Generate text", or "Chat with PDF".
  • When implementing streaming text responses.

Workflow

  1. Installation:
    • npm install ai @ai-sdk/openai @ai-sdk/anthropic ollama-ai-provider
  2. Backend Route (Edge/Serverless):
    • Create an API route using streamText from ai.
  3. Frontend Hook:
    • Use useChat or useCompletion from ai/react to handle UI state automatically.

Instructions

Installs
2
GitHub Stars
3
First Seen
Mar 1, 2026
integrating-ai — pauloviccs/viccs_antigravity_skillscreator