ai-product

Installation
Summary

Production-ready LLM integration patterns, from prompt versioning to safety validation and cost optimization.

  • Covers structured output with schema validation, streaming responses for reduced latency, and prompt versioning with regression testing
  • Identifies eight critical sharp edges including output validation, prompt injection risks, context window limits, and API failure handling
  • Emphasizes treating prompts as code, validating all LLM outputs, and never trusting responses blindly in production systems
  • Includes anti-patterns to avoid: demo-ware that doesn't scale, context window stuffing, and unstructured output parsing that breaks randomly
SKILL.md

AI Product Development

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production.

This skill covers LLM integration patterns, RAG architecture, prompt engineering that scales, AI UX that users trust, and cost optimization that doesn't bankrupt you.

Principles

  • LLMs are probabilistic, not deterministic | Description: The same input can give different outputs. Design for variance. Add validation layers. Never trust output blindly. Build for the edge cases that will definitely happen. | Examples: Good: Validate LLM output against schema, fallback to human review | Bad: Parse LLM response and use directly in database
  • Prompt engineering is product engineering | Description: Prompts are code. Version them. Test them. A/B test them. Document them. One word change can flip behavior. Treat them with the same rigor as code. | Examples: Good: Prompts in version control, regression tests, A/B testing | Bad: Prompts inline in code, changed ad-hoc, no testing
  • RAG over fine-tuning for most use cases | Description: Fine-tuning is expensive, slow, and hard to update. RAG lets you add knowledge without retraining. Start with RAG. Fine-tune only when RAG hits clear limits. | Examples: Good: Company docs in vector store, retrieved at query time | Bad: Fine-tuned model on company data, stale after 3 months
Related skills
Installs
634
GitHub Stars
37.3K
First Seen
Jan 19, 2026