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
Use this reference when creating a feature, reorganizing an existing SwiftUI project, or reviewing filenames and source boundaries. Preserve the project's established organization when it is coherent; structure changes are not permission to rewrite behavior.
For a small prototype, a flat source folder can be clearer than premature hierarchy. Introduce feature folders when screens, models, or supporting views become difficult to find or several features evolve independently.
For a medium or growing app, prefer feature-first organization with small shared layers:
App/
ProductApp.swift
DesignSystem/
AppTheme.swift
Models/
TodoItem.swift
Features/
Dashboard/
TodoDashboardView.swift
DashboardHeaderView.swift
TodoListSection.swift
Editor/
TodoEditorView.swift
TodoCategoryPicker.swift
Services/
TodoRepository.swiftDo not add empty ViewModels, Repositories, UseCases, or Coordinators folders merely to resemble an architecture. Add a layer when it owns real behavior or establishes a useful dependency boundary.
FlowApp, not todoApp or AppMainView.TodoDashboardView, TodoEditorView.ProgressSummaryView, TodoItemRow.ContentView, MainView, Helper, Manager, or Utils when a concrete role is known.Swift API naming belongs to swift-api-design-guidelines; this reference covers file and project discoverability.
A dedicated file is usually justified when a type:
Keep tiny private types and one-off stateless fragments with their parent when separating them would make navigation harder. Line count is a signal, not a rule.
One primary production type per file is a useful default, not an absolute requirement. Closely related private support types may remain together. Split domain enums or styles when they have independent ownership, substantial behavior, or reuse.
A screen root should make the hierarchy and data flow obvious. It may own queries, route state, orchestration, and feature-level actions, while child views own presentation and local interaction details.
Avoid these pseudo-boundaries:
// MARK:some View propertiesTheme.swift that accumulates unrelated services, models, formatting, and UIBefore moving code, pin:
Move one meaningful boundary at a time, build after risky or compiler-visible changes, and compare the same preview or simulator state. Do not combine structural cleanup with visual redesign unless the user requested both.
Respect the project's group and file-synchronization model. When source folders are filesystem-synchronized, add files under the synchronized root. For explicit PBX groups, ensure new files are added to the correct target and build phase. A file existing on disk is not proof that Xcode compiles it.
.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