llm-app-patterns
Production-ready patterns for building LLM applications.
Skill by AndrewHaward2310
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/andrewhaward2310-llm-app-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.comΒ· found in install command
Files it touches
~/.claude/skills/llm-app-patterns
What's inside
- Skill name
llm-app-patterns- Description
- Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.
- License
- MIT
- Instructions
- 757 lines in SKILL.md Β· view on GitHub
Agent Skills spec issues
- body: 757 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# π€ LLM Application Patterns
> Production-ready patterns for building LLM applications, inspired by [Dify](https://github.com/langgenius/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
```python
# Chunking strategies
class ChunkingStrategy:
# Fixed-size chunks (simple but may break context)
FIXED_SIZE = "fixed_size" # e.g., 512 tokens
# Semantic chunking (preserves meaning)
SEMANTIC = "semantic" # Split on paragraphs/sections
# Recursive splitting (tries multiple separators)
RECURSIVE = "recursive" # ["\n\n", "\n", " ", ""]
# Document-aware (respects structure)
DOCUMENT_AWARE = "document_aware" # Headers, lists, etc.
# Recommended settings
CHUNK_CONFIG = {
"chunk_size": 512, # tokens
"chunk_overlap": 50, # token overlap between chunks
"separators": ["\n\n", "\n", ". ", " "],
}
```
### 1.2 Embedding & Storage
```python
# Vector database selection
VECTOR_DB_OPTIONS = {
"pinecone": {
"use_case": "Production, managed service",
"scale": "Billions of vectors",
"features": ["Hybrid search", "Metadata filtering"]
},
"weaviate": {
"use_case": "Self-hosted, multi-modal",
"scale": "Millions of vectors",
"features": ["GraphQL API", "Modules"]
},
"chromadb": {
"use_case": "Development, prototyping",
"scale": "Thousands of vectors",
"features": ["Simple API", "In-memory option"]
},
"pgvector": {
"use_case": "Existing Postgres infrastructure",
"scale": "Millions of vectors",
"features": ["SQL integration", "ACID compliance"]
}
}
# Embedding model selection
EMBEDDING_MODELS = {
"openai/text-embedding-3-small": {
"dimensions": 1536,
"cost": "$0.02/1M tokens",
"quality": "Good for most use cases"
},
"openai/text-embedding-3-large": {
"dimensions": 3072,
"cost": "$0.13/1M tokens",
"quality": "Best for complex queries"
},
"local/bge-large": {
"dimensions": 1024,
"cost": "Free (compute only)",
"quality": "Comparable to OpenAI small"
}
}
```
### 1.3 Retrieval Strategies
```python
# Basic semantic search
def semantic_search(query: str, top_k: int = 5):
query_embedding = embed(query)
results = vector_db.similarity_search(
query_embedding,
top_k=top_k
)
return resultsFrom AndrewHaward2310/.agents, MIT.
More from AndrewHaward2310/.agents
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langfuse
AndrewHaward2310
Expert in Langfuse - the open-source LLM observability platform.
SkillDFreshness: DClaude Code +9 - 0.409score
langgraph
AndrewHaward2310
Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cacheβ¦
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-library
AndrewHaward2310
Curated collection of high-quality prompts for various use cases.
SkillDFreshness: DClaude Code +9 - 0.406score
research-engineer
AndrewHaward2310
An uncompromising Academic Research Engineer.
SkillDFreshness: DClaude Code +9 - 0.390score
mcp-builder
AndrewHaward2310
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 10, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AndrewHaward2310/.agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AndrewHaward2310
- 0.409score
voice-ai-development
AndrewHaward2310
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps.
SkillDFreshness: DClaude Code +9 - 0.409score
langfuse
AndrewHaward2310
Expert in Langfuse - the open-source LLM observability platform.
SkillDFreshness: DClaude Code +9 - 0.409score
langgraph
AndrewHaward2310
Expert in LangGraph - the production-grade framework for building stateful, multi-actor AI applications.
SkillDFreshness: DClaude Code +9 - 0.409score
personal-tool-builder
AndrewHaward2310
Expert in building custom tools that solve your own problems first.
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-caching
AndrewHaward2310
Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cacheβ¦
SkillDFreshness: DClaude Code +9 - 0.409score
prompt-engineering
AndrewHaward2310
Expert guide on prompt engineering patterns, best practices, and optimization techniques.
SkillDFreshness: DClaude Code +9
Cite this page
llm-app-patterns skill. Agent Mart. https://agentmart.dev/skills/andrewhaward2310-llm-app-patterns (last updated 2026-10-24)