[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F6BCBB09RWBRXGK0CJ70N9":3,"skill-same:01M6F6BCBB09RWBRXGK0CJ70N9":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":6,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6F6BCBB09RWBRXGK0CJ70N9","deepgram-upgrade-migration",null,"Plan and execute Deepgram SDK upgrades and migrations.\nUse when upgrading SDK versions, migrating to new API versions,\nor transitioning between Deepgram models.\nTrigger with phrases like \"upgrade deepgram\", \"deepgram migration\",\n\"update deepgram SDK\", \"deepgram version upgrade\", \"migrate deepgram\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-upgrade-migration\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"deepgram upgrade migration","deepgram","upgrade","migration","new","sdk","when","plan and execute","with","trigger","io","migrations","models","version","use","upgrades","read","curl","plan","migrate","Bash","api","update","2026-11-10 10:12:30",false,"---\nname: deepgram-upgrade-migration\ndescription: |\n  Plan and execute Deepgram SDK upgrades and migrations.\n  Use when upgrading SDK versions, migrating to new API versions,\n  or transitioning between Deepgram models.\n  Trigger with phrases like \"upgrade deepgram\", \"deepgram migration\",\n  \"update deepgram SDK\", \"deepgram version upgrade\", \"migrate deepgram\".\nallowed-tools: Read, Grep, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Deepgram Upgrade Migration\n\n## Overview\nGuide for planning and executing Deepgram SDK upgrades and API migrations safely.\n\n## Prerequisites\n- Current SDK version documented\n- Test environment available\n- Rollback plan prepared\n- Changelog reviewed\n\n## Migration Types\n\n### 1. SDK Version Upgrade\nUpgrading the Deepgram SDK package (e.g., v2.x to v3.x)\n\n### 2. Model Migration\nTransitioning between transcription models (e.g., Nova to Nova-2)\n\n### 3. API Version Migration\nMoving between API versions (v1 to v2)\n\n## Instructions\n\n### Step 1: Assess Current State\nDocument current versions, configurations, and usage patterns.\n\n### Step 2: Review Breaking Changes\nCheck changelogs and migration guides for breaking changes.\n\n### Step 3: Plan Migration\nCreate detailed migration plan with rollback procedures.\n\n### Step 4: Test Thoroughly\nTest in staging environment before production rollout.\n\n### Step 5: Execute Migration\nPerform migration with monitoring and validation.\n\n## SDK Upgrade Guide\n\n### Check Current Version\n```bash\n# Node.js\nnpm list @deepgram\u002Fsdk\n\n# Python\npip show deepgram-sdk\n```\n\n### Review Changelog\n```bash\n# View npm package changelog\nnpm view @deepgram\u002Fsdk versions --json\n\n# Or check GitHub releases\ncurl -s https:\u002F\u002Fapi.github.com\u002Frepos\u002Fdeepgram\u002Fdeepgram-js-sdk\u002Freleases\u002Flatest\n```\n\n### TypeScript SDK v2 to v3 Migration\n```typescript\n\u002F\u002F v2 (old)\nimport Deepgram from '@deepgram\u002Fsdk';\nconst deepgram = new Deepgram(apiKey);\nconst response = await deepgram.transcription.preRecorded(\n  { url: audioUrl },\n  { punctuate: true }\n);\n\n\u002F\u002F v3 (new)\nimport { createClient } from '@deepgram\u002Fsdk';\nconst deepgram = createClient(apiKey);\nconst { result, error } = await deepgram.listen.prerecorded.transcribeUrl(\n  { url: audioUrl },\n  { punctuate: true }\n);\n```\n\n### Breaking Changes Checklist\n```typescript\n\u002F\u002F lib\u002Fmigration-check.ts\ninterface MigrationCheck {\n  name: string;\n  check: () => boolean;\n  fix: string;\n}\n\nconst v3MigrationChecks: MigrationCheck[] = [\n  {\n    name: 'Import statement',\n    check: () => {\n      \u002F\u002F Check if old import style is used\n      return true;\n    },\n    fix: 'Change: import Deepgram from \"@deepgram\u002Fsdk\" to import { createClient } from \"@deepgram\u002Fsdk\"',\n  },\n  {\n    name: 'Client initialization',\n    check: () => true,\n    fix: 'Change: new Deepgram(key) to createClient(key)',\n  },\n  {\n    name: 'Transcription method',\n    check: () => true,\n    fix: 'Change: deepgram.transcription.preRecorded() to deepgram.listen.prerecorded.transcribeUrl()',\n  },\n  {\n    name: 'Response handling',\n    check: () => true,\n    fix: 'Change: const response = await ... to const { result, error } = await ...',\n  },\n  {\n    name: 'Error handling',\n    check: () => true,\n    fix: 'Handle error in destructured response instead of try\u002Fcatch only',\n  },\n];\n\nexport function runMigrationChecks() {\n  console.log('=== SDK v3 Migration Checklist ===\\n');\n  for (const check of v3MigrationChecks) {\n    console.log(`[ ] ${check.name}`);\n    console.log(`    Fix: ${check.fix}\\n`);\n  }\n}\n```\n\n## Model Migration Guide\n\n### Nova to Nova-2 Migration\n```typescript\n\u002F\u002F Model comparison\nconst modelComparison = {\n  'nova': {\n    accuracy: 'Good',\n    speed: 'Fast',\n    languages: 36,\n    deprecated: false,\n  },\n  'nova-2': {\n    accuracy: 'Best',\n    speed: 'Fast',\n    languages: 47,\n    deprecated: false,\n  },\n};\n\n\u002F\u002F Migration is simple - just change the model parameter\nconst { result, error } = await deepgram.listen.prerecorded.transcribeUrl(\n  { url: audioUrl },\n  {\n    model: 'nova-2',  \u002F\u002F Changed from 'nova'\n    \u002F\u002F All other options remain the same\n    smart_format: true,\n    punctuate: true,\n    diarize: true,\n  }\n);\n```\n\n### A\u002FB Testing Models\n```typescript\n\u002F\u002F lib\u002Fmodel-ab-test.ts\ninterface ModelTestResult {\n  model: string;\n  transcript: string;\n  confidence: number;\n  processingTime: number;\n}\n\nexport async function compareModels(\n  audioUrl: string,\n  models: string[] = ['nova', 'nova-2']\n): Promise\u003CModelTestResult[]> {\n  const client = createClient(process.env.DEEPGRAM_API_KEY!);\n  const results: ModelTestResult[] = [];\n\n  for (const model of models) {\n    const startTime = Date.now();\n\n    const { result, error } = await client.listen.prerecorded.transcribeUrl(\n      { url: audioUrl },\n      { model, smart_format: true }\n    );\n\n    if (error) {\n      console.error(`Error with model ${model}:`, error);\n      continue;\n    }\n\n    const alternative = result.results.channels[0].alternatives[0];\n\n    results.push({\n      model,\n      transcript: alternative.transcript,\n      confidence: alternative.confidence,\n      processingTime: Date.now() - startTime,\n    });\n  }\n\n  return results;\n}\n\n\u002F\u002F Compare results\nfunction analyzeResults(results: ModelTestResult[]) {\n  console.log('\\n=== Model Comparison ===\\n');\n\n  for (const result of results) {\n    console.log(`Model: ${result.model}`);\n    console.log(`  Confidence: ${(result.confidence * 100).toFixed(2)}%`);\n    console.log(`  Processing Time: ${result.processingTime}ms`);\n    console.log(`  Transcript Length: ${result.transcript.length} chars`);\n    console.log();\n  }\n\n  \u002F\u002F Find best model\n  const best = results.reduce((a, b) =>\n    a.confidence > b.confidence ? a : b\n  );\n  console.log(`Best Model: ${best.model} (${(best.confidence * 100).toFixed(2)}% confidence)`);\n}\n```\n\n## Rollback Plan\n\n### Prepare Rollback\n```typescript\n\u002F\u002F lib\u002Frollback.ts\ninterface DeploymentVersion {\n  sdkVersion: string;\n  model: string;\n  config: Record\u003Cstring, unknown>;\n  deployedAt: Date;\n}\n\nclass RollbackManager {\n  private versions: DeploymentVersion[] = [];\n  private maxVersions = 5;\n\n  recordDeployment(version: Omit\u003CDeploymentVersion, 'deployedAt'>) {\n    this.versions.unshift({\n      ...version,\n      deployedAt: new Date(),\n    });\n\n    \u002F\u002F Keep only last N versions\n    this.versions = this.versions.slice(0, this.maxVersions);\n  }\n\n  getLastStableVersion(): DeploymentVersion | null {\n    return this.versions[1] || null; \u002F\u002F Skip current version\n  }\n\n  getRollbackInstructions(target: DeploymentVersion): string[] {\n    return [\n      `1. Update package.json: \"@deepgram\u002Fsdk\": \"${target.sdkVersion}\"`,\n      `2. Run: npm install`,\n      `3. Update config: model = \"${target.model}\"`,\n      `4. Verify: npm test`,\n      `5. Deploy: npm run deploy`,\n      `6. Monitor: Check dashboards for 30 minutes`,\n    ];\n  }\n}\n```\n\n### Emergency Rollback Script\n```bash\n#!\u002Fbin\u002Fbash\n# scripts\u002Femergency-rollback.sh\n\nset -e\n\necho \"=== Emergency Rollback ===\"\n\n# Store current version\nCURRENT_VERSION=$(npm list @deepgram\u002Fsdk --json | jq -r '.dependencies[\"@deepgram\u002Fsdk\"].version')\necho \"Current version: $CURRENT_VERSION\"\n\n# Get previous version from git\ngit show HEAD~1:package-lock.json > \u002Ftmp\u002Fprev-lock.json\nPREV_VERSION=$(cat \u002Ftmp\u002Fprev-lock.json | jq -r '.packages[\"node_modules\u002F@deepgram\u002Fsdk\"].version')\necho \"Rolling back to: $PREV_VERSION\"\n\n# Confirm\nread -p \"Proceed with rollback? (y\u002Fn) \" -n 1 -r\necho\nif [[ ! $REPLY =~ ^[Yy]$ ]]; then\n  exit 1\nfi\n\n# Rollback\nnpm install @deepgram\u002Fsdk@$PREV_VERSION --save-exact\n\n# Verify\nnpm test\n\necho \"Rollback complete. Deploy when ready.\"\n```\n\n## Migration Validation\n\n### Validation Script\n```typescript\n\u002F\u002F scripts\u002Fvalidate-migration.ts\nimport { createClient } from '@deepgram\u002Fsdk';\n\ninterface ValidationResult {\n  test: string;\n  passed: boolean;\n  details?: string;\n}\n\nasync function validateMigration(): Promise\u003CValidationResult[]> {\n  const results: ValidationResult[] = [];\n  const client = createClient(process.env.DEEPGRAM_API_KEY!);\n\n  \u002F\u002F Test 1: API connectivity\n  try {\n    const { error } = await client.manage.getProjects();\n    results.push({\n      test: 'API Connectivity',\n      passed: !error,\n      details: error?.message,\n    });\n  } catch (err) {\n    results.push({\n      test: 'API Connectivity',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  \u002F\u002F Test 2: Pre-recorded transcription\n  try {\n    const { result, error } = await client.listen.prerecorded.transcribeUrl(\n      { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n      { model: 'nova-2', smart_format: true }\n    );\n\n    results.push({\n      test: 'Pre-recorded Transcription',\n      passed: !error && !!result?.results?.channels?.[0]?.alternatives?.[0]?.transcript,\n      details: error?.message,\n    });\n  } catch (err) {\n    results.push({\n      test: 'Pre-recorded Transcription',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  \u002F\u002F Test 3: Live transcription connection\n  try {\n    const connection = client.listen.live({ model: 'nova-2' });\n\n    await new Promise\u003Cvoid>((resolve, reject) => {\n      connection.on('open', () => {\n        connection.finish();\n        resolve();\n      });\n      connection.on('error', reject);\n      setTimeout(() => reject(new Error('Timeout')), 10000);\n    });\n\n    results.push({\n      test: 'Live Transcription',\n      passed: true,\n    });\n  } catch (err) {\n    results.push({\n      test: 'Live Transcription',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  return results;\n}\n\n\u002F\u002F Run validation\nvalidateMigration().then(results => {\n  console.log('\\n=== Migration Validation Results ===\\n');\n\n  for (const result of results) {\n    const status = result.passed ? 'PASS' : 'FAIL';\n    console.log(`[${status}] ${result.test}`);\n    if (result.details) {\n      console.log(`       ${result.details}`);\n    }\n  }\n\n  const allPassed = results.every(r => r.passed);\n  process.exit(allPassed ? 0 : 1);\n});\n```\n\n## Resources\n- [Deepgram SDK Changelog](https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdeepgram-js-sdk\u002Freleases)\n- [Deepgram Python SDK Changelog](https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdeepgram-python-sdk\u002Freleases)\n- [Model Migration Guide](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Fmodel-migration)\n- [API Deprecation Schedule](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Fdeprecation)\n\n## Next Steps\nProceed to `deepgram-ci-integration` for CI\u002FCD integration.\n","# Deepgram Upgrade Migration\n\n## Overview\nGuide for planning and executing Deepgram SDK upgrades and API migrations safely.\n\n## Prerequisites\n- Current SDK version documented\n- Test environment available\n- Rollback plan prepared\n- Changelog reviewed\n\n## Migration Types\n\n### 1. SDK Version Upgrade\nUpgrading the Deepgram SDK package (e.g., v2.x to v3.x)\n\n### 2. Model Migration\nTransitioning between transcription models (e.g., Nova to Nova-2)\n\n### 3. API Version Migration\nMoving between API versions (v1 to v2)\n\n## Instructions\n\n### Step 1: Assess Current State\nDocument current versions, configurations, and usage patterns.\n\n### Step 2: Review Breaking Changes\nCheck changelogs and migration guides for breaking changes.\n\n### Step 3: Plan Migration\nCreate detailed migration plan with rollback procedures.\n\n### Step 4: Test Thoroughly\nTest in staging environment before production rollout.\n\n### Step 5: Execute Migration\nPerform migration with monitoring and validation.\n\n## SDK Upgrade Guide\n\n### Check Current Version\n```bash\n# Node.js\nnpm list @deepgram\u002Fsdk\n\n# Python\npip show deepgram-sdk\n```\n\n### Review Changelog\n```bash\n# View npm package changelog\nnpm view @deepgram\u002Fsdk versions --json\n\n# Or check GitHub releases\ncurl -s https:\u002F\u002Fapi.github.com\u002Frepos\u002Fdeepgram\u002Fdeepgram-js-sdk\u002Freleases\u002Flatest\n```\n\n### TypeScript SDK v2 to v3 Migration\n```typescript\n\u002F\u002F v2 (old)\nimport Deepgram from '@deepgram\u002Fsdk';\nconst deepgram = new Deepgram(apiKey);\nconst response = await deepgram.transcription.preRecorded(\n  { url: audioUrl },\n  { punctuate: true }\n);\n\n\u002F\u002F v3 (new)\nimport { createClient } from '@deepgram\u002Fsdk';\nconst deepgram = createClient(apiKey);\nconst { result, error } = await deepgram.listen.prerecorded.transcribeUrl(\n  { url: audioUrl },\n  { punctuate: true }\n);\n```\n\n### Breaking Changes Checklist\n```typescript\n\u002F\u002F lib\u002Fmigration-check.ts\ninterface MigrationCheck {\n  name: string;\n  check: () => boolean;\n  fix: string;\n}\n\nconst v3MigrationChecks: MigrationCheck[] = [\n  {\n    name: 'Import statement',\n    check: () => {\n      \u002F\u002F Check if old import style is used\n      return true;\n    },\n    fix: 'Change: import Deepgram from \"@deepgram\u002Fsdk\" to import { createClient } from \"@deepgram\u002Fsdk\"',\n  },\n  {\n    name: 'Client initialization',\n    check: () => true,\n    fix: 'Change: new Deepgram(key) to createClient(key)',\n  },\n  {\n    name: 'Transcription method',\n    check: () => true,\n    fix: 'Change: deepgram.transcription.preRecorded() to deepgram.listen.prerecorded.transcribeUrl()',\n  },\n  {\n    name: 'Response handling',\n    check: () => true,\n    fix: 'Change: const response = await ... to const { result, error } = await ...',\n  },\n  {\n    name: 'Error handling',\n    check: () => true,\n    fix: 'Handle error in destructured response instead of try\u002Fcatch only',\n  },\n];\n\nexport function runMigrationChecks() {\n  console.log('=== SDK v3 Migration Checklist ===\\n');\n  for (const check of v3MigrationChecks) {\n    console.log(`[ ] ${check.name}`);\n    console.log(`    Fix: ${check.fix}\\n`);\n  }\n}\n```\n\n## Model Migration Guide\n\n### Nova to Nova-2 Migration\n```typescript\n\u002F\u002F Model comparison\nconst modelComparison = {\n  'nova': {\n    accuracy: 'Good',\n    speed: 'Fast',\n    languages: 36,\n    deprecated: false,\n  },\n  'nova-2': {\n    accuracy: 'Best',\n    speed: 'Fast',\n    languages: 47,\n    deprecated: false,\n  },\n};\n\n\u002F\u002F Migration is simple - just change the model parameter\nconst { result, error } = await deepgram.listen.prerecorded.transcribeUrl(\n  { url: audioUrl },\n  {\n    model: 'nova-2',  \u002F\u002F Changed from 'nova'\n    \u002F\u002F All other options remain the same\n    smart_format: true,\n    punctuate: true,\n    diarize: true,\n  }\n);\n```\n\n### A\u002FB Testing Models\n```typescript\n\u002F\u002F lib\u002Fmodel-ab-test.ts\ninterface ModelTestResult {\n  model: string;\n  transcript: string;\n  confidence: number;\n  processingTime: number;\n}\n\nexport async function compareModels(\n  audioUrl: string,\n  models: string[] = ['nova', 'nova-2']\n): Promise\u003CModelTestResult[]> {\n  const client = createClient(process.env.DEEPGRAM_API_KEY!);\n  const results: ModelTestResult[] = [];\n\n  for (const model of models) {\n    const startTime = Date.now();\n\n    const { result, error } = await client.listen.prerecorded.transcribeUrl(\n      { url: audioUrl },\n      { model, smart_format: true }\n    );\n\n    if (error) {\n      console.error(`Error with model ${model}:`, error);\n      continue;\n    }\n\n    const alternative = result.results.channels[0].alternatives[0];\n\n    results.push({\n      model,\n      transcript: alternative.transcript,\n      confidence: alternative.confidence,\n      processingTime: Date.now() - startTime,\n    });\n  }\n\n  return results;\n}\n\n\u002F\u002F Compare results\nfunction analyzeResults(results: ModelTestResult[]) {\n  console.log('\\n=== Model Comparison ===\\n');\n\n  for (const result of results) {\n    console.log(`Model: ${result.model}`);\n    console.log(`  Confidence: ${(result.confidence * 100).toFixed(2)}%`);\n    console.log(`  Processing Time: ${result.processingTime}ms`);\n    console.log(`  Transcript Length: ${result.transcript.length} chars`);\n    console.log();\n  }\n\n  \u002F\u002F Find best model\n  const best = results.reduce((a, b) =>\n    a.confidence > b.confidence ? a : b\n  );\n  console.log(`Best Model: ${best.model} (${(best.confidence * 100).toFixed(2)}% confidence)`);\n}\n```\n\n## Rollback Plan\n\n### Prepare Rollback\n```typescript\n\u002F\u002F lib\u002Frollback.ts\ninterface DeploymentVersion {\n  sdkVersion: string;\n  model: string;\n  config: Record\u003Cstring, unknown>;\n  deployedAt: Date;\n}\n\nclass RollbackManager {\n  private versions: DeploymentVersion[] = [];\n  private maxVersions = 5;\n\n  recordDeployment(version: Omit\u003CDeploymentVersion, 'deployedAt'>) {\n    this.versions.unshift({\n      ...version,\n      deployedAt: new Date(),\n    });\n\n    \u002F\u002F Keep only last N versions\n    this.versions = this.versions.slice(0, this.maxVersions);\n  }\n\n  getLastStableVersion(): DeploymentVersion | null {\n    return this.versions[1] || null; \u002F\u002F Skip current version\n  }\n\n  getRollbackInstructions(target: DeploymentVersion): string[] {\n    return [\n      `1. Update package.json: \"@deepgram\u002Fsdk\": \"${target.sdkVersion}\"`,\n      `2. Run: npm install`,\n      `3. Update config: model = \"${target.model}\"`,\n      `4. Verify: npm test`,\n      `5. Deploy: npm run deploy`,\n      `6. Monitor: Check dashboards for 30 minutes`,\n    ];\n  }\n}\n```\n\n### Emergency Rollback Script\n```bash\n#!\u002Fbin\u002Fbash\n# scripts\u002Femergency-rollback.sh\n\nset -e\n\necho \"=== Emergency Rollback ===\"\n\n# Store current version\nCURRENT_VERSION=$(npm list @deepgram\u002Fsdk --json | jq -r '.dependencies[\"@deepgram\u002Fsdk\"].version')\necho \"Current version: $CURRENT_VERSION\"\n\n# Get previous version from git\ngit show HEAD~1:package-lock.json > \u002Ftmp\u002Fprev-lock.json\nPREV_VERSION=$(cat \u002Ftmp\u002Fprev-lock.json | jq -r '.packages[\"node_modules\u002F@deepgram\u002Fsdk\"].version')\necho \"Rolling back to: $PREV_VERSION\"\n\n# Confirm\nread -p \"Proceed with rollback? (y\u002Fn) \" -n 1 -r\necho\nif [[ ! $REPLY =~ ^[Yy]$ ]]; then\n  exit 1\nfi\n\n# Rollback\nnpm install @deepgram\u002Fsdk@$PREV_VERSION --save-exact\n\n# Verify\nnpm test\n\necho \"Rollback complete. Deploy when ready.\"\n```\n\n## Migration Validation\n\n### Validation Script\n```typescript\n\u002F\u002F scripts\u002Fvalidate-migration.ts\nimport { createClient } from '@deepgram\u002Fsdk';\n\ninterface ValidationResult {\n  test: string;\n  passed: boolean;\n  details?: string;\n}\n\nasync function validateMigration(): Promise\u003CValidationResult[]> {\n  const results: ValidationResult[] = [];\n  const client = createClient(process.env.DEEPGRAM_API_KEY!);\n\n  \u002F\u002F Test 1: API connectivity\n  try {\n    const { error } = await client.manage.getProjects();\n    results.push({\n      test: 'API Connectivity',\n      passed: !error,\n      details: error?.message,\n    });\n  } catch (err) {\n    results.push({\n      test: 'API Connectivity',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  \u002F\u002F Test 2: Pre-recorded transcription\n  try {\n    const { result, error } = await client.listen.prerecorded.transcribeUrl(\n      { url: 'https:\u002F\u002Fstatic.deepgram.com\u002Fexamples\u002Fnasa-podcast.wav' },\n      { model: 'nova-2', smart_format: true }\n    );\n\n    results.push({\n      test: 'Pre-recorded Transcription',\n      passed: !error && !!result?.results?.channels?.[0]?.alternatives?.[0]?.transcript,\n      details: error?.message,\n    });\n  } catch (err) {\n    results.push({\n      test: 'Pre-recorded Transcription',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  \u002F\u002F Test 3: Live transcription connection\n  try {\n    const connection = client.listen.live({ model: 'nova-2' });\n\n    await new Promise\u003Cvoid>((resolve, reject) => {\n      connection.on('open', () => {\n        connection.finish();\n        resolve();\n      });\n      connection.on('error', reject);\n      setTimeout(() => reject(new Error('Timeout')), 10000);\n    });\n\n    results.push({\n      test: 'Live Transcription',\n      passed: true,\n    });\n  } catch (err) {\n    results.push({\n      test: 'Live Transcription',\n      passed: false,\n      details: err instanceof Error ? err.message : 'Unknown error',\n    });\n  }\n\n  return results;\n}\n\n\u002F\u002F Run validation\nvalidateMigration().then(results => {\n  console.log('\\n=== Migration Validation Results ===\\n');\n\n  for (const result of results) {\n    const status = result.passed ? 'PASS' : 'FAIL';\n    console.log(`[${status}] ${result.test}`);\n    if (result.details) {\n      console.log(`       ${result.details}`);\n    }\n  }\n\n  const allPassed = results.every(r => r.passed);\n  process.exit(allPassed ? 0 : 1);\n});\n```\n\n## Resources\n- [Deepgram SDK Changelog](https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdeepgram-js-sdk\u002Freleases)\n- [Deepgram Python SDK Changelog](https:\u002F\u002Fgithub.com\u002Fdeepgram\u002Fdeepgram-python-sdk\u002Freleases)\n- [Model Migration Guide](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Fmodel-migration)\n- [API Deprecation Schedule](https:\u002F\u002Fdevelopers.deepgram.com\u002Fdocs\u002Fdeprecation)\n\n## Next Steps\nProceed to `deepgram-ci-integration` for CI\u002FCD integration.\n",{"name":5,"author":52,"license":15,"version":53,"description":54,"allowed-tools":55},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Plan and execute Deepgram SDK upgrades and migrations.\nUse when upgrading SDK versions, migrating to new API versions,\nor transitioning between Deepgram models.\nTrigger with phrases like \"upgrade deepgram\", \"deepgram migration\",\n\"update deepgram SDK\", \"deepgram version upgrade\", \"migrate deepgram\".\n","Read, Grep, Bash(curl:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-upgrade-migration",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-upgrade-migration",{"tool":71,"command":72},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-upgrade-migration",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill deepgram-upgrade-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fdeepgram-pack\u002Fskills\u002Fdeepgram-upgrade-migration\u002FSKILL.md",true,[],[80,113,148,171,197,222],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":93,"publishedAt":112},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[88],{"categoryNo":89,"categoryName":90,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,32,110,111],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","you","fonts","2026-11-11 15:11:14",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":123,"publishedAt":47},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[120],{"categoryNo":121,"categoryName":122,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000009","前端开发",[124,125,100,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,38,105,141,142,143,144,145,146,147],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","for","jsx","suite",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":152,"sourceHtmlUrl":153,"categories":154,"keywords":159,"publishedAt":47},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[155,158],{"categoryNo":156,"categoryName":157,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":121,"categoryName":122,"taxonomyType":91,"taxonomyTypeDesc":92},[160,161,162,128,163,164,125,165,98,166,138,167,168,169,170,32,145],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":175,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":47},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[179,180,181,182,183,184,185,186,38,187,188,189,190,191,192,193,32,194,195,196,145,30],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":201,"sourceHtmlUrl":202,"categories":203,"keywords":207,"publishedAt":47},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[204],{"categoryNo":205,"categoryName":206,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000023","Skill与智能体开发",[208,209,210,211,46,212,213,214,215,216,217,218,219,220,32,145,221,30,28],"skill creator","creator","workflows","create","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":226,"sourceHtmlUrl":227,"categories":228,"keywords":230,"publishedAt":47},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[229],{"categoryNo":205,"categoryName":206,"taxonomyType":91,"taxonomyTypeDesc":92},[224,231,232,233,234,235,236,166,237,238,38,239,240,241,242,145,243],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]