speak-sdk-patterns

Solid

Production patterns for Speak language learning API: conversation sessions, pronunciation assessment, audio preprocessing, and batch operations. Use when implementing sdk patterns features, or troubleshooting Speak language learning integration issues. Trigger with phrases like "speak sdk patterns", "speak sdk patterns".

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

# Speak SDK Patterns ## Overview Production patterns for Speak language learning API: conversation sessions, pronunciation assessment, audio preprocessing, and batch operations. ## Prerequisites - Completed `speak-install-auth` setup - Valid API credentials configured - ffmpeg installed for audio processing ## Instructions ### Pattern 1: Conversation Session Manager ```typescript class ConversationManager { private client: SpeakClient; private sessions: Map<string, SessionState> = new Map(); async startLesson(language: string, scenario: string, level: string) { const session = await this.client.startConversation({ scenario, language, level, nativeLanguage: 'en', }); this.sessions.set(session.id, { turns: [], startTime: Date.now(), language, }); return session; } async submitResponse(sessionId: string, audioPath: string) { const turn = await this.client.sendTurn(sessionId, { audioPath }); this.sessions.get(sessionId)?.turns.push(turn); return turn; } async endAndReport(sessionId: string) { const summary = await this.client.endSession(sessionId); const state = this.sessions.get(sessionId)!; return { ...summary, duration: (Date.now() - state.startTime) / 1000, totalTurns: state.turns.length, avgPronunciation: state.turns.reduce((s, t) => s + (t.pronunciationScore || 0), 0) / state.turns.length, }; } } ``` ### Pattern 2: Audio Preprocessor ```typescript import { exe...

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 Solid

speak-performance-tuning

Optimize Speak API latency with audio preprocessing, response caching, and connection pooling. Use when implementing performance tuning, or managing Speak language learning platform operations. Trigger with phrases like "speak performance tuning", "speak performance tuning".

2,266 Updated today
jeremylongshore
AI & Automation Solid

speak-core-workflow-a

Execute Speak primary workflow: AI Conversation Practice with real-time feedback. Use when implementing conversation practice features, building AI tutor interactions, or core language learning dialogue systems. Trigger with phrases like "speak conversation practice", "speak AI tutor", "speak dialogue", "primary speak workflow".

2,266 Updated today
jeremylongshore
AI & Automation Solid

speak-security-basics

Security best practices for Speak API keys, audio data privacy, student data protection, and COPPA/FERPA compliance. Use when implementing security basics features, or troubleshooting Speak language learning integration issues. Trigger with phrases like "speak security basics", "speak security basics".

2,266 Updated today
jeremylongshore
AI & Automation Solid

speak-core-workflow-b

Execute Speak secondary workflow: Pronunciation Training with phoneme-level analysis. Use when implementing pronunciation drills, speech scoring, or targeted pronunciation improvement features. Trigger with phrases like "speak pronunciation training", "speak speech scoring", "speak phoneme analysis".

2,266 Updated today
jeremylongshore
AI & Automation Solid

speak-data-handling

Handle student audio data, assessment records, and learning progress with GDPR/COPPA compliance. Use when implementing data handling, or managing Speak language learning platform operations. Trigger with phrases like "speak data handling", "speak data handling".

2,266 Updated today
jeremylongshore