
Llm App Patterns
This is a solid reference for building production LLM applications, covering the practical patterns you'll actually need. It walks through RAG pipelines with real chunking strategies and retrieval methods (semantic, hybrid, multi-query), plus agent architectures like ReAct and function calling with working code examples. The vector database comparison is helpful when you're choosing between Pinecone, Weaviate, ChromaDB, or pgvector. Use this when you're past the hello-world phase and need to understand how to structure a RAG system properly, decide between agent patterns, or set up retrieval that doesn't embarrass you in production. The code samples are Python-focused and look like they came from someone who's actually shipped this stuff.
- skills.sh installs
- 326
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill llm-app-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
π€ LLM Application Patterns
Production-ready patterns for building LLM applications, inspired by Dify and industry best practices.
When to Use This Skill
Use this skill when:
- Designing LLM-powered applications
- Implementing RAG (Retrieval-Augmented Generation)
- Building AI agents with tools
- Setting up LLMOps monitoring
- Choosing between agent architectures
1. RAG Pipeline Architecture
Overview
RAG (Retrieval-Augmented Generation) grounds LLM responses in your data.
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β Ingest ββββββΆβ Retrieve ββββββΆβ Generate β
β Documents β β Context β β Response β
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββ βββββββββββββ βββββββββββββ
β Chunkingβ β Vector β β LLM β
βEmbeddingβ β Search β β + Contextβ
βββββββββββ βββββββββββββ βββββββββββββ
1.1 Document Ingestion
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- DevOps & CI/CD, AI & Agent Building
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Gh Fix Ci325
- Pyhealth325
- Scanpy325
- Aeon324
- Web To Markdown322
- Biomni321
- Constitutional Ai321
- Nanogpt320
- Sglang320
- Uspto Database318
- Receiving Code Review317
- Transformer Lens Interpretability317
- Skypilot Multi Cloud Orchestration316
- Llava315
- Mdr 745 Specialist315
- Create Pr314
- Fda Database313
- Astropy312
- Skill Developer312
- Environment Setup Guide311
- Requesting Code Review311
- Roier Seo311
- Grpo Rl Training310
- Railway Database310