Agent skill · software engineering · dpearson2699
speech-recognition
Transcribe speech to text using Apple's Speech framework. Use when implementing live microphone transcription with AVAudioEngine, recognizing recorded audio files, handling speech and microphone authorization, choosing on-device vs server-backed SFSpeechRecognizer behavior, or adopting SpeechAnalyzer, SpeechTranscriber, DictationTranscriber, AssetInventory, and async result streams on iOS 26+.
Why this skill is useful
Provides specific implementation patterns and setup guidance for Apple's Speech framework that the AI wouldn't reliably generate on its own.
What it needs
Requires xcode installed locally. About 6k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.
What this skill does
Speech Recognition Transcribe live and pre-recorded audio to text using Apple's Speech framework. Covers SpeechAnalyzer / SpeechTranscriber (iOS 26+) and SFSpeechRecognizer (iOS 10+) fallback guidance. Scope boundary: Use this skill for speech-to-text recognition, speech authorization, microphone capture plumbing, and result handling. Hand off text analysis, language identification after transcription, sentiment, embeddings, and translation to natural-language; hand off audio playback UI to avkit; hand off summarization or generation over transcripts to apple-on-device-ai. Contents SpeechAnalyzer Strategy (iOS 26+) SFSpeechRecognizer Setup Authorization Live Microphone Transcription Pre-Recorded Audio File Recognition On-Device vs Server Recognition Handling Results Common Mistakes Review Checklist References SpeechAnalyzer Strategy (iOS 26+) Use SpeechAnalyzer for modern iOS 26+ speech analysis, especially long-form recordings, live transcription, time-indexed transcripts, and fully on-device flows. Keep SFSpeechRecognizer for iOS 10+ deployment targets, server-backed locale coverage, or existing callback/delegate implementations. Read SpeechAnalyzer patterns when implementing an iOS 26+ transcription pipeline, model asset handling, volatile results, or file/buffer examples. SpeechAnalyzer setup checklist 1. Choose the module: SpeechTranscriber for the newer general-purpose on-device model. DictationTranscriber when SpeechTranscriber is unavailable for the current device or locale and dictation-compatible support is acceptable. SpeechDetector only in conjunction with a transcriber when voice activity detection is worth the accuracy/power tradeoff. 2. Check support before creating the session: SpeechTranscriber.isAvailable SpeechTranscriber.supportedLocale(equivalentTo:) SpeechTranscriber.installedLocales / supportedLocales when showing language choices. 3. Pick a documented preset: .transcription for basic accurate transcription. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills dpearson2699/speech-recognition