jeremylongshore/claude-code-plugins-plus-skills
deepgram-pack
plugins/saas-packs/deepgram-pack/skills/deepgram-upgrade-migration/SKILL.md
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/saas-packs/deepgram-pack/skills/deepgram-upgrade-migration/SKILL.md -a claude-code --skill deepgram-upgrade-migrationInstallation paths:
.claude/skills/deepgram-upgrade-migration/# Deepgram Upgrade Migration
## Overview
Guide for planning and executing Deepgram SDK upgrades and API migrations safely.
## Prerequisites
- Current SDK version documented
- Test environment available
- Rollback plan prepared
- Changelog reviewed
## Migration Types
### 1. SDK Version Upgrade
Upgrading the Deepgram SDK package (e.g., v2.x to v3.x)
### 2. Model Migration
Transitioning between transcription models (e.g., Nova to Nova-2)
### 3. API Version Migration
Moving between API versions (v1 to v2)
## Instructions
### Step 1: Assess Current State
Document current versions, configurations, and usage patterns.
### Step 2: Review Breaking Changes
Check changelogs and migration guides for breaking changes.
### Step 3: Plan Migration
Create detailed migration plan with rollback procedures.
### Step 4: Test Thoroughly
Test in staging environment before production rollout.
### Step 5: Execute Migration
Perform migration with monitoring and validation.
## SDK Upgrade Guide
### Check Current Version
```bash
# Node.js
npm list @deepgram/sdk
# Python
pip show deepgram-sdk
```
### Review Changelog
```bash
# View npm package changelog
npm view @deepgram/sdk versions --json
# Or check GitHub releases
curl -s https://api.github.com/repos/deepgram/deepgram-js-sdk/releases/latest
```
### TypeScript SDK v2 to v3 Migration
```typescript
// v2 (old)
import Deepgram from '@deepgram/sdk';
const deepgram = new Deepgram(apiKey);
const response = await deepgram.transcription.preRecorded(
{ url: audioUrl },
{ punctuate: true }
);
// v3 (new)
import { createClient } from '@deepgram/sdk';
const deepgram = createClient(apiKey);
const { result, error } = await deepgram.listen.prerecorded.transcribeUrl(
{ url: audioUrl },
{ punctuate: true }
);
```
### Breaking Changes Checklist
```typescript
// lib/migration-check.ts
interface MigrationCheck {
name: string;
check: () => boolean;
fix: string;
}
const v3MigrationChecks: MigrationCheck[] = [
{
name: 'Impo