software-ai-integration
Installation
SKILL.md
AI-Augmented Product Engineering
Quick Reference
| Concern | Defaults |
|---|---|
| LLM API integration | Vercel AI SDK by default; use a direct provider SDK when its capabilities or smaller abstraction fit better (see Integration and Gateway Choice) |
| Streaming responses | SSE / ReadableStream from the SDK's server streaming call; streaming mode matched to guardrail risk (see Streaming Architecture) |
| Structured output | Schema-constrained output or tool calling, one schema definition (e.g. Zod) validated in code; contract rules in ai-prompt-engineering |
| Chat interface | The SDK's chat UI hook, or a custom streaming UI |
| AI-assisted forms | Inline suggestions, auto-complete, content generation |
| Guardrails | Input/output filtering, content moderation, PII detection |
| Cost management | Token counting, caching (semantic + exact), model routing |
| Multi-provider | Thin internal router for one product; consider a Portkey-class gateway for shared routing or policy (see Integration and Gateway Choice) |
| Evaluation | Human feedback, LLM-as-judge, A/B testing AI variants |
| RAG in products | Vector search + context injection (see also ai-rag for deeper patterns) |