Sandbox
@Xopoko/build-swift-apps

Skill pack for Swift apps in Claude Code, Codex, and Cursor

Build Swift Apps packages many focused skills for Apple-platform app work. The skills cover simulator debugging, SwiftUI and AppKit code, Xcode build tuning, test triage, signing, notarization, screenshots, and App Store Connect tasks.

45 stars4 forksPythonUpdated 20d ago
Who it's for

Builders who want their coding agent to handle real Swift app workflows instead of just editing files.

What it delivers

You can route each Swift app task to a focused skill and get more reliable build, debug, test, and release help.

What it does

Build and debug workflows

Includes skills for building, running, and debugging iOS and macOS apps, SwiftPM packages, and simulator sessions.

UI and architecture help

Includes SwiftUI, AppKit, window, view, and intents skills for shaping app UI and structure.

Build performance analysis

Includes Xcode and SwiftPM audit, baseline, compile profiling, and build tuning skills.

Release and App Store work

Includes signing, notarization, TestFlight, screenshots, metadata, pricing, and release planning skills.

Multi-agent packaging

Ships plugin metadata for Codex, Claude Code, and Cursor, plus shared agent guidance and install scripts.

How to get it

  1. 1For most users, the simplest install path is to paste this prompt into the coding agent…
    Install the Build Swift Apps plugin from https://github.com/Xopoko/build-swift-apps on this computer. Follow the repository installation instructions for the agent you are running in, install required dependencies, ask before installing optional tools, run the doctor checks, and report what was installed.
  2. 2Run
    mkdir -p "$HOME/.agents/plugins/plugins"
    git clone https://github.com/Xopoko/build-swift-apps.git \
      "$HOME/.agents/plugins/plugins/build-swift-apps"
    cd "$HOME/.agents/plugins/plugins/build-swift-apps"
    
    ./scripts/install-local-plugin.sh
    ./scripts/doctor.sh --profile core --profile mcp
  3. 3This repository includes Claude Code plugin metadata under .claude-plugin/. After the…
    /plugin marketplace add Xopoko/build-swift-apps
    /plugin install build-swift-apps@build-swift-apps
    /reload-plugins
  4. 4If you use the appstore-screenshot-studio skill in Claude Code, install its local Node…
    cd "$HOME/.claude/plugins/marketplaces/build-swift-apps"
    ./scripts/install-deps.sh --profile screenshots --yes
  5. 5The skills can run with partial dependencies. Check the current machine first
    ./scripts/doctor.sh --all
  6. 6Install only the tool groups you need
    ./scripts/install-deps.sh --profile core --profile mcp
    ./scripts/install-deps.sh --profile tuist --profile performance --dry-run
    ./scripts/install-deps.sh --all --skip ettrace --skip ipsw

README

Build Swift Apps logo

Build Swift Apps

Build, debug, profile, test, refactor, and release Swift apps across iOS and macOS.

Codex · Claude Code · Cursor · pi · Manual skill installs

Build Swift Apps is a multi-agent skill pack for practical Apple-platform development. It focuses on the workflows that usually decide whether an AI coding session is useful in a real Swift repository: building the app, running it on a simulator, understanding failures, improving SwiftUI and AppKit code, profiling performance, auditing Xcode build times, and preparing apps for release.

The deepest coverage is for iOS and macOS, but the skills are written for Apple-platform Swift work in general. They are intentionally generic: no private project names, no private workflows, and no assumptions about one app architecture.

Quick Start

Easiest: Ask Your Agent

For most users, the simplest install path is to paste this prompt into the coding agent they already use:

Install the Build Swift Apps plugin from https://github.com/Xopoko/build-swift-apps on this computer. Follow the repository installation instructions for the agent you are running in, install required dependencies, ask before installing optional tools, run the doctor checks, and report what was installed.

Codex

mkdir -p "$HOME/.agents/plugins/plugins"
git clone https://github.com/Xopoko/build-swift-apps.git \
  "$HOME/.agents/plugins/plugins/build-swift-apps"
cd "$HOME/.agents/plugins/plugins/build-swift-apps"

./scripts/install-local-plugin.sh
./scripts/doctor.sh --profile core --profile mcp

Then start a new Codex thread and ask for a focused workflow:

Use the iOS debugger skill to build and run this app on a simulator, inspect the first screen, and summarize any runtime failures.

Claude Code

This repository includes Claude Code plugin metadata under .claude-plugin/. After the repository is public or accessible to your GitHub account:

