Agent skill · software engineering · jeremylongshore
clade-architecture-variants
Build different types of Claude-powered applications \u2014 chatbots,\
Why this skill is useful
Adds five complete architecture patterns with executable code for Claude-powered applications that extend the AI's capabilities in building chatbots, RAG systems, and more.
What it needs
Requires typescript installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
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. Best for: Customer support, Q&A, simple conversational interfaces. 2. RAG (Retrieval-Augmented Generation) Fetch relevant context, inject into prompt, generate grounded answer. Best for: Documentation Q&A, knowledge bases, support with source citations. 3. Agent (Tool Use Loop) Claude decides which tools to call, you execute them, loop until done. Best for: Data analysis, code generation, multi-step workflows. 4. Content Pipeline (Batch Processing) Process thousands of documents through Claude asynchronously. Best for: Summarization, classification, extraction at scale. 5. Evaluation / Grading Use Claude to evaluate other AI outputs or human content. Best for: AI output quality, content moderation, automated grading. Choosing a Pattern Pattern Latency Cost Complexity --------- --------- ------ ------------ Chatbot Low (streaming) Low Simple RAG Medium (embed + search + generate) Medium Medium Agent High (multi-turn) High Complex Pipeline High (async batch) Low (50% off) Simple Evaluation Medium Varies Simple Output Architecture pattern selected based on requirements Implementation code for chosen pattern Cost and latency characteristics understood Scaling strategy identified (streaming for chatbots, batches for pipelines) Error Handling Error Cause Solution ------- ------- ---------- API Error Check error type and status code See clade-common-errors Examples See five numbered pattern sections with complete TypeScript code, and the Choosing a Pattern comparison table with latency, cost, and complexity ratings. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/clade-architecture-variants