Swift FocusEngine Pro
Agent skill for getting focus management right on tvOS, iOS, macOS, visionOS and watchOS.
View on GitHub ↗- Stars
- ★ 22
- Last commit
- 31 Aug 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- Agent Skills
- GitHub
- mhaviv/Swift-FocusEngine-Agent-Skill
Overview
Swift FocusEngine Pro is a free agent skill that helps AI coding assistants write correct focus management code across Apple platforms. It covers tvOS, iOS, iPadOS, watchOS, visionOS and macOS, in SwiftUI, UIKit, AppKit and RealityKit. It targets the mistakes models often make with Apple's geometric focus engine and is especially useful for tvOS developers.
Features
- Reviews, writes and fixes focus code for all Apple platforms
- Explains why focus jumps unexpectedly, such as items that are not aligned
- Covers hover, key view loops and Digital Crown navigation
- Based on shipping tvOS apps, Apple documentation and WWDC sessions from 2017 to 2025
Requirements
The source doesn't list any requirements, so check the project's own docs before you install.
Install
Install globally with the skills CLI
npx skills add https://github.com/mhaviv/Swift-FocusEngine-Agent-Skill --skill swift-focusengine-pro -g -ySkills are local copies, so update them with
npx skills update -g -y
Example
In Claude Code, run "/swift-focusengine-pro Review this view for tvOS focus issues".
Works with
Listed in
- github.com/mhaviv/Swift-FocusEngine-Agent-Skill
- raw.githubusercontent.com/mhaviv/Swift-FocusEngine-Agent-Skill/HEAD/README.md
- raw.githubusercontent.com/mhaviv/Swift-FocusEngine-Agent-Skill/HEAD/SKILL.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
App Store Screenshots
Sets up a small Next.js editor for making framed App Store and Google Play screenshots across Apple devices and locales.
SwiftUI Pro
Paul Hudson's SwiftUI skill, aimed at the mistakes models often make with navigation, layout, state, VoiceOver and deprecated APIs.
Dimillian Skills
Thomas Ricouard's skill pack: SwiftUI performance audits, Liquid Glass, view refactors, Swift concurrency fixes, App Store release notes and simulator debugging.