clade-architecture-variants

Featured

Build different types of Claude-powered applications — chatbots, RAG systems, Use when working with architecture-variants patterns. agents, content pipelines, and code generation tools. Trigger with "claude architecture", "anthropic rag", "build with claude", "claude agent pattern", "anthropic app design".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Claude Architecture Variants ## Overview Five architecture patterns for Claude-powered applications: Chatbot (stateless API wrapper), RAG (retrieval-augmented generation with vector search), Agent (tool use loop), Content Pipeline (batch processing), and Evaluation (using Claude as a judge). Each includes complete code and a comparison table. ## 1. Chatbot (Stateless API Wrapper) Simplest pattern — proxy Claude with a system prompt. ```typescript // api/chat.ts export async function POST(req: Request) { const { messages } = await req.json(); const response = await client.messages.create({ model: 'claude-sonnet-4-20250514', max_tokens: 2048, system: 'You are a helpful assistant for our SaaS product.', messages, stream: true, }); return new Response(response.toReadableStream()); } ``` **Best for:** Customer support, Q&A, simple conversational interfaces. ## 2. RAG (Retrieval-Augmented Generation) Fetch relevant context, inject into prompt, generate grounded answer. ```typescript async function ragQuery(question: string) { // 1. Embed the question (use Voyage, OpenAI, or Cohere — not Anthropic) const embedding = await embeddingClient.embed(question); // 2. Search vector DB for relevant chunks const chunks = await vectorDb.query(embedding, { topK: 5 }); // 3. Send to Claude with context const message = await client.messages.create({ model: 'claude-sonnet-4-20250514', max_tokens: 2048, system: `Answer based on the provide...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

anth-reference-architecture

Implement Claude API reference architectures for common use cases. Use when designing a Claude-powered application, choosing between direct API vs queue-based, or planning a multi-model architecture. Trigger with phrases like "anthropic architecture", "claude system design", "anthropic reference architecture", "design claude integration".

2,944 Updated today
jeremylongshore
AI & Automation Featured

anth-architecture-variants

Choose and implement Claude API architecture patterns for different scales: serverless, microservice, event-driven, and edge deployment. Trigger with phrases like "anthropic architecture", "claude serverless", "claude microservice design", "edge claude deployment".

2,944 Updated today
jeremylongshore
AI & Automation Listed

claude-builder

Builds anything that runs on or steers Claude. Claude API / Anthropic SDK apps (model ids, pricing, thinking, effort, tool use, streaming, caching, batches, structured output, Managed Agents, evals, migration); multi-agent design (orchestrator, swarm handoffs, parallel subagents, context isolation, voting, debate); MCP servers; Claude Code skills (SKILL.md, frontmatter, descriptions, evals, triggering); slash commands ($ARGUMENTS, allowed-tools, !bash, @file); CLAUDE.md, AGENTS.md, rule files, subagent prompts; coaching from past sessions ("Claude keeps doing X", lessons learned, improve a skill or CLAUDE.md from what went wrong); hooks, settings, plugins; scheduled harnesses (/loop, /schedule, claude -p, launchd); skill reviews and library intake (a skill repo link); Claude learning questions. Use for any mention of Claude, Anthropic, Opus, Sonnet, Haiku, Fable, LLM pricing or tokens, agents, MCP, skills, commands, prompts or docs an agent will read, even when no skill is named.

1 Updated 1 weeks ago
GrowingGold