/plugin marketplace add Xopoko/build-swift-apps
/plugin install build-swift-apps@build-swift-apps
/reload-plugins

If you use the appstore-screenshot-studio skill in Claude Code, install its local Node helper dependency after the plugin is installed:

cd "$HOME/.claude/plugins/marketplaces/build-swift-apps"
./scripts/install-deps.sh --profile screenshots --yes

Claude Code namespaces plugin skills, so invoke them as /build-swift-apps:<skill-name> when calling skills explicitly.

Cursor

This repository includes Cursor plugin metadata under .cursor-plugin/. Use Cursor's plugin install or local testing flow once the repository is available to your Cursor workspace. The same skills/ directory is packaged for Cursor, and AGENTS.md provides repository-level guidance for agents that read the open instruction format.

Dependency Check

The skills can run with partial dependencies. Check the current machine first:

./scripts/doctor.sh --all

Install only the tool groups you need:

./scripts/install-deps.sh --profile core --profile mcp
./scripts/install-deps.sh --profile tuist --profile performance --dry-run
./scripts/install-deps.sh --all --skip ettrace --skip ipsw

See docs/INSTALL.md for full install instructions, dependency profiles, and manual setup notes.

Token Efficiency

Build Swift Apps keeps full skill instructions on demand and exposes concise routing metadata for skill selection. The static estimates below serialize each skill name, description, and source-relative file pointer with scripts/token-report.py, using tiktoken and the o200k_base encoding.

This is a source comparison, not proof of runtime- or model-visible context. Hosts may add namespaces or origin URLs, omit fields, or pack the catalog in a different shape. Measure the active runtime separately when that distinction changes a decision.

MetricTokensNotes
Source routing estimate3,922Name, description, and source-relative file pointer for all 61 skills.
On-demand skill bodies37,791Full body text loaded only when a skill is selected.
SkillSource routing estimateOn-demand body
app-icon-studio61984
apple-dev-research58503
apple-firmware-inspector71676
appstore-ads-operator61843
appstore-archive-uploader64843
appstore-aso-auditor64687
appstore-build-monitor53334
appstore-connect-cli64531
appstore-crash-insights56525
appstore-id-resolver57356
appstore-metadata-localizer75425
appstore-metadata-sync73436
appstore-notary-runner67528
appstore-pricing-planner66402
appstore-record-creator58570
appstore-release-director67726
appstore-release-notes-writer69688
appstore-release-planner68722
appstore-revenuecat-sync70784
appstore-review-readiness73440
appstore-screenshot-pipeline631,056
appstore-screenshot-studio62696
appstore-screenshot-validator60518
appstore-signing-setup59646
appstore-subscription-localizer71402
appstore-testflight-coordinator54346
appstore-wall-publisher62373
appstore-workflow-runner65793
build-swift-apps83981
ios-ettrace-profiler571,080
ios-intents-architect65542
ios-liquid-glass-designer70452
ios-memgraph-inspector65624
ios-rocketsim-operator54529
ios-simulator-browser63848
ios-simulator-debugger71507
ios-swiftui-architect66691
macos-appkit-bridge70566
macos-liquid-glass-designer66593
macos-notarization-packager70384
macos-runtime-debugger73974
macos-signing-inspector63528
macos-swiftpm-runner72323
macos-swiftui-architect73821
macos-telemetry-probe60455
macos-test-diagnoser70617
macos-view-architect60500
macos-window-architect68799
swiftpm-build-inspector58536
swiftui-performance-inspector61543
swiftui-view-architect58481
tuist-flaky-test-stabilizer63597
tuist-generation-doctor61672
tuist-migration-planner64620
tuist-workspace-navigator62543
xcode-build-baseline56711
xcode-build-strategist591,005
xcode-build-tuner59837
xcode-compile-profiler61582
xcode-project-auditor57523
xcode-ui-test-stabilizer73494

Measured with exact token counting and the o200k_base encoding. Regenerate the report after skill edits:

python3 scripts/token-report.py

Included Skills

The skill IDs follow a deliberate naming system:

  • app-icon-studio for cross-platform Apple app icon generation and export.
  • appstore-* for App Store Connect, TestFlight, screenshots, metadata, pricing, and release operations.
  • ios-* and macos-* for platform-specific runtime, UI, packaging, and debugging work.
  • swiftui-*, xcode-*, swiftpm-*, tuist-*, and apple-* for framework, build, package, project-generation, and research workflows.
  • Role nouns describe the agent's posture: architect, inspector, strategist, tuner, director, studio, operator, coordinator, and runner.

