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+.
npx skills add dpearson2699/swift-ios-skills --skill speech-recognition --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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+)](#speechanalyzer-strategy-ios-26) - [SFSpeechRecognizer Setup](#sfspeechrecognizer-setup) - [Authorization](#authorization) - [Live Microphone Transcription](#live-microphone-transcription) - [Pre-Recorded Audio File Recognition](#pre-recorded-audio-file-recognition) - [On-Device vs Server Recognition](#on-device-vs-server-recognition) - [Handling Results](#handling-results) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## SpeechAnalyzer Strategy (iOS 26+) Use `SpeechAnalyzer` for modern
- Contents
- SpeechAnalyzer Strategy (iOS 26+)
- SpeechAnalyzer setup checklist
- SFSpeechRecognizer Setup
- Creating a recognizer with locale
- Monitoring availability changes
- Authorization
- Live Microphone Transcription
- Pre-Recorded Audio File Recognition
- On-Device vs Server Recognition
- Handling Results
- Partial vs final results
- Accessing alternative transcriptions and confidence
- Adding punctuation (iOS 16+)
What does the speech-recognition skill do?
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+.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill speech-recognition --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.