Sandbox
@superagents-lab/xcode27-skills

Xcode 27 Agent Skills for Claude Code and others

This repo packages Apple-authored Agent Skills from Xcode 27 into separate skill folders. The skills cover SwiftUI, UIKit modernization, Swift Testing, C bounds-safety, security settings, and device-based verification, so an agent can switch to the right guidance when the task matches.

312 stars21 forksPythonUpdated 3mo ago
Who it's for

Builders who want their coding agent to follow Apple’s Xcode 27 guidance for iOS and Swift work.

What it delivers

You can have your agent use Apple’s current platform guidance instead of relying on older patterns or guesswork.

What it does

SwiftUI specialist guidance

Covers SwiftUI structure, data flow, environment, modifiers, localization, animations, `ForEach`, and soft-deprecated APIs.

SwiftUI 27 updates

Summarizes new SwiftUI APIs, behaviors, and deprecations in the 2027 OS releases.

UIKit modernization

Guides migration to multi-window app patterns, scene lifecycle, and dynamic scene sizing.

Test modernization

Helps migrate XCTest suites to modern Swift Testing features.

C bounds-safety guidance

Explains `-fbounds-safety`, pointer annotations, adoption steps, build settings, and runtime debugging.

Security settings audit

Walks through Xcode security-oriented build settings, static analyzer checkers, and Enhanced Security hardening.

Device interaction checks

Supports verification on device or simulator through screenshots, UI hierarchy, and touch interactions.

How to get it

  1. 1The skills CLI auto-detects your agent (Claude Code, Codex, etc.) and installs into it.…
    # Pick interactively from the list of skills:
    npx skills add superagents-lab/xcode27-skills
    
    # Install one specific skill:
    npx skills add superagents-lab/xcode27-skills --skill swiftui-specialist
    
    # Install all seven:
    npx skills add superagents-lab/xcode27-skills --skill '*'
  2. 2A skill is just a directory containing a SKILL.md, so any agent that supports the Agent…
    git clone https://github.com/superagents-lab/xcode27-skills.git
    
    # Copy all seven skills, or just the ones you want, into your agent's skills directory:
    cp -R xcode27-skills/*/ <your-skills-directory>/
    cp -R xcode27-skills/swiftui-specialist <your-skills-directory>/

README

Xcode 27 Skills

A collection of Agent Skills exported from Xcode 27. These skills give AI coding agents (Claude Code, etc.) authoritative, up-to-date guidance for building Apple platform apps — covering SwiftUI, UIKit modernization, Swift Testing, C bounds-safety, Xcode security hardening, and on-device verification.

Attribution The content of these skills was authored and published by Apple and exported from Xcode 27. This repository is a redistribution for convenience and reference only. All rights to the underlying guidance belong to Apple. No license is granted by this repository over Apple's content.

Skills

SkillPurpose
swiftui-specialistBest practices and idiomatic patterns for SwiftUI — structure, data flow, environment, modifiers, localization, animations, ForEach, and soft-deprecated APIs.
swiftui-whats-new-27New SwiftUI APIs, behaviors, and deprecations in the 2027 OS releases (iOS/macOS/watchOS/tvOS/visionOS 27) — @State macro, reorderable, swipe actions, toolbar overflow, AsyncImage, item bindings, document-based apps.
uikit-app-modernizationModernize UIKit apps for multi-window environments — replace legacy shared-state APIs, migrate to scene lifecycle, support dynamic scene sizing.
test-modernizerModernize test suites to use modern Swift Testing features or migrate from XCTest.
c-bounds-safetyGuide for the C -fbounds-safety language extension — language model, pointer annotations, adoption, build settings, and runtime debugging.
audit-xcode-security-settingsAudit and progressively enable security-oriented Xcode build settings — compiler warnings, static analyzer checkers, and Enhanced Security hardening.
device-interactionVerify iOS app behavior on device or simulator via screenshots, UI hierarchy, and touch interactions.

Installation

Each top-level directory in this repo is a self-contained skill. Pick whichever method fits your agent.

Option 1 — npx skills (universal, recommended)

The skills CLI auto-detects your agent (Claude Code, Codex, etc.) and installs into it. Point it at this repo with the owner/repo shorthand:

# Pick interactively from the list of skills:
npx skills add superagents-lab/xcode27-skills

# Install one specific skill:
npx skills add superagents-lab/xcode27-skills --skill swiftui-specialist

# Install all seven:
npx skills add superagents-lab/xcode27-skills --skill '*'

Useful flags: --list to preview the skills without installing, -g/--global to install at the user level instead of the current project, and --copy to copy files instead of symlinking. Swap in any skill name from the table above.

Requires Node. If npx is missing, install it first: brew install node.

Option 2 — Manual install (any agent)

A skill is just a directory containing a SKILL.md, so any agent that supports the Agent Skills format can use it — clone the repo and copy the skill directories into wherever your agent looks for skills.

git clone https://github.com/superagents-lab/xcode27-skills.git

# Copy all seven skills, or just the ones you want, into your agent's skills directory:
cp -R xcode27-skills/*/ <your-skills-directory>/
cp -R xcode27-skills/swiftui-specialist <your-skills-directory>/

The agent auto-discovers any directory containing a SKILL.md and surfaces it when a task matches the skill's description.

Structure

Each skill is a directory containing a SKILL.md (with YAML frontmatter — name, description, etc.) and optional references/ and scripts/ subdirectories that the agent loads on demand.

<skill-name>/
├── SKILL.md          # entry point + metadata
├── references/       # detailed docs loaded as needed
└── scripts/          # helper scripts (where present)

Usage

Once installed, the agent surfaces a skill automatically when your request matches its description — you don't need to invoke it explicitly. In Claude Code you can also trigger one directly by name, e.g. /swiftui-specialist, and add focus hints like "check for soft-deprecated APIs" or "modernize these XCTest cases".

Files in the repo

Repository payload9 top-level entries
  • audit-xcode-security-settings
  • c-bounds-safety
  • device-interaction
  • swiftui-specialist
  • swiftui-whats-new-27
  • test-modernizer
  • uikit-app-modernization
  • .gitignore
  • 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