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

  1. Install globally with the skills CLI

    npx skills add https://github.com/mhaviv/Swift-FocusEngine-Agent-Skill --skill swift-focusengine-pro -g -y
  2. Skills 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

Claude CodeCursorCodex

Listed in

swiftskills.devtwostraws/Swift-Agent-Skills

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