Plans and validates SwiftPM build/command plugins, macros, package traits, generated sources, permissions, and Xcode vs Swiftly toolchain differences. Use for Package.swift extension work.
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; scripts run unread.
Own SwiftPM extension work that does not belong in ordinary package build/run or testing workflows. Keep package plugins, macros, traits, generated-source policy, permission review, and toolchain comparison in one package-first path, then hand off when Xcode-managed project context becomes authoritative.
swift-package-build-run-workflow for ordinary manifests, dependencies, resources, builds, and executable runs.swift-package-testing-workflow when ordinary test organization or failure diagnosis is primary.format-swift-sources for formatter-specific plugin operation after this skill establishes plugin permissions and ownership.xcode-build-run-workflow or xcode-testing-workflow when schemes, destinations, app hosts, Xcode project context, or Xcode-only evidence controls the result.explore-apple-swift-docs when the task is documentation lookup rather than package mutation or execution.Package.swift, Plugins/, macro targets, generated outputs, test targets, and any Xcode project or workspace markers.swiftly use --print-location, swift --version, and relevant swift package, swift build, or swift test help.xcode-select -p, xcrun --find swift, xcrun swift --version, and matching xcrun swift package, build, or test help.xcode, record that bridge explicitly instead of presenting the two command paths as independent compiler distributions.build-tool-plugin, command-plugin, macro, traits, or generated-source.references/package-plugins-build-command-and-xcode.mdreferences/plugin-permissions-sandbox-and-outputs.mdreferences/swift-macros-package-shape.mdreferences/package-traits-feature-flags.mdreferences/generated-source-and-build-products.mdreferences/cli-command-matrix.md to keep Swiftly and Xcode commands distinct.extension_type: build-tool-plugin, command-plugin, macro, traits, or generated-source.request: optional natural-language request used to infer extension_type.repo_root: package path; defaults to the current directory.toolchain_scope: swiftly, xcode, or both; defaults to both for Apple ecosystem compatibility work.status: success, handoff, or blocked.path_type: primary or fallback.output: extension type, package context, toolchain scope, planned commands, evidence requirements, and one next step.Package.swift cannot be resolved.swift --version as evidence for the Xcode toolchain; inspect xcrun swift --version separately.swift-package-build-run-workflow after extension shape and flags are settled.swift-package-testing-workflow; retain ownership of macro/plugin test shape and trait matrices.xcode-build-run-workflow and Xcode-native tests to xcode-testing-workflow with the exact package, plugin, macro, trait, scheme, and destination context.format-swift-sources for formatter-specific behavior without duplicating the general plugin permission model.references/package-plugins-build-command-and-xcode.mdreferences/plugin-permissions-sandbox-and-outputs.mdreferences/swift-macros-package-shape.mdreferences/package-traits-feature-flags.mdreferences/generated-source-and-build-products.mdreferences/cli-command-matrix.mdreferences/snippets/apple-swift-package-core.md when reusable package policy is needed in an end-user repo.references/snippets/apple-swift-package-core.mdscripts/run-workflow.fsxagents/openai.yaml (opens in a new tab)references/cli-command-matrix.md (opens in a new tab)references/generated-source-and-build-products.md (opens in a new tab)references/package-plugins-build-command-and-xcode.md (opens in a new tab)references/package-traits-feature-flags.md (opens in a new tab)references/plugin-permissions-sandbox-and-outputs.md (opens in a new tab)references/snippets/apple-swift-package-core.md (opens in a new tab)references/swift-macros-package-shape.md (opens in a new tab)scripts/run-workflow.fsx (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
swiftpm, package-plugins, macros, package-traits, generated-sources, xcode-handoff
/apple-dev-skills:swift-package-extension-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