Skip to content
Back to skills

Llm App Patterns

ASecurity

Production LLM features: prompt structure, tool use, structured outputs, streaming, retries, fallbacks and logging.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill llm-app-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm App Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm App Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-llm-app-patterns/badge)](https://www.skillsdirectory.com/skills/karthikrshet-llm-app-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llm-app-patterns
description: "Production LLM features: prompt structure, tool use, structured outputs, streaming, retries, fallbacks and logging."
tags: [ai-agents]
---

# Llm App Patterns

## When to use

- Building on Claude/OpenAI/Gemini APIs

## Procedure

1. Separate system instructions, context and user input
2. Use tools or JSON schema for structured output and validate it
3. Stream for UX
4. Retry on 429/5xx with backoff
5. Log tokens, latency and cost with redaction
6. Write evals early

## Checklist

- [ ] Timeouts set
- [ ] Outputs validated

## Anti-patterns

- Parsing free text with regex
- No evals

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.