Audits SwiftUI code for self-contained declarative components, local reactive state, and framework-native data flow. Flags external ViewModels, injected collaborators, imperative coordination, and environment dumping.
Ships in apple-dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Audit or repair a SwiftUI feature without importing AppKit, UIKit, or generic imperative architecture into a declarative view tree. SwiftUI components stand on their own: they render from explicit values and framework state, own local presentation state, and express user intent through narrow actions. A feature service, when needed, is a direct concrete owner of one capability rather than a wrapper stack.
Keep SwiftData directly integrated with SwiftUI through modelContainer, environment modelContext, @Query, model objects, and narrow bindings. Do not insert repositories, stores, service mirrors, DTO mirrors, ViewModel caches, or other abstraction layers between SwiftData and SwiftUI. Hand persistence-specific decisions to swiftdata-workflow.
swiftdata-workflow, app and scene ownership to swiftui-app-architecture-workflow, and execution to the Xcode build or testing workflows.explore-apple-swift-docs before proposing a repair.@State, derived value, or locally owned @Observable stateModelContainer, modelContext, @Query, model object, or narrow bindingrepository: target repository or feature path.mode: audit for findings only, or repair for implementation.scope: optional files, feature, scene, or component name.platform_context: optional iOS, iPadOS, macOS, or mixed context.swiftui-app-architecture-workflow for app, scene, command, focus, environment, or navigation ownership decisions.swiftdata-workflow for persistence integration or migration decisions.explore-apple-swift-docs for primary documentation lookup.xcode-build-run-workflow for previews, build, run, project membership, or guarded mutations.xcode-testing-workflow for Swift Testing, XCTest, XCUITest, or test diagnosis.references/component-rules-and-examples.mdreferences/audit-checklist.mdswiftui-app-architecture-workflow/references/snippets/apple-xcode-project-core.md when the target repo needs durable Apple project policy.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/apple-dev-skills:swiftui-component-audit-workflowfrom apple-dev-skills
npx claudepluginhub gaelic-ghost/socket --plugin apple-dev-skills65 skills in this plugin
/app-extension-architecture-workflowRoute Apple app-extension work across extension points, targets, isolation, entitlements, shared containers, lifecycle, privacy, testing, signing, distribution, and handoffs. Use when the extension point is not settled./app-intents-workflowDesign, implement, validate, and troubleshoot App Intents, App Entities, App Shortcuts, and system-surface integrations. Use when exposing a focused app action or content to Siri, Spotlight, Shortcuts, widgets, controls, Live Activities, or hardware interactions./appkit-app-architecture-workflowOther plugins' skills for the same job