Skip to content

Scene-scoped focus management for SwiftUI and UIKit covering keyboard, remote, and tvOS navigation.

CCM score
69 of 100
skills.sh installs
3K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers @FocusState, defaultFocus, focused and scene values, focusable interactions, focus sections, and focus restoration after presentations
  • Includes UIKit UIFocusGuide routing for tvOS and iOS layouts, with a note that UIFocusDebugger is used for diagnosis
  • Enforces a boundary that visionOS gaze and pointer targeting are treated as hover or input affordances rather than focus
  • Designed for developers building keyboard, Siri Remote, or Full Keyboard Access navigation, with VoiceOver handled by a separate accessibility skill

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill focus-engine -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Focus Engine

Focus behavior for SwiftUI and UIKit apps targeting iOS 26+, iPadOS, macOS, tvOS, and visionOS connected-input paths. Covers keyboard focus, directional focus, scene-focused values, focus restoration, and UIKit focus guides. focusSection() guidance in this skill applies to macOS and tvOS. visionOS gaze-driven hover is an input affordance, not focus. Accessibility-specific focus for VoiceOver and Switch Control lives in the ios-accessibility skill.

When a request mixes focus with accessibility or spatial input, keep the boundary explicit:

  • Use this skill for keyboard, remote, game-controller, and scene focus behavior.
  • For visionOS, describe gaze, direct touch, and pointer targeting as hover/input affordances, not focus.
  • For VoiceOver, Switch Control, Voice Control, or accessibility element ordering, give only a brief handoff to ios-accessibility.

Contents

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, Frontend & UI Code
First seen
Jun 3, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Focus Engine

More Mobile Apps