Build, Run, Debug, And Test

SkillPurpose
build-swift-appsRoute broad or ambiguous Swift and Apple-platform work to the right focused skill.
macos-runtime-debuggerBuild, launch, log, and debug local macOS apps and desktop executables.
macos-swiftpm-runnerBuild, run, and test SwiftPM-first macOS packages and command-line tools.
macos-test-diagnoserTriage failing Xcode or SwiftPM test runs and separate real regressions from setup issues.
xcode-ui-test-stabilizerCreate, stabilize, and run Xcode UI tests with focused failure evidence.
macos-telemetry-probeAdd lightweight Logger instrumentation and verify events through runtime logs.

iOS Simulator, Profiling, And Runtime Evidence

SkillPurpose
ios-simulator-browserPreferred user-facing Simulator surface: mirror an iOS app into the Codex browser and render SwiftUI package previews with hot reload.
ios-simulator-debuggerUse XcodeBuildMCP to build, run, inspect, and debug iOS simulator apps; hand off to ios-simulator-browser for visible proof.
ios-rocketsim-operatorUse RocketSim's bundled agent skill and CLI for visible simulator UI interaction.
ios-ettrace-profilerCapture and interpret symbolicated ETTrace profiles for iOS simulator flows.
ios-memgraph-inspectorCapture, inspect, and compare simulator memory graphs with leaks evidence.
swiftui-performance-inspectorAudit SwiftUI performance from code structure before asking for profiling evidence.

SwiftUI, AppKit, And Product UI

SkillPurpose
ios-swiftui-architectBuild iOS SwiftUI screens with navigation, layout, state, forms, sheets, and media patterns.
macos-swiftui-architectBuild macOS SwiftUI scenes, commands, toolbars, settings, split views, and menu bar extras.
swiftui-view-architectRefactor SwiftUI views into stable, testable, dependency-explicit components.
macos-view-architectRefactor macOS SwiftUI scenes and sidebar/detail structures.
macos-appkit-bridgeBridge SwiftUI to AppKit only where native macOS behavior needs it.
macos-window-architectTune macOS 15+ SwiftUI windows, placement, restoration, and scene behavior.
ios-intents-architectDesign App Intents, entities, queries, and shortcuts for Siri, Spotlight, widgets, and controls.
macos-liquid-glass-designerAdopt modern macOS SwiftUI design and Liquid Glass conventions.
ios-liquid-glass-designerImplement and review iOS 26+ Liquid Glass SwiftUI features.

Xcode Build Performance

SkillPurpose
xcode-build-strategistEnd-to-end recommend-first build optimization: benchmark, analyze, prioritize, approve, fix, verify.
xcode-build-baselineProduce repeatable clean and incremental Xcode build baselines with artifacts.
xcode-compile-profilerFind Swift compile and type-checking hotspots with compiler diagnostics.
xcode-project-auditorAudit build settings, schemes, target dependencies, and script phases.
swiftpm-build-inspectorAnalyze Swift Package Manager graph shape, plugins, pins, and module variants.
xcode-build-tunerApply approved build optimizations and re-benchmark to prove impact.

Release, Signing, And Distribution

SkillPurpose
macos-signing-inspectorDiagnose existing macOS app signing, entitlements, sandboxing, hardened runtime, Gatekeeper, and trust-policy issues.
macos-notarization-packagerPrepare or diagnose Developer ID distribution artifacts, bundle structure, and notarization readiness.
appstore-release-directorOrchestrate an end-to-end iOS App Store release from local repo state through App Store Connect review readiness.
app-icon-studioCreate, evaluate, export, and install iOS AppIcon asset catalogs or macOS .icns bundle icons.
appstore-screenshot-studioGenerate, revise, translate, scrape, and crop App Store marketing screenshot panels.

App Store Connect (asc CLI)

These skills use the public asc command from rorkai/App-Store-Connect-CLI. They cover auth and command discovery, ID resolution, Xcode archive/export, TestFlight, submission readiness, metadata and localization, screenshots, signing, notarization, subscriptions/IAP pricing, crash triage, Apple Ads, and workflow automation.

Skills: appstore-connect-cli, appstore-id-resolver, appstore-archive-uploader, appstore-build-monitor, appstore-testflight-coordinator, appstore-release-planner, appstore-review-readiness, appstore-metadata-sync, appstore-metadata-localizer, appstore-release-notes-writer, appstore-aso-auditor, appstore-screenshot-validator, appstore-screenshot-pipeline, appstore-signing-setup, appstore-notary-runner, appstore-record-creator, appstore-ads-operator, appstore-pricing-planner, appstore-subscription-localizer, appstore-revenuecat-sync, appstore-crash-insights, appstore-workflow-runner, appstore-wall-publisher.

