ai-integration-generator

Installation
SKILL.md

AI Integration Generator

Before generating any output, read config/defaults.md and adapt all patterns, imports, and code examples to the user's configured stack.

Generation Process

  1. Determine AI feature type (chat, completion, structured output, tool calling, RAG)
  2. Generate API route with streaming
  3. Generate UI component with appropriate hook
  4. Add error handling and loading states
  5. Verify streaming works end-to-end

Streaming Chat Route

Create app/api/chat/route.ts:

import { streamText } from 'ai';
import { openai } from '@ai-sdk/openai';
Related skills
Installs
2
GitHub Stars
3
First Seen
Feb 25, 2026