ios-swiftui-app

Integrates SIMD-accelerated speech recognition and LLM chat into Android apps.

10|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill ios-swiftui-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-swiftui-app
Source: https://github.com/dongzhuoyao/tao-research-skills/tree/main/ios-swiftui-app
Command: npx skills add https://github.com/dongzhuoyao/tao-research-skills --skill ios-swiftui-app

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Building reliable iOS apps that combine SwiftUI views, UIKit bridging, terminal emulation, SSH connectivity, and voice/STT is complex and error-prone due to threading, audio session, terminal rendering, and credential storage pitfalls. This Skill captures battle-tested patterns and anti-patterns to avoid crashes, UI freezes, audio capture issues, and terminal layout drift when integrating these subsystems.

Core Features & Use Cases

  • Service architecture: @MainActor ObservableObject services for SSH, STT, and persistence with clear rules for background I/O and Task.detached usage.
  • Terminal integration: UIViewRepresentable wrappers for SwiftTerm with Coordinator patterns, ANSI filtering, DEC attribute handling, and adaptive column sizing.
  • Voice input & STT: AVAudioEngine capture, WAV encoding, Apple Speech and server transcription flows with timeout wrappers and double-resume guards.
  • Build & deployment: xcodegen + SPM project patterns, recommended SPM dependencies (SwiftTerm, Citadel) and simulator-safe build notes.
  • Credentials & storage: Keychain upsert patterns, UUID indexing for profiles, and UserDefaults persistence for model stores.
  • Use Case: Create a voice-controlled SSH terminal client that records audio, transcribes to text, and sends input to a remote PTY while maintaining robust UI and audio behavior.

Quick Start

Open your SwiftUI project, add a TerminalUIView wrapper, SSHService, and STTService following the patterns here to connect to a remote PTY and send voice transcriptions as input.

Frequently Asked Questions about ios-swiftui-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate an SSH terminal emulator into a SwiftUI iOS app?

You can integrate SSH terminal emulation into SwiftUI by using UIViewRepresentable wrappers for SwiftTerm with a Coordinator pattern. This handles terminal rendering, ANSI filtering, DEC attribute handling, and adaptive column sizing within your iOS app.

What's the best way to add voice transcription to a remote SSH terminal client?

Add voice transcription to a remote SSH terminal client by using AVAudioEngine for audio capture and WAV encoding. You then route the transcribed text from Apple Speech or server APIs directly to the remote PTY as input.

How do I prevent UI freezes when running SSH connectivity and audio capture in SwiftUI?

Prevent UI freezes by structuring your code with @MainActor ObservableObject services for SSH and STT, enforcing clear rules for background I/O, and utilizing Task.detached for intensive operations to maintain robust UI behavior.

Does Citadel work with SwiftTerm for building iOS SSH client applications?

Citadel works with SwiftTerm for building iOS SSH client applications when configured via Swift Package Manager. They combine to handle PTY shell processing and terminal rendering within your SwiftUI project architecture.

Why does my SwiftUI terminal layout drift or crash during voice input?

Terminal layout drift and crashes during voice input often stem from audio session pitfalls and threading issues. Apply timeout-protected transcription flows, double-resume guards, and strict @MainActor service patterns to avoid these errors.