Guides AppKit app-structure for macOS: delegates, menus, windows, controllers, restoration, archiving, and AppKit/SwiftUI composition. Use when deciding AppKit responsibilities vs SwiftUI-only structure.
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.
Provide a docs-first workflow for AppKit app-structure decisions in macOS apps. This skill owns ownership-boundary guidance for AppKit lifetimes, menu bar apps, menus, responder-chain action routing, windows, controllers, restoration, archiving, AppKit MVC, Observation interop, and mixed AppKit/SwiftUI composition.
It is not the Apple-docs router, not the SwiftUI architecture workflow, not the accessibility workflow, and not the Xcode execution workflow.
For Xcode app source layout, keep UIKit/AppKit controller support view-adjacent:
Sources/Views/Shared, Sources/Views/macOS, and Sources/Views/iOS own view
surfaces, and controller support files use concatenated prefixed names such as GEAWhateverViewController.swift
beside their matching view. Do not collect ordinary app controller support in a
root Controllers/ directory.
NSApplication,
NSApplicationDelegate, app activation policy, app reopen behavior, menu bar
apps, NSStatusItem, status menus, popovers, panels, or quit behavior.NSWindowRestoration, window-controller restoration, document
reopening, and workspace reopening.NSSecureCoding, NSKeyedArchiver,
Codable, user defaults, files, Core Data, SwiftData, or another persistence
surface for AppKit-owned state.NSHostingView or
NSHostingController, or when exposing AppKit views to SwiftUI through
representable bridges.swiftui-app-architecture-workflow when the actual owner is
SwiftUI App, scenes, commands, focus, environment, preferences, or reusable
view composition.explore-apple-swift-docs when the user primarily needs Apple or
Swift documentation lookup rather than architecture guidance.xcode-build-run-workflow when the work becomes build, run,
preview, diagnostics, file-membership, or guarded mutation work in an existing
Xcode-managed project.xcode-testing-workflow when the work becomes Swift Testing,
XCTest, XCUITest, .xctestplan, or test diagnosis.apple-ui-accessibility-workflow when the work is primarily about
accessibility-specific implementation or review.Controllers/ directory used for ordinary view-controller support
instead of GEAWhateverViewController.swift beside the matching viewrequest: optional free-text task description used to classify the AppKit
architecture question.scope: optional explicit scope such as app-lifecycle, menu-bar,
menus, windows, restoration, mvc, archiving, observation, or
mixed-appkit-swiftui.repo_shape: optional high-level repo context such as xcode-app,
document-app, menu-bar-app, multiwindow-app, swiftpm-macos, or
unknown.swiftui_presence: optional emphasis such as none, hosted-in-appkit,
appkit-embedded-in-swiftui, or mixed-ownership.status
success: the request belongs to this workflow and a structure
recommendation is readyhandoff: the request belongs to another skill after AppKit-aware
classificationblocked: the request lacks enough context to recommend a boundary honestlypath_type
primary: the recommendation comes from a directly supported AppKit
architecture pathfallback: the recommendation depends on limited request context because
repo or app shape is unclearoutput
modelContainer, environment modelContext, @Query, model objects, and
bindings.NSKeyedArchiver, NSSecureCoding, Core Data, SwiftData,
user defaults, or plain files without naming what state is being persisted and
who reads it next.NotificationCenter, Combine, or other broadcast mechanisms
for ordinary parent-to-child ownership or local controller state.blocked when the request is too vague to determine whether the
issue is app-level, status-item-level, window-level, controller-level,
document-level, model-level, or hosted-SwiftUI structure.Recommend photos-library-editing-workflow for PhotosUI/AppKit picker selection and PhotoKit authorization, assets, requests, changes, saving, and editing while keeping AppKit window/controller ownership here.
Prefer explicit scope and repo shape when the user provides them.
Fall back to request-text inference when repo shape and app shape are unclear.
Recommend explore-apple-swift-docs when the real need is broader Apple or
Swift docs lookup.
Recommend swiftui-app-architecture-workflow when the real owner is SwiftUI
app, scene, command, focus, environment, preference, or view-composition
structure.
Recommend xcode-build-run-workflow when the next honest step is build, run,
preview, diagnostics, file-membership follow-through, signing, entitlements,
sandboxing, or guarded mutation.
Recommend xcode-testing-workflow when the next honest step is test execution
or test diagnosis.
Recommend apple-ui-accessibility-workflow when the next honest step is
accessibility-specific implementation or review.
Keep the first release focused on the decision model and the documented boundary. If future iterations add a real deterministic need for runtime knobs, document them explicitly before letting runtime behavior depend on them.
references/app-delegate-and-lifecycle.mdreferences/menu-bar-status-item-and-activation.mdreferences/menus-responder-chain-and-validation.mdreferences/windows-controllers-panels-and-inspectors.mdreferences/restoration-documents-and-workspaces.mdreferences/appkit-mvc-target-action-and-bindings.mdreferences/archiving-persistence-and-migration.mdreferences/observation-and-appkit.mdreferences/mixed-appkit-swiftui-composition.mdreferences/architecture-decision-rules.mdreferences/anti-patterns-and-corrections.mdexplore-apple-swift-docs when the user needs direct Apple-docs
lookup instead of AppKit architecture guidance.references/snippets/apple-xcode-project-core.md when the user
needs reusable repo policy rather than a one-off architecture recommendation.agents/openai.yaml (opens in a new tab)references/anti-patterns-and-corrections.md (opens in a new tab)references/app-delegate-and-lifecycle.md (opens in a new tab)references/appkit-mvc-target-action-and-bindings.md (opens in a new tab)references/architecture-decision-rules.md (opens in a new tab)references/archiving-persistence-and-migration.md (opens in a new tab)references/menu-bar-status-item-and-activation.md (opens in a new tab)references/menus-responder-chain-and-validation.md (opens in a new tab)references/mixed-appkit-swiftui-composition.md (opens in a new tab)references/observation-and-appkit.md (opens in a new tab)references/restoration-documents-and-workspaces.md (opens in a new tab)references/snippets/apple-xcode-project-core.md (opens in a new tab)references/windows-controllers-panels-and-inspectors.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/apple-dev-skills:appkit-app-architecture-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./apple-developer-provisioning-workflowPlan and safely automate officially supported Apple Developer provisioning and CloudKit workflows through the App Store Connect REST API, Xcode-aware local discovery, cktool, and CKTool JS. Use when inspecting or changing bundle IDs, capabilities, certificates, devices, provisioning profiles, CloudKit schemas, or sandbox test data while keeping portal-only configuration, credentials, dry runs, and confirmation gates explicit./apple-image-representation-workflowGuide Apple image decoding, encoding, metadata, thumbnails, multi-frame sources, and representation bridging across Image I/O, Core Graphics, AppKit NSImage and NSImageRep, UIKit UIImage, Core Image, and Core Video. Use when image work involves files, data, representations, orientation, scale, color, metadata, or conversion rather than pixel effects or visual recognition./apple-runtime-telemetry-workflowAdd and verify privacy-aware Apple unified logging and signposts in macOS, iOS, and related Apple apps. Use when designing Logger categories, diagnosing intermittent runtime behavior, collecting focused evidence, or measuring an operation with OSSignposter./apple-typography-workflowGuide Apple platform typography decisions and implementation across SwiftUI Font, UIKit UIFont, AppKit NSFont, San Francisco system fonts, SF Pro, SF Compact, SF Mono, SF Pro Rounded, New York serif design, Dynamic Type, text styles, fontDesign, fontWeight, fontWidth, monospaced digits, custom font bundle integration, font licensing and redistribution boundaries, accessibility scaling, and Xcode font asset validation. Use when a task mentions Apple typography, San Francisco, SF Pro, SF Compact, SF Mono, New York, Dynamic Type, UIFontMetrics, preferredFont, NSFont.TextStyle, custom fonts, UIAppFonts, ATSApplicationFontsPath, or text style repair.Other plugins' skills for the same job