
This is a comprehensive reference for production LLM integration covering function calling, streaming, local inference with Ollama, and fine-tuning. You get 20 rules across 7 categories with concrete examples: strict mode tool schemas, SSE streaming endpoints, QLoRA training configs, and context optimization patterns. The documentation is opinionated in the right ways, recommending deepseek-r1:70b for local reasoning, 5-15 tools max per request, and trying prompting before fine-tuning. Most useful when you're moving beyond basic API calls and need battle-tested patterns for tool use, real-time responses, or cost optimization through local models. The quick reference tables and code snippets make this genuinely reusable rather than just theoretical guidance.
$ npx -y skills add yonatangross/orchestkit --skill llm-integration --agent claude-codeInstalls into .claude/skills of the current project.
Patterns for integrating LLMs into production applications: tool use, streaming, local inference, and fine-tuning. Each category has individual rule files in rules/ loaded on-demand.
| Category | Rules | Impact | When to Use |
|---|---|---|---|
| Function Calling | 3 | CRITICAL | Tool definitions, parallel execution, input validation |
| Streaming | 3 | HIGH | SSE endpoints, structured streaming, backpressure handling |
| Local Inference | 3 | HIGH | Ollama setup, model selection, GPU optimization |
| Fine-Tuning | 3 | HIGH | LoRA/QLoRA training, dataset preparation, evaluation |
| Context Optimization | 2 | HIGH | Window management, compression, caching, budget scaling |
| Evaluation | 2 | HIGH | LLM-as-judge, RAGAS metrics, quality gates, benchmarks |
| Prompt Engineering | 4 | HIGH | CoT, few-shot, versioning, DSPy optimization, ReAct, cost optimization |
Total: 20 rules across 7 categories
Sponsors