apple

Implements and reviews SwiftUI, Swift concurrency, and SwiftData code for Apple platforms.

22|Updated Sep 10, 2026
One-click install
npx skills add https://github.com/Lynricsy/HyperSkills --skill apple-lynricsy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: apple
Source: https://github.com/Lynricsy/HyperSkills/tree/main/skills/apple
Command: npx skills add https://github.com/Lynricsy/HyperSkills --skill apple-lynricsy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? SwiftUI and Swift concurrency code often compiles while hiding real defects: soft-deprecated APIs that never warn, @State that silently ignores parent updates, actor reentrancy races, and Liquid Glass surfaces that render flat. This Skill encodes the always-a-bug rules, version floors, and review workflows needed to catch those defects and write correct Apple platform code the first time. ## Core Features & Use Cases - Implement and review workflows: Step-by-step checklists for building SwiftUI views and running a nine-topic code review covering data flow, lists, navigation, animation, Liquid Glass, accessibility, concurrency, SwiftData, and tests, with a fixed before/after output format. - Soft-deprecated API index: A lookup table of APIs that compile without warnings (e.g. foregroundColor, NavigationView) mapped to their modern replacements, plus verified iOS 26/27 additions, breakages, and fabricated APIs to never emit. - Instruments trace analysis: macOS scripts that record .trace bundles via xctrace and analyze hangs, hitches, and SwiftUI view invalidation causes with evidence-backed recommendations. - Swift 6 migration: A diagnostic-to-fix mapping and smallest-safe-change ladder for strict concurrency migration, one error category at a time. - Use Case: Ask it to review a SwiftUI view before shipping; it flags the @State property receiving a parent-passed value, the ForEach using index-based identity, and the ungated iOS 26 API, each with a file, line, and before/after fix. ## Quick Start Ask the agent to review your SwiftUI view file for iOS 26 correctness, data flow, and accessibility issues.

Frequently Asked Questions about apple

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

FAQPage Schema
How do I review SwiftUI code for common bugs?▼

Run the review workflow, which checks views in a fixed order: deprecated APIs, view structure, data flow ownership, ForEach identity, navigation, animation, Liquid Glass, accessibility, concurrency, and SwiftData. Every finding includes a file, line, the rule broken, and a before/after code fix.

How do I migrate a Swift project to Swift 6 strict concurrency?▼

Read the target's language mode and isolation settings first, then build to collect diagnostics and map each to a fix. Fix one category at a time, such as all Sendable errors before isolation errors, rebuilding after each, and prefer the smallest safe change over refactoring.

Why does my @State property not update when the parent passes a new value?▼

A value passed in by a parent must never be stored in @State or @StateObject, because the property ignores every update after the first render. Use a plain let or var input, or @Binding when the child must write back.

Does Liquid Glass work on visionOS and older iOS versions?▼

No. glassEffect, GlassEffectContainer, and related symbols are marked unavailable on visionOS, and the floor is iOS 26.0 and macOS 26.0. Gate every glass API per platform with #available and provide a Material fallback.

Can I record and analyze Instruments traces from the command line?▼

Yes, on macOS with Xcode installed. The record_trace.py script wraps xctrace record with device selection and stop-file control, and analyze_trace.py reports hangs, hitches, and which views invalidate a hot view. The SwiftUI lane requires a real device, not the Simulator.

What is a soft-deprecated SwiftUI API and why does the compiler not warn?▼

Soft-deprecated APIs carry a placeholder deprecation version in SDK headers, so they compile silently and persist in training data. The skill's latest-apis reference maps each one, such as foregroundColor or NavigationView, to its modern replacement and version floor.