apple-xcode-workflow

A workflow guide for Apple and Swift development in Xcode, Apple's app-development environment. It covers inspecting projects, checking tools, diagnosing problems, building, testing, running, and finding Apple or Swift documentation.

In plain words
What is it for?
Use it for Xcode workspace inspection, Swift toolchain checks, builds, tests, runs, diagnostics, and Apple or Swift documentation lookup.
Why use it?
It gives coding agents a consistent way to work with Xcode projects and choose appropriate checks or documentation sources. It also accounts for operations that may change files in an Xcode-managed project.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/syniox5334/apple-dev-skills/apple-xcode-workflow
Any agent
npx skills add Syniox5334/apple-dev-skills --skill apple-xcode-workflow
Clone the repo
git clone --depth 1 https://github.com/Syniox5334/apple-dev-skills

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.01317
Opus 5 $0.00023 $0.00659
Sonnet 5 $0.00009 $0.00263
Haiku 4.5 $0.00005 $0.00132

Measured 2d ago against content hash 8a02cca4eea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

apple-xcode-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/advisory_cooldown.py, scripts/customization_config.py, scripts/detect_xcode_managed_scope.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apple-xcode-workflow/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apple Xcode Workflow

Purpose

Use this skill as the top-level entry point for Apple and Swift work in or around Xcode. The skill guides agent-side tool use, while scripts/run_workflow.py enforces local policy, mutation guards, cooldown behavior, docs routing, and structured fallback planning.

When To Use

  • Use this skill for Xcode workspace inspection, read or search, diagnostics, build, test, and run tasks.
  • Use this skill for Swift toolchain checks and official Apple CLI fallback.
  • Use this skill for Apple and Swift documentation requests that should prefer Dash local sources before official web docs.
  • Use this skill when direct filesystem mutation in an Xcode-managed scope may be required.
  • Recommend apple-dash-docsets when the user needs Dash docset search, install, or generation work instead of Apple execution work.
  • Recommend apple-swift-package-bootstrap when the user needs to create a brand new Swift package rather than work inside an existing Xcode or Swift project.

Single-Path Workflow

  1. Classify the request into one operation type:
    • workspace or session inspection
    • read, search, or diagnostics
    • build, test, or run
    • package or toolchain management
    • docs lookup
    • mutation
  2. Run scripts/run_workflow.py to apply runtime configuration, mutation-guard checks, docs-routing order, advisory cooldown, and CLI fallback planning.
  3. Use the guidance in references/mcp-tool-matrix.md for agent-executed MCP operations.
  4. If MCP fails, use the structured fallback output from scripts/run_workflow.py together with references/cli-fallback-matrix.md.
  5. Report which parts were agent-executed, which parts were locally enforced by script, and any required next step.

Inputs

  • operation_type: one of the operation types listed above.
  • workspace_path: optional absolute path for the target Xcode or Swift workspace.
  • tab_identifier: optional MCP tab identifier when already known.
  • mcp_failure_reason: optional input when continuing from an earlier MCP failure.
  • docs_query: required when operation_type is docs.
  • filesystem_fallback_opt_in: optional explicit opt-in when planning direct filesystem fallback in Xcode-managed scope.
  • Defaults:
    • runtime entrypoint: python3 scripts/run_workflow.py
    • agent-side MCP retries once for transient failures
    • advisory cooldown is 21 days
    • docs source order is dash-mcp,dash-local,official-web
    • mutation operations require the explicit guard in Xcode-managed scope

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 124 lines · 46 tokens per session scan A 8a02cca4eea8

Subscribe to this mod's changes

apple-xcode-workflow is a skill published in the GitHub repository Syniox5334/apple-dev-skills (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,317 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

apple-engineer-superpowers

Use when writing Swift code for Apple platforms - iOS, macOS, visionOS. Covers Swift 6 concurrency, actors, Sendable, async/await, SwiftUI, MVVM architecture, Metal GPU programming, RealityKit ECS, visionOS scenes, interpolation/animation, advanced collection types, property wrappers, Combine bridging, error handling…

piemonte/apple-engineer-superpowers · 82 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

kotlin-flow-state-event-modeling

Use when writing or reviewing Kotlin StateFlow/SharedFlow/Channel choices, sentinel default values, stateIn placement, WhileSubscribed staleness, or MutableStateFlow update patterns. Technique-layer skill — complements the codebase-specific kotlin-expert.

vitorpamplona/amethyst · 57 tokens

account-state

Account state and in-memory event store patterns in Amethyst. Use when working with Account.kt (per-user state objects — kind3FollowList, nip65RelayList, muteList, bookmarkState, each exposing a .flow StateFlow), LocalCache (the object-level event store backed by LargeCache), User/Note model classes, or any ViewModel…

vitorpamplona/amethyst · 133 tokens

macos-swiftpm

Build, run, and test SwiftPM macOS packages and executables. Use when the repo is package-first or has no Xcode project.

robinebers/openusage · 35 tokens

kotlin-control-flow

Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.

chrisbanes/skills · 44 tokens