skillfed

anthropic-sdk-upgrader

This skill guides you through upgrading @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk packages in the vscode-copilot-chat project. It walks you through reviewing release notes, consolidating changes by category, identifying breaking changes, updating dependencies, detecting API surface shifts via type definition diffs, fixing compilation errors, and running tests to validate the upgrade.

anthropic-sdk-upgrader helps you upgrade Anthropic SDK packages with a structured process covering version checks, dependency resolution, and compilation verification.

AI-generated summary based on this skill's SKILL.md

187,975 41,291 MIT updated by microsoft

Install

microsoft/vscode/anthropic-sdk-upgrader · repository language: TypeScript

CLI (skillfed)coming soon
git clone https://github.com/microsoft/vscode
cp -r vscode/extensions/copilot/.agents/skills/anthropic-sdk-upgrader ~/.claude/skills/anthropic-sdk-upgrader

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I upgrade @anthropic-ai/sdk to the latest version?

anthropic-sdk-upgrader guides you through updating @anthropic-ai/sdk by first reviewing the release notes for the target version, then consolidating changes by category to understand what's new. The skill walks you through updating your package.json dependencies, detecting API surface shifts via type definition diffs, and running tests to validate the upgrade completes without breaking your code.

What is the anthropic SDK upgrade process?

anthropic-sdk-upgrader breaks the upgrade into structured steps: review release notes, categorize changes, identify breaking changes, update dependencies in package.json, detect API surface shifts by comparing type definitions, fix any compilation errors that arise, and run tests to confirm compatibility. This approach helps you migrate between major Anthropic SDK versions safely.

How do I fix anthropic SDK breaking changes?

anthropic-sdk-upgrader helps you resolve SDK-related breaking changes by first identifying which APIs have changed through type definition diffs, then updating your code to match the new interfaces. The skill guides you through fixing compilation errors, updating types and interfaces in your codebase, and validating changes with tests before deploying.

How do I migrate between anthropic SDK versions?

anthropic-sdk-upgrader provides a migration guide that consolidates changes by category, highlights breaking changes between versions, and walks you through updating @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk packages. It helps you detect API surface changes, resolve dependency conflicts, and run tests to ensure your vscode-copilot-chat project remains compatible.

What should I do about anthropic SDK compilation errors after upgrade?

anthropic-sdk-upgrader helps you troubleshoot compilation errors by detecting type mismatches and API surface changes through type definition diffs. It guides you in updating your code to match the new SDK interfaces, resolving dependency conflicts, and fixing type errors so your project compiles successfully after the upgrade.

How does anthropic-sdk-upgrader detect API surface changes?

anthropic-sdk-upgrader documents API surface changes by comparing type definitions between SDK versions, identifying which interfaces, methods, and parameters have been added, removed, or modified. This detection helps you understand the scope of changes needed in your vscode-copilot-chat project and plan your migration accordingly.

SKILL.md

rendered from the published skill — quoted content, verbatim

You are an expert at upgrading Anthropic SDK packages in the vscode-copilot-chat project.

Packages

Package Description
@anthropic-ai/claude-agent-sdk Official Claude Agent SDK - provides the core agent runtime, tools, hooks, sessions, and message streaming
@anthropic-ai/sdk Anthropic API SDK - provides base types, API client, and message structures used by the agent SDK

Upgrade Process

Follow these steps exactly:

1. Check Current Versions and Changelog

Before upgrading, review the current versions in package.json and check the release notes:

  • Claude Agent SDK Releases:

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
extensions/copilot/.agents/skills/anthropic-sdk-upgrader/SKILL.md

Related skills

Tags

dependency-management version-migration api-compatibility sdk-tooling typescript-types breaking-changes package-updates runtime-compatibility upgrade-automation