Skills for Real Engineers. Straight from my .agents directory.
swiftui-expert-skill
Agent skill fromAvdLee/SwiftUI-Agent-Skill
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state and `@Observable` data flow, view composition, resizable layouts, safe areas, display scale, performance, lists, environment, localization, animation, Liquid Glass, and API migration. Also use for iPhone Duo, foldable, or large-display layouts (`NavigationSplitView` on large displays, iPhone tab sidebar, two-column reflow, foldable grids, `ArrangementView`, `ReservedRegion`), hinge effects, vertical bars, `@State` initialization or synthesized-property diagnostics, `@ContentBuilder` ambiguity, `reorderable` drag/drop, custom `AsyncImage` `URLSession`, swipe actions outside List, item-bound `alert`/`confirmationDialog`, `ToolbarOverflowMenu`, `AnimatableValues`, Document APIs (`Document`/`DocumentReader`), and Instruments `.trace` capture or analysis.
How to install swiftui-expert-skill
npx skills add AvdLee/SwiftUI-Agent-Skill# or add only this skill to Claude Code: copy the folder
skills/swiftui-expert-skill/
# into
~/.claude/skills/swiftui-expert-skill/ (all projects)
.claude/skills/swiftui-expert-skill/ (one project)
1# SwiftUI Expert Skill23## Operating Rules45- Treat each `View` type as an invalidation boundary: give it only the data it reads and keep frequently changing dependencies close to the smallest affected subtree6- Search `references/latest-apis.md` when writing, reviewing, or migrating API usage; look up only the APIs relevant to the task7- Replace hard-deprecated APIs with modern equivalents. During feature work, flag soft-deprecated APIs and leave them in place (see `references/soft-deprecation.md`)8- Prefer native SwiftUI APIs over UIKit/AppKit bridging unless bridging is necessary9- Focus on correctness and performance; do not enforce specific architectures (MVVM, VIPER, etc.)10- Encourage separating business logic from views for testability without mandating how11- Follow Apple's Human Interface Guidelines and API design patterns12- Only adopt Liquid Glass when explicitly requested by the user (see `references/liquid-glass.md`)13- Present performance optimizations as suggestions, not requirements14- Use `#available` gating with sensible fallbacks for version-specific APIs15- For layout and rendering inputs, read the value nearest the SwiftUI view that consumes it; do not substitute process-global screen state1617## Task Workflow1819### Review existing SwiftUI code20- Read the code under review and identify which topics apply21…
Excerpt shown under the repository's MIT license.
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
