anth-sdk-patterns

Installation
SKILL.md

Anthropic SDK Patterns

Overview

Production-ready patterns for the Anthropic SDK covering client management, error handling, type safety, and multi-tenant configurations.

Prerequisites

  • Completed anth-install-auth setup
  • Familiarity with async/await patterns
  • TypeScript 5+ or Python 3.10+

Pattern 1: Typed Wrapper with Retry

import Anthropic from '@anthropic-ai/sdk';
import type { Message, MessageCreateParams } from '@anthropic-ai/sdk/resources/messages';

class ClaudeService {
  private client: Anthropic;
Installs
1
GitHub Stars
2.3K
First Seen
May 19, 2026
anth-sdk-patterns — jeremylongshore/claude-code-plugins-plus-skills