coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts, services, queues, boards, pull…
Guide AppKit app-structure decisions for macOS apps across app delegates, status-item menu bar apps, responder-chain menus, windows, controllers, restoration, archiving, Observation, and mixed AppKit/SwiftUI composition. Use when the user wants help deciding where AppKit
$ npx -y skills add gaelic-ghost/socket --skill appkit-app-architecture-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/appkit-app-architecture-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide AppKit app-structure decisions for macOS apps across app delegates, status-item menu bar apps, responder-chain menus, windows, controllers, restoration, archiving, Observation, and mixed AppKit/SwiftUI composition. Use when the user wants help deciding where AppKit
name: appkit-app-architecture-workflow description: Guide AppKit app-structure decisions for macOS apps across app delegates, status-item menu bar apps, responder-chain menus, windows, controllers, restoration, archiving, Observation, and mixed AppKit/SwiftUI composition. Use when the user wants help deciding where AppKit responsibilities belong or how to avoid steering a macOS app into SwiftUI-only structure when AppKit owns the behavior.
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.
AppKit/SwiftUI macOS app.
`NSApplicationDelegate`, app activation policy, app reopen behavior, menu bar apps, `NSStatusItem`, status menus, popovers, panels, or quit behavior.
toolbar actions, target/action, responder-chain action routing, or menu validation.
document-level, model-level, or hosted SwiftUI state should own a responsibility.
identifiers, `NSWindowRestoration`, window-controller restoration, document reopening, and workspace reopening.
`Codable`, user defaults, files, Core Data, SwiftData, or another persistence surface for AppKit-owned state.
must keep SwiftData directly driving SwiftUI-owned screens while AppKit keeps only the AppKit-owned lifetime, controller, restoration, or bridge boundary.
controllers, delegates, or hosted SwiftUI views.
`NSHostingController`, or when exposing AppKit views to SwiftUI through representable bridges.
SwiftUI `App`, scenes, commands, focus, environment, preferences, or reusable view composition.
Swift documentation lookup rather than architecture guidance.
preview, diagnostics, file-membership, or guarded mutation work in an existing Xcode-managed project.
XCTest, XCUITest, `.xctestplan`, or test diagnosis.
accessibility-specific implementation or review.
selection.
environment, focus, preference, or reusable view-composition decisions.
library workflow when the real issue is not AppKit app structure.
target-membership, sandbox, entitlement, or test mechanics.
1. Classify the request:
2. Apply the Apple docs gate before recommending structure:
documentation first
guidance
proceeding 3. Choose the AppKit ownership boundary:
4. Choose the state and action transport:
5. Check the anti-patterns before finalizing guidance:
layers, or wrapper objects inserted betwe
Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts, services, queues, boards, pull…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker will inspect or modify…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations, codex exec, Codex subagents,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval cases, graders, thresholds,…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact approval gates.
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning, resuming, steering, cancelling,…