mistral-upgrade-migration

Featured

Analyze, plan, and execute Mistral AI SDK upgrades with breaking change detection. Use when upgrading Mistral SDK versions, detecting deprecations, or migrating to new API versions. Trigger with phrases like "upgrade mistral", "mistral breaking changes", "update mistral SDK", "analyze mistral version".

AI & Automation 2,266 stars 315 forks Updated today 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

# Mistral AI Upgrade & Migration ## Current State !`npm list @mistralai/mistralai 2>/dev/null || echo 'not installed'` !`pip show mistralai 2>/dev/null | grep -E "^(Name|Version)" || echo 'not installed'` ## Overview Guide for upgrading the Mistral AI SDK between major versions. The TypeScript SDK (`@mistralai/mistralai`) moved from CommonJS to ESM-only in v1.x, with significant API surface changes. This skill covers version detection, breaking change migration, automated code transforms, and rollback. ## Prerequisites - Current Mistral AI SDK installed - Git for version control - Test suite available ## Instructions ### Step 1: Check Versions ```bash set -euo pipefail # Current version npm list @mistralai/mistralai 2>/dev/null # Latest available npm view @mistralai/mistralai version # All versions npm view @mistralai/mistralai versions --json | jq '.[-5:]' # Python pip show mistralai 2>/dev/null | grep Version ``` ### Step 2: Known Breaking Changes (v0.x to v1.x) | Change | v0.x (old) | v1.x (current) | |--------|-----------|----------------| | Module format | CommonJS + ESM | **ESM only** | | Import | `import MistralClient from '...'` | `import { Mistral } from '...'` | | Constructor | `new MistralClient(apiKey)` | `new Mistral({ apiKey })` | | Chat method | `client.chat(params)` | `client.chat.complete(params)` | | Streaming | `client.chatStream(params)` | `client.chat.stream(params)` | | Stream events | `for await (const chunk of stream)` | `for await (const ev...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

mistral-migration-deep-dive

Execute migration to Mistral AI from OpenAI, Anthropic, or other providers. Use when migrating to Mistral AI from another provider, performing major refactoring, or re-platforming existing AI integrations to Mistral AI. Trigger with phrases like "migrate to mistral", "mistral migration", "switch to mistral", "openai to mistral", "anthropic to mistral".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-install-auth

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

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-common-errors

Diagnose and fix Mistral AI common errors and exceptions. Use when encountering Mistral errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "mistral error", "fix mistral", "mistral not working", "debug mistral".

2,266 Updated today
jeremylongshore
AI & Automation Featured

anth-upgrade-migration

Upgrade Anthropic SDK versions and migrate between Claude API versions. Use when upgrading the Python/TypeScript SDK, migrating from Text Completions to Messages API, or adopting new API features like tool use or batches. Trigger with phrases like "upgrade anthropic sdk", "anthropic migration", "update claude sdk", "migrate to messages api".

2,266 Updated today
jeremylongshore
AI & Automation Featured

assemblyai-upgrade-migration

Analyze, plan, and execute AssemblyAI SDK upgrades with breaking change detection. Use when upgrading the assemblyai npm package, migrating from the old SDK, or switching between speech models (Best, Nano, Universal). Trigger with phrases like "upgrade assemblyai", "assemblyai migration", "assemblyai breaking changes", "update assemblyai SDK".

2,266 Updated today
jeremylongshore