
Description
Focus Engine is an agent skill that implements keyboard, directional and scene-level focus behavior in SwiftUI and UIKit apps. It targets iOS 26 and later, along with iPadOS, macOS, tvOS and visionOS connected-input paths. It covers keyboard focus, directional focus for remotes and game controllers, scene-focused values, focus restoration and UIKit focus guides. It is used when a developer manages @FocusState, defaultFocus, focused values or focus sections. The skill notes some platform limits. Its focusSection guidance applies to macOS and tvOS. On visionOS, gaze-driven hover is treated as an input affordance rather than focus. It draws a boundary with accessibility work. Focus for VoiceOver and Switch Control belongs to a separate iOS accessibility skill, and this skill gives only a brief handoff for those cases. The skill is published by dpearson2699/swift-ios-skills on skills.sh with about 2.9K installs and 1.3K GitHub stars for the repository. Its security audits all pass.…
Highlights
- Keyboard, directional and scene-level focus
- SwiftUI @FocusState and defaultFocus
- UIKit focus guides and focus restoration
- Covers remote and game-controller input
- Clear boundary with VoiceOver and Switch Control
Ratings & Reviews
No ratings yet
Be the first to rate focus-engine.
People also visit

swiftui-design-principles
Design principles for building polished, native-feeling SwiftUI apps and widgets

compose-focus-navigation
Writing or reviewing Jetpack Compose UI for TV, keyboard, desktop

swiftui-layout-components
Build SwiftUI layouts using stacks, grids, lists, scroll views, forms
focus-engine FAQ
What is the Focus Engine skill?
It is an agent skill that implements focus behavior for keyboard, remote and scene input in SwiftUI and UIKit apps.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill focus-engine in your project.
Which platforms does it target?
iOS 26 and later, iPadOS, macOS, tvOS and visionOS connected-input paths.
Does it cover VoiceOver?
No. VoiceOver and Switch Control focus belongs to a separate iOS accessibility skill, and this one gives only a brief handoff.
Does the skill pass its security audits?
Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best focus-engine alternatives?
Popular alternatives to focus-engine include axiom-swiftui, swiftui-design-principles and compose-focus-navigation. See all focus-engine alternatives












