Llm Patterns
AI-first application patterns covering typed LLM clients, prompt versioning, and three-tier LLM testing strategies.
- CCM score
- 54 of 100
- skills.sh installs
- 266
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers typed LLM client wrappers, Zod-validated structured outputs, versioned prompt templates, and cost and latency tracking
- Includes testing layers for mocked unit tests, saved-response fixture tests, and nightly evaluation suites with accuracy thresholds
- Enforces schema validation on every LLM response and keeps live LLM calls out of standard CI runs
- Designed for TypeScript projects where LLMs handle classification, extraction, and generation as core application logic
Install
$ npx -y skills add alinaqi/maggy --skill llm-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
LLM Patterns Skill
For AI-first applications where LLMs handle logical operations.
Core Principle
LLM for logic, code for plumbing.
Use LLMs for:
- Classification, extraction, summarization
- Decision-making with natural language reasoning
- Content generation and transformation
- Complex conditional logic that would be brittle in code
Use traditional code for:
- Data validation (Zod/Pydantic)
- API routing and HTTP handling
- Database operations
- Authentication/authorization
- Orchestration and error handling
Project Structure
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- AI Agents & LLM Apps, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the llm-patterns skill do?
The llm-patterns skill guides building AI-first applications where LLMs handle core logic such as classification, extraction and generation. It shows how llm-patterns separates LLM logic from plumbing, with typed LLM wrappers, Zod schemas, prompt templates and versioning. It also covers testing LLM calls with mocks, fixtures and evaluation suites.
How do I install the llm-patterns skill?
Run npx -y skills add alinaqi/maggy --skill llm-patterns -y in your project to install it. Once installed, the llm-patterns skill lets your agent follow its project structure, client, prompt and testing patterns when building LLM features.
Which skills lead the AI Agents & LLM Apps category with llm-patterns?
The llm-patterns skill sits in the AI Agents & LLM Apps category on Claude Marketplaces. Other skills there include microsoft-foundry, azure-ai and several google-agents-cli skills. llm-patterns sets itself apart by focusing on LLM-driven application logic with prompt versioning and LLM-specific testing.
What does llm-patterns need to run its LLM tests?
The llm-patterns skill's example CI workflow passes an ANTHROPIC_API_KEY secret and sets RUN_LLM_EVALS to true for evaluation runs. Unit and fixture tests run with mocks and saved responses, so they do not need a live key.
More from alinaqi/maggy
All 54- Supabase Python264
- Agent Teams261
- Supabase Node258
- Existing Repo256
- Credentials254
- Aws Aurora252
- Medusa252
- Reddit Ads251
- Iterative Development250
- Gemini Review247
- Ticket Craft247
- Python246
- Project Tooling244
- Base241
- Shopify Apps235
- Azure Cosmosdb234
- Pwa Development4.9K
- Android Kotlin3.5K
- Playwright Testing3.4K
- Code Review1.4K
- Ui Mobile1.2K
- Posthog Analytics836
- Flutter750
- Supabase Nextjs736
Similar to Llm Patterns
More AI Agents & LLM Appsai-productdavila7/claude-code-templates399 installsProduction-ready AI product guidance covering LLM integration, RAG, prompt versioning, and cost control.
prompt-engineerjeffallan/claude-skills6.2K installsStructured prompt-design skill that writes, refactors, and evaluates LLM prompts, schemas, and test suites.
llm-application-dev-prompt-optimizesickn33/agentic-awesome-skills357 installsStructured prompt improvement with task-specific evaluation, held-out checks, and regression testing for LLM applications.
prompt-engineering-patternssickn33/agentic-awesome-skills442 installsStructured prompt-engineering patterns for reliable, controllable LLM outputs in production applications.