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-code

Installs 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
1getsentry avatarsentry-go-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Go. Use when asked to "add Sentry to Go", "install sentry-go", "setup Sentry in Go", or configure error monitoring, tracing, logging, 321skills.sh installs
2jezweb avatarstreamlit-snowflakejezweb/claude-skillsBuild and deploy Streamlit apps natively in Snowflake. Covers snowflake.yml scaffolding, Snowpark sessions, multi-page structure, Marketplace publishing as Nati320skills.sh installs
3getsentry avatarsentry-svelte-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure e319skills.sh installs
4sattva2020 avatardokploy-api-mcpsattva2020/skillsDeploy and manage applications on Dokploy (self-hosted PaaS). Use when deploying apps, managing Docker Compose services, databases (PostgreSQL, MySQL, MariaDB, 312skills.sh installs
5getsentry avatarsentry-ruby-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Ruby. Use when asked to add Sentry to Ruby, install sentry-ruby, setup Sentry in Rails/Sinatra/Rack, or configure error monitoring, tr311skills.sh installs
6incept5 avatareve-pipelines-workflowsincept5/eve-skillpacksDefine and run Eve pipelines and workflows via manifest and CLI. Use when wiring build, release, deploy flows or invoking workflow jobs.309skills.sh installs