Agent Skill for Swift architecture design and implementation patterns.
Python
73
191 commits
updated Sep 28, 2026
Architecture guidance for AI coding tools — because LLMs default to MVVM for everything. This skill routes to the right pattern for your feature, keeps guidance scoped to your task, and gives you concrete code, anti-pattern fixes, and a PR checklist.
Supports the Agent Skills open format.
MVP · MVVM · MVI · TCA · Clean Architecture · VIPER · Coordinator · Reactive
Each has a dedicated playbook with overview, patterns, anti-pattern fixes, testing strategy, and PR checklist. Use the selection guide when the architecture is still undecided.
Works with any tool that supports the Agent Skills format:
npx skills add https://github.com/efremidze/swift-architecture-skill --skill swift-architecture-skill
Install from the marketplace for personal use:
/plugin marketplace add efremidze/swift-architecture-skill
/plugin install swift-architecture-skill@swift-architecture-skill
Or enable it for an entire project by committing this to .claude/settings.json:
{
"extraKnownMarketplaces": {
"swift-architecture-skill": {
"source": {
"source": "github",
"repo": "efremidze/swift-architecture-skill"
}
}
},
"enabledPlugins": {
"swift-architecture-skill@swift-architecture-skill": true
}
}
Clone the repo and copy the skill into your skills directory — ~/.claude/skills/ for personal use, or a project's .claude/skills/:
git clone https://github.com/efremidze/swift-architecture-skill.git
mkdir -p ~/.claude/skills # or .claude/skills for a project
cp -r swift-architecture-skill/swift-architecture-skill ~/.claude/skills/swift-architecture-skill
Once installed, ask your agent:
Use
swift-architecture-skillto recommend and scaffold architecture for this feature.
I'm building a SwiftUI feed with pagination, pull-to-refresh, and live updates.
Which architecture should I use and why?
We're planning to use TCA for a simple settings screen with two toggles.
Is that the right call, or is it overkill for this feature?
This module started as MVVM but the ViewModel is doing too much — routing,
formatting, and business logic. Use swift-architecture-skill to refactor it
toward Clean Architecture and show me the layer boundaries.
We have a UIKit + MVP module we're migrating to SwiftUI. Should we keep MVP
or switch patterns during the migration, and how do we handle the transition
period where both coexist?
swift-architecture-skill/
SKILL.md # Routing logic and output requirements
references/
selection-guide.md # Decision framework across architectures
concurrency.md # Shared async, cancellation, and error-mapping rules
observation.md # Shared @Observable vs ObservableObject guidance
mvp.md # MVP playbook
mvvm.md # MVVM playbook
mvi.md # MVI playbook
tca.md # TCA playbook
clean-architecture.md # Clean Architecture playbook
viper.md # VIPER playbook
coordinator.md # Coordinator playbook
reactive.md # Reactive (Combine/RxSwift) playbook
Contributions are welcome. A few things to keep in mind:
See CONTRIBUTING.md for full structure and quality requirements.
MIT. See LICENSE for details.
Agent Skill for Swift architecture design and implementation patterns.
Python
73
191 commits
updated Sep 28, 2026
Architecture guidance for AI coding tools — because LLMs default to MVVM for everything. This skill routes to the right pattern for your feature, keeps guidance scoped to your task, and gives you concrete code, anti-pattern fixes, and a PR checklist.
Supports the Agent Skills open format.
MVP · MVVM · MVI · TCA · Clean Architecture · VIPER · Coordinator · Reactive
Each has a dedicated playbook with overview, patterns, anti-pattern fixes, testing strategy, and PR checklist. Use the selection guide when the architecture is still undecided.
Works with any tool that supports the Agent Skills format:
npx skills add https://github.com/efremidze/swift-architecture-skill --skill swift-architecture-skill
Install from the marketplace for personal use:
/plugin marketplace add efremidze/swift-architecture-skill
/plugin install swift-architecture-skill@swift-architecture-skill
Or enable it for an entire project by committing this to .claude/settings.json:
{
"extraKnownMarketplaces": {
"swift-architecture-skill": {
"source": {
"source": "github",
"repo": "efremidze/swift-architecture-skill"
}
}
},
"enabledPlugins": {
"swift-architecture-skill@swift-architecture-skill": true
}
}
Clone the repo and copy the skill into your skills directory — ~/.claude/skills/ for personal use, or a project's .claude/skills/:
git clone https://github.com/efremidze/swift-architecture-skill.git
mkdir -p ~/.claude/skills # or .claude/skills for a project
cp -r swift-architecture-skill/swift-architecture-skill ~/.claude/skills/swift-architecture-skill
Once installed, ask your agent:
Use
swift-architecture-skillto recommend and scaffold architecture for this feature.
I'm building a SwiftUI feed with pagination, pull-to-refresh, and live updates.
Which architecture should I use and why?
We're planning to use TCA for a simple settings screen with two toggles.
Is that the right call, or is it overkill for this feature?
This module started as MVVM but the ViewModel is doing too much — routing,
formatting, and business logic. Use swift-architecture-skill to refactor it
toward Clean Architecture and show me the layer boundaries.
We have a UIKit + MVP module we're migrating to SwiftUI. Should we keep MVP
or switch patterns during the migration, and how do we handle the transition
period where both coexist?
swift-architecture-skill/
SKILL.md # Routing logic and output requirements
references/
selection-guide.md # Decision framework across architectures
concurrency.md # Shared async, cancellation, and error-mapping rules
observation.md # Shared @Observable vs ObservableObject guidance
mvp.md # MVP playbook
mvvm.md # MVVM playbook
mvi.md # MVI playbook
tca.md # TCA playbook
clean-architecture.md # Clean Architecture playbook
viper.md # VIPER playbook
coordinator.md # Coordinator playbook
reactive.md # Reactive (Combine/RxSwift) playbook
Contributions are welcome. A few things to keep in mind:
See CONTRIBUTING.md for full structure and quality requirements.
MIT. See LICENSE for details.