MI

mistral-upgrade-migration

Plan and execute Mistral AI SDK upgrades while safely managing breaking changes and API deprecations.

Install

mkdir -p .claude/skills/mistral-upgrade-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4224" && unzip -o skill.zip -d .claude/skills/mistral-upgrade-migration && rm skill.zip

Installs to .claude/skills/mistral-upgrade-migration

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Analyze, plan, and execute Mistral AI SDK upgrades with breaking change
71 charsno explicit “when” trigger
Advanced

Key capabilities

  • →Detect current and latest Mistral AI SDK versions
  • →Identify known breaking changes between SDK versions
  • →Automate code transformations for API surface changes
  • →Upgrade the Mistral AI SDK to the latest version
  • →Update hardcoded model name references
  • →Provide a procedure for rolling back SDK upgrades

How it works

This skill analyzes the installed Mistral AI SDK version, applies automated code transformations based on known breaking changes between major versions, and guides the user through the upgrade and validation process.

Inputs & outputs

You give it
Existing codebase with Mistral AI SDK usage
You get back
Codebase updated to a newer Mistral AI SDK version with applied transformations

When to use mistral-upgrade-migration

  • →Upgrading Mistral SDK to v1.x
  • →Detecting breaking API changes
  • →Migrating from CommonJS to ESM
  • →Analyzing SDK version compatibility

About this skill

Mistral SDK and API Surface Upgrade

Overview

Upgrade from evidence, not search-and-replace. Characterize the current adapter, compare exact target contracts, and isolate Public Preview migrations from dependency maintenance.

Prerequisites

  • A clean branch, pinned source/target versions, and adapter inventory.
  • Characterization tests for requests, streams, errors, usage, and state.
  • A canary, compatibility window, and rollback owner.

Current Contract

Current docs expose Public Preview beta Agents and Conversations plus Workflows, while deprecated Agents remains documented. Choose the target per workload; this is not a one-to-one rename.

Authentication

Use offline characterization where possible. Live comparison uses the server-side key, synthetic content, fixed budget, and content-free evidence.

Instructions

  1. Inventory imports, types, endpoints, models, options, parsing, retries, and state IDs.
  2. Lock characterization tests before changing dependencies.
  3. Diff releases, schemas, preview labels, and unsupported features.
  4. Choose per workload: stable chat, Workflows, or explicitly accepted beta Agents/Conversations.
  5. Migrate one adapter path at a time without leaking target SDK objects.
  6. Run offline regression and approved canary; remove compatibility only after rollback expiry.

Tool Discipline

Use Read, Glob, and Grep to inspect code, locks, configuration, tests, and evidence. Use Write and Edit only for approved repository changes. Invocation alone does not authorize network calls, paid usage, uploads, stateful resources, admin mutations, deployments, or deletion.

Approval Boundaries

Require approval for dependencies, preview adoption, endpoint changes, live comparison, state migration, or compatibility removal.

Error Handling

  • Compiling can still hide stream, error, usage, or pagination changes.
  • Deprecated-to-beta Agents may require redesigned state lifecycle.
  • Automatic model substitution invalidates quality, price, and safety baselines.

Output

Return source/target pins, contract diff, destination per workflow, changed call sites, tests/canary, preview risks, rollback, and removal date.

Examples

  • Upgrade the TypeScript client behind an unchanged app adapter.
  • Keep stable chat while separately evaluating Workflows.

Validation

Test both adapters with identical fixtures, malformed responses, cancellation, retry classes, usage, and rollback drill.

Resources

  • Current first-party evidence map — recheck dated sources before relying on mutable endpoints, models, limits, prices, preview status, or retention.
  • Record live account observations as environment-specific evidence, not universal Mistral guarantees.

When not to use it

  • →When no test suite is available for validation

Prerequisites

Current Mistral AI SDK installedGit for version controlTest suite available

Limitations

  • →Automated script may not cover all custom usage patterns
  • →Requires `package.json` to have `"type": "module"` for ESM
  • →Type errors may occur due to interface changes

How it compares

This skill automates the migration of Mistral AI SDK usage, reducing manual effort and potential errors compared to manually updating code for breaking changes.

Compared to similar skills

mistral-upgrade-migration side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
mistral-upgrade-migration (this skill)12moReviewAdvanced
mcp-builder1365moReviewAdvanced
stripe-integration484moNo flagsAdvanced
copilot-sdk75moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore →

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

mcp-builder

anthropics

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

136215

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

copilot-sdk

github

Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.

763

documenso-install-auth

jeremylongshore

Install and configure Documenso SDK/API authentication. Use when setting up a new Documenso integration, configuring API keys, or initializing Documenso in your project. Trigger with phrases like "install documenso", "setup documenso", "documenso auth", "configure documenso API key".

11

gamma-upgrade-migration

jeremylongshore

Upgrade Gamma SDK versions and migrate between API versions. Use when upgrading SDK packages, handling deprecations, or migrating to new API versions. Trigger with phrases like "gamma upgrade", "gamma migration", "gamma new version", "gamma deprecated", "gamma SDK update".

10

posthog-install-auth

jeremylongshore

Install and configure PostHog SDK/CLI authentication. Use when setting up a new PostHog integration, configuring API keys, or initializing PostHog in your project. Trigger with phrases like "install posthog", "setup posthog", "posthog auth", "configure posthog API key".

10

Search skills

Search the agent skills registry