Bootstraps a Swift product workspace with XcodeGen, organizing apps, extensions, packages, and services into a single Xcode entrypoint. Use for new Apple platform projects.
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.
Create one product repository with one root .xcworkspace and one root XcodeGen project
materialized as the generated root .xcodeproj. Apps/ contains platform-specific targets in that project;
Packages/ contains shared SwiftPM modules, and Services/ contains deployable
SwiftPM executables. This is the entrypoint for app-first, service-first, and
combined products.
Run scripts/run-workflow.fsx before creating files. It generates the root
XcodeGen project, creates the workspace wrapper, initializes the first local
Swift package with SwiftPM, and installs the xcode-workspace maintenance
profile through repository-skills.
Product/
Product.xcworkspace/
Product.xcodeproj/ # generated from project.yml
project.yml # root project graph
Configurations/ # Debug, Staging, Release, AppStore, DirectDistribution, AltStore
AGENTS.md CONTRIBUTING.md Justfile
Apps/
apps-shared.yml # target and scheme templates
Apps-shared.xcconfig # shared app build settings
ProductiOS/
target.yml
Configurations/
Sources/ Resources/ Configurations/ target.yml
ProductShareExtension/ # peer Xcode target, explicitly embedded by its host app
Sources/ Resources/ Configurations/ target.yml
ProductiOSTests/ ProductiOSUITests/
ProductmacOS/
target.yml
Configurations/
Sources/ Resources/ Tests/
Packages/
packages-shared.yml # XcodeGen local-package registry
ProductCore/
Package.swift
Services/
services-shared.yml # XcodeGen service-package registry
ProductAPI/
Package.swift
docs/ Scripts/ .github/workflows/
project.yml owns project identity, configurations, file groups, and the
included project graph.Apps/apps-shared.yml owns common target and scheme templates.Apps/<Target>/target.yml owns one target's platform, source roots,
target-local configurations, and product dependencies.Packages/packages-shared.yml registers local packages with XcodeGen.Services/services-shared.yml registers deployable service packages with XcodeGen.Package.swift owns its package products, targets, and dependencies.Configurations/ owns project-wide settings. Apps/Apps-shared.xcconfig
and target-local .xcconfig files layer app and target settings without
duplicating the project baseline..xcodeproj data is build-critical output. Edit its XcodeGen and
SwiftPM sources, then regenerate; never hand-edit .pbxproj.Use this skill for every Swift repository lifecycle: create a new product, adopt an existing app/package/service repository, add an app, app extension, package, or server component, or realign the generated workspace and managed guidance. There is no standalone Swift repository bootstrap or separate Xcode project migration entrypoint.
explore-apple-swift-docs.scripts/run-workflow.fsx --name <Name> --file-prefix <ABC>.
The default creates iOS and macOS targets, their Swift Testing and XCUITest
bundles, plus <Name>Core.
Start package-first with --component-kind library or service-first with
--component-kind service --framework hummingbird|vapor; both still create
the same permanent root workspace and component roots.--operation adopt --repo-root <root>. The first pass is read-only and emits concrete components[], an
evidence inventory, and a proposed adoption map. Review that JSON, resolve
every ownership/platform/host ambiguity, then apply it with
--adoption-map <path> --apply. Application creates a separate candidate
project and equivalence report under .socket/; it does not delete the
original project state.--operation add-component:
--component-kind app --component-name <Name> --platform <platform>--component-kind extension --component-name <Target> --platform <platform> --host-target <AppTarget> --extension-product-type app-extension|extensionkit-extension --extension-point-identifier <id>--component-kind library --component-name <Name>--component-kind service --component-name <Name> --framework hummingbird|vaporserver-side-swift:workspace-service-component, while this skill retains
ownership of the root workspace and project graph.just setup after initializing Git, then use just align to refresh
Socket-managed guidance/hooks and regenerate with XcodeGen. Route by
operation: use the nearest Package.swift for package/service work and the
root workspace for Xcode-owned schemes, destinations, previews, and project state.xcrun mcpbridge) for agent-assisted project inspection and
debugging when Xcode is open. It augments these deterministic commands; it
is not a bootstrap prerequisite.name: required product name and root project/workspace stem.file_prefix: three uppercase letters; default APP.destination: parent directory; default ..platforms: ios, macos, tvos, watchos, and/or visionos; default
ios,macos.org_identifier: bundle identifier prefix; default com.galewilliams.development_team: code-signing team; default BC73766F69.dry_run: report the normalized scaffold without writing files.operation: create, adopt, add-component, or align.repo_root: required with adopt, add-component, and align.component_kind, component_name: required with add-component.platform: required for an app component.framework: required for a service component; hummingbird or vapor.host_target, extension_product_type, and extension_point_identifier:
required for an extension; the product type and point must come from current
Apple/Xcode documentation, never a guessed generic target.adoption_map, apply: apply an explicitly reviewed adoption map after the
non-mutating inventory pass.Apps/, Packages/, and Services/ component registries.scripts/run-workflow.fsx --operation align --repo-root <root> instead of
using a separate sync skill. It preserves local documentation and Justfile
content outside Socket-managed markers..xcodeproj under Apps/.Apps/<ExtensionTarget>/, adjacent to app
and test targets. Never create a root Extensions/ directory. The containing
app target must name and embed each extension explicitly with XcodeGen.server-side-swift:workspace-service-component;
do not let the framework generator own or replace the product workspace.repository-skills:maintain-project-repo with
the xcode-workspace profile. Its install operation also creates or refreshes
README.md, CONTRIBUTING.md, AGENTS.md, and ROADMAP.md through the canonical
document-owner workflows; do not add a second bootstrap-only docs path.This skill intentionally has no independent customization template. Its explicit CLI inputs define product identity and component creation, while the generated XcodeGen and SwiftPM source files are the durable customization surfaces. Do not add repository-shape switches or alternate local/cloud execution modes.
references/workspace-shape.mdagents/openai.yaml (opens in a new tab)assets/managed-guidance/AGENTS-apps.md (opens in a new tab)assets/managed-guidance/AGENTS-packages.md (opens in a new tab)assets/managed-guidance/AGENTS-root.md (opens in a new tab)assets/managed-guidance/AGENTS-services.md (opens in a new tab)assets/managed-guidance/CONTRIBUTING.md (opens in a new tab)assets/managed-guidance/pre-commit (opens in a new tab)references/workspace-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
/apple-dev-skills:bootstrap-xcode-workspacefrom 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-workflowGuide 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./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.Other plugins' skills for the same job