agentsclimarketplace

Assemblyai prod checklist

Skill jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/assemblyai-pack/skills/assemblyai-prod-checklist

425 plugins, 2,810 skills, 200 agents for Claude Code. Open-source marketplace at tonsofskills.com with the ccpi CLI package manager.

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill assemblyai-prod-checklist

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

'Execute AssemblyAI production deployment checklist and rollback procedures.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.9 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

AssemblyAI Production Checklist

Overview

Complete checklist for deploying AssemblyAI-powered transcription services to production with health checks, monitoring, and rollback procedures.

Prerequisites

Instructions

Pre-Deployment Checklist

API Key & Auth

  • Production API key stored in secrets manager (not env files)
  • Key is separate from dev/staging keys
  • Temporary token endpoint configured for browser streaming
  • API key rotation procedure documented

Code Quality

  • All transcript.status === 'error' cases handled
  • Rate limit retry with exponential backoff implemented
  • No hardcoded API keys or audio URLs
  • PII redaction enabled for sensitive audio content
  • Webhook URL uses HTTPS
  • Audio file upload size validated before submission

Error Handling

  • 429 (rate limit) triggers retry with backoff
  • 5xx (server error) triggers retry with backoff
  • 401 (auth error) triggers alert, no retry
  • transcript.status === 'error' logged with transcript ID and error message
  • WebSocket disconnect triggers reconnection for streaming
  • LeMUR errors handled (invalid transcript ID, context too long)

Performance

  • Transcript results cached where appropriate
  • Concurrent transcription jobs limited via queue (p-queue or similar)
  • Webhook processing is async (don't block the response)
  • Long audio files processed with webhook_url instead of polling

Health Check Implementation

import { AssemblyAI } from 'assemblyai';

const client = new AssemblyAI({
  apiKey: process.env.ASSEMBLYAI_API_KEY!,
});

export async function healthCheck(): Promise<{
  status: 'healthy' | 'degraded' | 'down';
  assemblyai: { connected: boolean; latencyMs: number };
}> {
  const start = Date.now();
  try {
    // List transcripts as a lightweight connectivity check
    await client.transcripts.list({ limit: 1 });
    return {
      status: 'healthy',
      assemblyai: { connected: true, latencyMs: Date.now() - start },
    };
  } catch (error) {
    return {
      status: 'degraded',
      assemblyai: { connected: false, latencyMs: Date.now() - start },
    };
  }
}

Webhook-Based Processing (Recommended for Production)

// Instead of polling, use webhooks for transcription completion
const transcript = await client.transcripts.submit({
  audio: audioUrl,
  webhook_url: 'https://your-app.com/webhooks/assemblyai',
  webhook_auth_header_name: 'X-Webhook-Secret',
  webhook_auth_header_value: process.env.ASSEMBLYAI_WEBHOOK_SECRET!,
  speaker_labels: true,
  sentiment_analysis: true,
});

console.log('Submitted:', transcript.id, '(webhook will fire on completion)');
// Webhook handler
import express from 'express';

app.post('/webhooks/assemblyai', express.json(), async (req, res) => {
  // Verify auth header
  const secret = req.headers['x-webhook-secret'];
  if (secret !== process.env.ASSEMBLYAI_WEBHOOK_SECRET) {
    return res.status(401).json({ error: 'Unauthorized' });
  }

  const { transcript_id, status } = req.body;

  if (status === 'completed') {
    // Fetch full transcript
    const transcript = await client.transcripts.get(transcript_id);
    await processCompletedTranscript(transcript);
  } else if (status === 'error') {
    console.error(`Transcript ${transcript_id} failed:`, req.body.error);
    await handleFailedTranscript(transcript_id, req.body.error);
  }

  res.status(200).json({ received: true });
});

Monitoring & Alerting

AlertConditionSeverity
API unreachableHealth check fails 3x consecutiveP1
High error rate>5% of transcriptions failP2
Rate limited429 errors > 5/minP2
Auth failureAny 401 responseP1
Slow transcriptionQueue wait > 5 minP3
Webhook delivery failureWebhook retries exhaustedP2

Gradual Rollout

# 1. Pre-flight: verify AssemblyAI API is healthy
curl -s https://status.assemblyai.com/api/v2/status.json | jq '.status.description'

# 2. Deploy to canary (10% traffic)
# 3. Monitor error rate and latency for 10 minutes
# 4. If healthy, roll to 50%, then 100%
# 5. Keep previous version ready for instant rollback

Output

  • Production-ready deployment with health checks
  • Webhook-based transcription processing
  • Monitoring and alerting configuration
  • Gradual rollout strategy

Error Handling

IssueDetectionResponse
API key invalid in prod401 on first callRotate key immediately
Transcription backlogQueue size growingScale workers, check rate limits
Webhook endpoint downMissed completion eventsPoll for stuck transcripts
Audio upload timeoutLarge file failuresIncrease timeout, validate file size

Resources

Next Steps

For version upgrades, see assemblyai-upgrade-migration.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.