/speak-pack:speak-upgrade-migrationfrom speak-pack
Upgrades Speak SDK versions, migrates between language learning platforms (Duolingo/Babbel), and handles API version changes. Useful when updating Speak integrations or troubleshooting API compatibility.
Ships in speak-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Upgrade Speak SDK versions, migrate between language learning platforms, and handle API version changes.
speak-install-auth setup!npm list @speak/language-sdk 2>/dev/null || echo 'Speak SDK not installed'
npm list @speak/language-sdk
npm outdated @speak/language-sdk
npm install @speak/language-sdk@latest
npm test # Run tests to verify compatibility
// Check for deprecated endpoints
const DEPRECATED_ENDPOINTS = [
'/v1/lessons/start', // Replaced by /v1/conversations/start
'/v1/speech/score', // Replaced by /v1/pronunciation/assess
];
// Migration map
const ENDPOINT_MIGRATION = {
'/v1/lessons/start': '/v1/conversations/start',
'/v1/speech/score': '/v1/pronunciation/assess',
};
// Map learning data between platforms
interface MigrationMapper {
mapProficiencyLevel(source: string): 'beginner' | 'intermediate' | 'advanced';
mapLanguageCode(source: string): string;
mapProgress(source: any): SpeakProgress;
}
const duolingoMapper: MigrationMapper = {
mapProficiencyLevel(crowns: string) {
const c = parseInt(crowns);
if (c < 3) return 'beginner';
if (c < 6) return 'intermediate';
return 'advanced';
},
mapLanguageCode: (code) => code, // Same ISO codes
mapProgress: (duo) => ({
vocabulary: duo.words_learned,
level: duolingoMapper.mapProficiencyLevel(duo.crowns),
}),
};
npm test
node -e "const s = require('@speak/language-sdk'); console.log('SDK version:', s.version || 'loaded OK')"
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid API key | Verify SPEAK_API_KEY environment variable |
| 429 Rate Limited | Too many requests | Wait Retry-After seconds, use backoff |
| Audio format error | Wrong codec/sample rate | Convert to WAV 16kHz mono with ffmpeg |
| Session expired | Timeout after 30 min | Start a new conversation session |
See speak-prod-checklist for production readiness.
Basic: Apply upgrade migration with default configuration for a standard Speak integration.
Advanced: Customize for production with error recovery, monitoring, and team-specific requirements.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/speak-ci-integrationGitHub Actions pipeline for Speak integrations with mocked API tests and audio validation.
Use when implementing ci integration,
or managing Speak language learning platform operations.
Trigger with phrases like "speak ci integration", "speak ci integration".
/speak-common-errorsDiagnose and fix common Speak API errors: authentication failures, audio format issues, rate limits, and session management problems.
Use when implementing common errors features,
or troubleshooting Speak language learning integration issues.
Trigger with phrases like "speak common errors", "speak common errors".
/speak-npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin speak-packOther plugins' skills for the same job