Tuist And Generated Projects

SkillPurpose
tuist-migration-plannerMove an existing Xcode project toward a Tuist-generated workspace.
tuist-workspace-navigatorWork effectively in Tuist-generated Xcode workspaces.
tuist-generation-doctorReproduce and triage generation or post-generation build failures.
tuist-flaky-test-stabilizerUse Tuist test insights to investigate and fix flaky test cases.

Research And Low-Level Apple Work

SkillPurpose
apple-dev-researchSearch Apple Dev Search for Swift, SwiftUI, Xcode, iOS, and macOS community writing.
apple-firmware-inspectorUse the ipsw CLI for Apple firmware, dyld shared cache, Mach-O, entitlements, and private API research.

Multi-Agent Packaging

The same repository is packaged for several agent ecosystems:

Agent/toolFilesNotes
Codex.codex-plugin/plugin.json, .mcp.json, agents/openai.yaml, skills/*/agents/openai.yamlNative Codex plugin metadata, MCP server definitions, and OpenAI agent manifests.
Claude Code.claude-plugin/plugin.json, .claude-plugin/marketplace.jsonClaude Code plugin and marketplace metadata. Skills live at the plugin root, not inside .claude-plugin/.
Cursor.cursor-plugin/plugin.jsonCursor plugin metadata with the same skill directory list.
pipackage.jsonpi.skills points at every packaged skill.
Generic agentsAGENTS.mdRepository-level instructions for agents that support the open AGENTS.md convention.

Host Dependencies

The plugin exposes host requirements through the doctor profiles below. Tool-dependent skills name their primary dependencies; run the relevant profile before relying on them. Dependency profiles are:

ProfileMain tools
coreXcode, Swift, xcodebuild, xcrun, git, python3, signing and plist tools.
mcpNode.js, npm, and npx for bundled MCP servers and browser-preview helpers.
githubgh for GitHub-oriented publishing and issue or PR workflows.
tuistmise and tuist@latest.
app-storeasc, notarytool, stapler, signing tools, and App Store Connect credentials.
screenshotsAXe (axe) for asc screenshots capture/run, plus Node.js and the bundled appstore-screenshot-studio script dependency: sharp.
performanceettrace, Xcode tools, Python helper scripts, and dSYM utilities.
firmwareipsw.
simulatorRocketSim.app with its bundled Agent Skill and CLI, plus Node/npx for serve-sim browser mirroring.

Repository Layout

.
├── .codex-plugin/        # Codex plugin manifest
├── .claude-plugin/       # Claude Code plugin and marketplace manifests
├── .cursor-plugin/       # Cursor plugin manifest
├── agents/               # OpenAI/Codex agent metadata
├── assets/               # Plugin icon assets
├── commands/             # Short command entrypoints
├── docs/                 # Installation and operational documentation
├── NOTICE                # Required copyright and permission notices
├── references/           # Plugin-level audits, ledgers, and routing notes
├── scripts/              # Install, dependency, doctor, and validation helpers
├── shared/               # Shared scripts, references, schemas, and support docs
└── skills/               # Installable Agent Skills, one directory per workflow

Quality Bar

  • Evidence first: build, run, test, profile, or inspect before making broad claims.
  • Recommend-first for risky build and project changes: benchmark, plan, approve, then fix.
  • Scoped edits: prefer the local project's patterns over generic rewrites.
  • No private/internal workflows: this repository is meant to be reusable by any Apple-platform developer.
  • Cross-agent compatibility: when a skill is added, update Codex, Claude, Cursor, pi, README, and AGENTS.md surfaces together.

Validation

./scripts/validate-package.sh
./scripts/doctor.sh --all

validate-package.sh checks JSON manifests, script syntax, skill frontmatter, multi-agent manifest coverage, and accidental private/work-specific terms.

License

MIT. See LICENSE. Additional required notices are preserved in NOTICE.

Files in the repo

Repository payload21 top-level entries
  • .claude-plugin
  • .codex-plugin
  • .cursor-plugin
  • agents
  • assets
  • commands
  • docs
  • references
  • scripts
  • shared
  • skills
  • .gitattributes
  • .gitignore
  • .mcp.json
  • AGENTS.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • LICENSE
  • NOTICE
  • package.json
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k