Community-maintained Agent Skills for complete Swift and Apple-platform app delivery.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
Choose containers and controls that preserve identity, adapt across sizes, and remain accessible without unnecessary custom layout code.
This skill owns ordinary stacks, grids, lists, scroll views, forms, controls, search UI, and overlays. Route clipping, unintended overlap, keyboard obstruction, and adaptation across window sizes, orientation, Dynamic Type, or localization to swiftui-responsive-layout. Route state ownership to swiftui-patterns, navigation and modal policy to swiftui-navigation, gestures to swiftui-gestures, motion to swiftui-animation, and measured performance problems to swiftui-performance.
Inspect deployment target, Swift mode, and SDK before using versioned modifiers. Preserve project settings unless the user requests a change; gate newer APIs and verify them in SDK headers or primary Apple documentation.
| Need | Start with |
|---|---|
| Small fixed arrangement | VStack, HStack, or ZStack |
| Large one-axis collection | ScrollView with LazyVStack or LazyHStack |
| Adaptive two-dimensional collection | LazyVGrid or LazyHGrid |
| Platform list behavior, sections, editing, swipe actions | List |
| Structured settings or data entry | Form |
| Custom geometry-based layout | Layout protocol or focused geometry APIs after standard containers are insufficient |
Do not choose a container from row count alone. Consider editing behavior, selection, section semantics, separators, custom backgrounds, nested interaction, and whether cells need platform list behavior.
Read the relevant reference before implementing a substantial container:
Dynamic items need identity that survives insertion, deletion, sorting, and filtering. Prefer model identity. Index identity is acceptable only when position is intentionally the identity of a fixed collection.
Use lazy containers for collections large enough that eager construction is material. Do not wrap every small stack in a lazy container. Keep expensive filtering, sorting, formatting, and image work outside per-frame layout closures.
Avoid GeometryReader inside repeated lazy cells when a focused API such as containerRelativeFrame, onGeometryChange, preferences, or a custom Layout expresses the requirement more narrowly.
Use List when system editing, selection, swipe actions, sections, or platform row behavior are desired. Use ScrollView plus a lazy stack when the visual treatment or interaction model substantially diverges from List.
Use Form for structured input and settings, but keep validation and persistence policy outside layout code. Choose control styles based on option count and context; segmented controls are poor fits for many or long options.
Interactive rows need an adequate hit target and a meaningful contentShape. Preserve Dynamic Type and allow layouts to reflow instead of truncating essential content.
Use .searchable for platform search presentation. Keep query state with the feature owner and use .task(id:) only when search work is tied to view lifetime; route debounce, clocks, and cancellation mechanics to swift-concurrency.
Use overlays for transient UI that should not affect layout. Give banners and toasts a clear alignment, transition, accessibility announcement, and dismissal owner. Route sheets, full-screen covers, detents, and route-driven presentation to swiftui-navigation.
Drive continuous effects from one normalized progress value and keep geometry observation in the narrowest subtree possible. Avoid parallel booleans that can disagree. Do not combine competing same-axis scroll and drag gestures without an explicit interaction policy.
Route Liquid Glass scroll-edge styling to swiftui-liquid-glass and detailed animation curves/transitions to swiftui-animation.
.tessl-plugin
skills
accessorysetupkit
references
activitykit
adattributionkit
references
alarmkit
references
app-clips
app-intents
app-store-optimization
app-store-review
apple-on-device-ai
appmigrationkit
audioaccessorykit
references
authentication
references
avkit
background-processing
references
browserenginekit
callkit
references
carplay
cloudkit
contacts-framework
references
core-bluetooth
references
core-data
core-motion
references
core-nfc
references
coreml
references
cryptokit
cryptotokenkit
references
debugging-instruments
device-integrity
references
dockkit
energykit
references
eventkit
financekit
references
focus-engine
gamekit
healthkit
references
homekit
references
ios-accessibility
ios-app-workflow
references
ios-ettrace-performance
ios-localization
ios-memgraph-analysis
ios-networking
ios-simulator
references
metrickit
references
musickit
references
natural-language
references
paperkit
references
passkit
references
pdfkit
pencilkit
references
permissionkit
references
photokit
push-notifications
realitykit
references
relevancekit
references
scenekit
sensorkit
speech-recognition
references
spritekit
storekit
swift-api-design-guidelines
swift-architecture
references
swift-charts
swift-codable
references
swift-code-review
swift-concurrency
swift-formatstyle
references
swift-language
swift-security
references
swift-testing
swiftdata
swiftlint
swiftui-animation
swiftui-gestures
references
swiftui-layout-components
swiftui-liquid-glass
references
swiftui-patterns
swiftui-performance
swiftui-responsive-layout
swiftui-uikit-interop
swiftui-webkit
tabletopkit
tipkit
vision-framework
weatherkit
references