Xcode Agent Skills

New

Agent Skills allow Xcode's AI to understand TTBaseUIKit patterns. Create SKILL.md files to teach the AI about your framework-specific conventions.


🧩 What Are Agent Skills?

Introduced as a community standard by Paul Hudson (twostraws/swift-agent-skills), Agent Skills are structured instruction files that AI coding tools can read to understand project-specific patterns.

📄 SKILL.md Format

Each skill starts with YAML frontmatter:

---
name: TTBaseUIKit Screen Builder
description: Generates screens using TTBaseUIKit base classes
---

# TTBaseUIKit Screen Builder Skill

## Context
This skill generates screens following the TTBaseUIKit architecture:
- UIKit screens extend TTBaseUIViewController
- SwiftUI screens use SUIBaseView for navigation (iOS 14+)
- All views implement ViewCodable protocol

## Steps
1. Determine if UIKit or SwiftUI screen is needed
2. Create the ViewController/View with proper base class
3. Create the ViewModel with necessary state
4. Create CustomView subfolder for child views
5. Wire up all connections

## Examples
[Include code examples here]

📁 Skill Structure

A complete skill can include:

my-skill/
├── SKILL.md          # Required: main instructions
├── scripts/          # Helper scripts
├── examples/         # Reference implementations
└── resources/        # Templates, assets

🔗 Compatible Tools

  • Xcode AI Agents
  • GitHub Copilot
  • Claude Code
  • Cursor
  • OpenAI Codex
Learn More: Visit twostraws/swift-agent-skills for the complete Agent Skills specification and community skills.
← Back to AI Agents Hub