Agent skill · AI & Agents

llm-application-patterns

Use when building LLM applications: prompt engineering, structured output, agents, RAG integration, memory management, or production deployment. Framework-agnostic patterns using raw SDK calls.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill llm-application-patterns-jlaws-dotfiles --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/ai-llm/llm-application-patterns-jlaws-dotfiles/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LLM Application Patterns ## Architecture Pattern Selection | Pattern | Use When | Complexity | |---------|----------|-----------| | **Single prompt** | Classification, extraction, simple Q&A | Low | | **Chain/pipeline** | Multi-step transformations, routing | Medium | | **RAG** | Knowledge retrieval from docs | Medium | | **Agent with tools** | External actions, multi-step reasoning | High | | **Multi-agent** | Complex workflows, specialized sub-tasks | Very High | **Decision rule**: Use the simplest pattern that solves the problem. A single well-structured prompt beats a complex chain 80% of the time. ## Prompting Strategies ### Strategy Selection | Task Type | Strategy | Avoid | |-----------|----------|-------| | Classification | Few-shot with labels | CoT (overthinks simple tasks) | | Reasoning / Math | CoT with verification | Zero-shot (unreliable) | | Multi-step tasks | ReAct / tool-use | Single-shot (misses steps) | | Extraction | Structured output + schema | Free-form (inconsistent) | | Creative | System prompt + constraints | Over-constraining | ### Few-Shot Prompting ```python SENTIMENT_PROMPT = """Classify the sentiment as positive, negative, or neutral. Review: "The fo

What's inside
Steps it walks through
  1. Architecture Pattern Selection
  2. Prompting Strategies
  3. Strategy Selection
  4. Few-Shot Prompting
  5. Chain-of-Thought (CoT)
  6. Structured Output
  7. ReAct / Tool Use
  8. Memory / Context Management
  9. RAG Integration
  10. Chunking Strategy
  11. Retrieval Pipeline
  12. Prompt Versioning
  13. Evaluation Harness
  14. Production Guardrails
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the llm-application-patterns skill do?

Use when building LLM applications: prompt engineering, structured output, agents, RAG integration, memory management, or production deployment. Framework-agnostic patterns using raw SDK calls.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill llm-application-patterns-jlaws-dotfiles --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going