clade-upgrade-migration

Featured

Upgrade Anthropic SDK versions and migrate between Claude model generations. Use when working with upgrade-migration patterns. Trigger with "upgrade anthropic sdk", "migrate claude model", "anthropic breaking changes", "new claude model".

AI & Automation 2,926 stars 433 forks Updated yesterday 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

# Anthropic Upgrade & Migration ## Overview Upgrade the Anthropic SDK to new versions and migrate between Claude model generations. Covers version checking, changelog review, model ID updates across the codebase, output comparison testing, and gradual rollout via environment variables. ## SDK Upgrade ```bash # Check current version npm list @claude-ai/sdk pip show anthropic # Upgrade to latest npm install @claude-ai/sdk@latest pip install --upgrade anthropic # Check changelog for breaking changes # https://github.com/anthropics/claude-sdk-typescript/releases ``` ## Model Migration Checklist When Anthropic releases new model versions: 1. **Read the model card** — check for behavior changes, new capabilities 2. **Update model IDs** — find and replace old IDs ```bash # Find all model references in your codebase grep -r "claude-" --include="*.ts" --include="*.py" --include="*.json" . ``` 3. **Test with new model** — run integration tests against both old and new 4. **Compare outputs** — spot-check key prompts for quality regression 5. **Update max_tokens** — new models may have different limits 6. **Gradual rollout** — use env var to control model selection ```typescript // Environment-based model selection for safe rollout const MODEL = process.env.CLAUDE_MODEL || 'claude-sonnet-4-20250514'; const message = await client.messages.create({ model: MODEL, max_tokens: 1024, messages, }); ``` ## Common Migration Issues | Issue | Fix | |-------|-----| | Model ID not fou...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category