AI-powered agents for modern Swift/SwiftUI development with GitHub Copilot
A specialized AI toolkit for building professional iOS/macOS features with modern Swift 6.2, TCA (The Composable Architecture), and SwiftUI. This plugin provides ultra-specialized agents that orchestrate planning, implementation, testing, and deployment.
The swift-engineering plugin is a production-ready toolkit for professional Swift development:
- 12 Ultra-Specialized Agents — Planning, implementation, utilities with clear handoffs
- TCA Support — Full workflow from architecture design to testing for The Composable Architecture
- Modern Swift 6.2 — iOS 26+ with strict concurrency, async/await, actors, Sendable
- Code Quality — Integrated code review, accessibility compliance, and performance checks
- Knowledge Skills — 18 specialized knowledge bases covering architecture patterns, frameworks, design, and development tools
Copy the .github/ folder to your Swift project:
# Copy agents and skills to your project
cp -r .github/agents /path/to/your/project/.github/
cp -r .github/skills /path/to/your/project/.github/
cp .github/copilot-instructions.md /path/to/your/project/.github/Then open your project in Xcode — agents will appear in the Copilot GUI.
The SwiftAgent MCP Server provides universal access to all agents, skills, and tools from any MCP-compatible IDE (Cursor, Claude Desktop, VS Code, etc.).
# 1. Install and build the MCP server
cd mcp-server && npm install && npm run buildFor Cursor / Claude Desktop, add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json or Cursor settings):
{
"mcpServers": {
"swift-agent": {
"command": "node",
"args": ["/path/to/swift-agent/mcp-server/dist/index.js"]
}
}
}Available Tools:
list_resources— List all agents, skills, and rulesload_resource— Load a specific agent, skill, or rule by namesearch_swiftagent— Search across all SwiftAgent resourcesget_simulator— Get the best iOS Simulator UDIDsearch_codebase— Search code with ripgrep
Available Prompts:
All 12 agents are exposed as MCP prompts. Use @swift-architect, @tca-engineer, etc.
For Copilot-only workflows, copy files directly:
| Type | Agents | Responsibility |
|---|---|---|
| Planning | @swift-ui-design, @swift-architect, @tca-architect | Architecture decisions (read-only) |
| Implementation | @tca-engineer, @swift-engineer, @swiftui-specialist, @swift-test-creator, @documentation-generator, @swift-code-reviewer, @swift-modernizer | Code creation and review |
| Utilities | @swift-documenter, @search | API documentation and code search |
Architecture patterns (TCA, SwiftUI, modern Swift, advanced gestures), frameworks (SQLite, GRDB, StoreKit, networking), platform design (iOS 26, HIG, localization, haptics), and development tools (testing, style, diagnostics). Each skill provides deep guidance on modern patterns and best practices.
swift-agent/
├── .github/
│ ├── agents/ # 12 Copilot agents
│ ├── skills/ # 17 knowledge skills
│ ├── prompts/ # Session management prompts
│ └── copilot-instructions.md # Global instructions
├── mcp-server/ # MCP Server (TypeScript)
│ ├── src/index.ts # Server entry point
│ ├── package.json # npm configuration
│ └── dist/ # Compiled output
├── mcp/ # MCP development resources (internal)
├── rules/ # Development rules & patterns
├── scripts/ # Automation scripts
├── VERSION # Project version
├── LICENSE # MIT License
└── README.md # Documentation
When making changes, increment the version:
bash scripts/bump-plugin-version.sh <new-version>- Create new agent or skill file in
.github/agents/or.github/skills/ - Update references in
copilot-instructions.mdif necessary - Test in Xcode with Copilot
- Agents (
.github/agents/) — Each agent has a.mdfile with metadata and instructions - Skills (
.github/skills/) — Knowledge resources agents reference, organized by topic - Rules (
rules/) — Development practices and decision-making frameworks - Scripts (
scripts/) — Utility shell scripts for automation
The plugin implements several key principles:
- Ultra-Specialization — Each agent has one clear responsibility with defined handoffs
- Local-First — Default to SQLite and UserDefaults, never SwiftData or Core Data
- Modern Swift Only — Swift 6.2 with strict concurrency, no deprecated APIs
- Read-Only Planning — Planning agents cannot modify code, ensuring clear separation
- Plan File Coordination — Agents share state via
docs/plans/<feature>.md
See README.md for architecture details, workflow diagrams, and handoff models.
MIT License — See LICENSE file for details.
Author: John Rogers Repository: swift-agent Swift Version: 6.2+ iOS Deployment Target: 26.0+
For detailed documentation, agent specifications, and usage examples, see the Agents docs.