coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Audit and repair SwiftUI code toward self-contained declarative components, local reactive state, framework-native data flow, and simple reusable view interfaces. Use when an existing SwiftUI feature has external ViewModels, injected collaborators, imperative coordination,
Claude Code
$ npx -y skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow --agent claude-code
Codex
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a codex -y
Cursor
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a cursor -y
Gemini CLI
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a github-copilot -y
OpenCode
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a opencode -y
Windsurf
$ npx skills add gaelic-ghost/socket --skill swiftui-component-audit-workflow -a windsurf -y
name: swiftui-component-audit-workflow description: Audit and repair SwiftUI code toward self-contained declarative components, local reactive state, framework-native data flow, and simple reusable view interfaces. Use when an existing SwiftUI feature has external ViewModels, injected collaborators, imperative coordination, duplicated state, environment dumping, or unclear component ownership.
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`.
1. Read the relevant Apple documentation through `explore-apple-swift-docs` before proposing a repair. 2. Inventory each view's stored properties, local state, environment reads, preferences, focus, commands, and outward actions. 3. Classify every dependency:
4. Report a finding for every reusable view that accepts an external ViewModel, store, coordinator, manager, service, or observable collaborator. 5. Report a finding for every umbrella app service, forwarding service facade, repository/protocol/adapter chain, or service that has no direct capability boundary. 6. Repair from the narrowest honest mechanism outward:
7. Remove explicit initializers that only duplicate the synthesized memberwise initializer. 8. Re-audit the changed component boundaries and hand off for build, preview, or tests.
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact…
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.