coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Guide SwiftLint and SwiftFormat integration across CLI, Xcode build phases, Xcode source-editor workflows, Swift Package plugins, AppleScript, Git hooks, and GitHub Actions, including exporting SwiftFormat for Xcode settings into a checked-in project config file. Use this first
Claude Code
$ npx -y skills add gaelic-ghost/socket --skill format-swift-sources --agent claude-code
Codex
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a codex -y
Cursor
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a cursor -y
Gemini CLI
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a gemini-cli -y
GitHub Copilot
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a github-copilot -y
OpenCode
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a opencode -y
Windsurf
$ npx skills add gaelic-ghost/socket --skill format-swift-sources -a windsurf -y
name: format-swift-sources description: Guide SwiftLint and SwiftFormat integration across CLI, Xcode build phases, Xcode source-editor workflows, Swift Package plugins, AppleScript, Git hooks, and GitHub Actions, including exporting SwiftFormat for Xcode settings into a checked-in project config file. Use this first when a later source-organization pass needs a clean formatting baseline.
Use this skill as the top-level workflow for integrating and maintaining SwiftLint and SwiftFormat in Apple or Swift repositories. The skill keeps the support matrix explicit, teaches the shortest correct path for each surface, and includes a deterministic helper script for turning SwiftFormat for Xcode shared settings into a project-root `.swiftformat` file when the host app export path is unavailable or inconvenient. For shared Swift repositories, the preferred baseline is a checked-in repo-root `.swiftformat` plus a Git pre-commit hook that formats staged Swift sources and then reruns SwiftFormat in lint mode before the commit is allowed through. When both tools are in play, treat SwiftFormat as the primary owner of formatting shape and use SwiftLint as a complementary signal layer for clarity, safety, maintenance, and selectively chosen documentation expectations rather than as a second formatter. When the script path is needed, prefer feeding it the real shared plist from the SwiftFormat group container over assuming the defaults-domain export is complete, and treat the generated file as a curated starting point rather than as a guaranteed final repo config. It is also the canonical first pass before and after `structure-swift-sources` when a request will split, move, or reorganize Swift source files.
1. Classify the request by tool selection:
2. Classify the request by surface:
3. Check the support matrix in `references/integration-matrix.md` before proposing or generating steps. 4. Choose one documented path:
5. Return one supported setup path, one set of caveats, and one follow-up verification step. 6. When the request also includes source-organization work, hand off to `structure-swift-sources` only after this formatting path is
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.