LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

swift-architecture-skill

Swift iOS architecture guidance and playbooks for MVVM, MVI, TCA, Clean Architecture, VIPER, MVP, Coordinator, and Reactive patterns. Use when designing, implementing, refactoring, or reviewing the architecture of a SwiftUI or UIKit feature, module, or codebase.

65stars3forksUpdated 8/13/2026
Code Review#ios#best-practices#swift#code-review#architecture#swiftui

Security Assessment

Safe(95/100)
Security Score95/100

About swift-architecture-skill

swift-architecture-skill is an architecture-guidance skill for Swift iOS codebases. It helps select and apply the right architectural pattern for a SwiftUI or UIKit feature, module, or whole codebase, covering MVVM, MVI, TCA, Clean Architecture, VIPER, MVP, Coordinator, and Reactive patterns. It solves the recurring problem of choosing an architecture that fits actual constraints rather than defaulting to a favorite or over-engineering a small feature.

The skill starts by capturing task type, UI stack, minimum deployment target (iOS 17+ enables @Observable while iOS 16 needs ObservableObject), scope, state and effect complexity, team familiarity, and existing conventions. It then routes: if the user names an architecture it runs a fit check first; otherwise it infers the best fit from a selection guide. It offers a Quick Recommendation Mode for single features and a Deep Refactor Mode for multi-module migrations, and maps each pattern to a detailed reference playbook. Playbooks (for example Clean Architecture) include dependency rules, canonical layer layouts, entity/use-case/repository patterns, dependency injection, DTO-to-domain mapping, structured concurrency and cancellation, presentation boundaries, anti-patterns with fixes, and testing strategy with example Swift code. Guardrails discourage unnecessary architecture switches and adding heavy dependencies like TCA unless the user accepts the trade-off.

It targets iOS engineers and tech leads designing, refactoring, or reviewing SwiftUI/UIKit architecture. It is pure guidance and example code with no execution, network, or credential handling.

FAQ

Which architectures does it cover?

MVVM, MVI, TCA, Clean Architecture, VIPER, MVP, Coordinator, and Reactive, each with its own reference playbook, plus a selection guide for choosing among them.

What if I already know which architecture I want?

It treats your choice as the initial candidate and runs a fit check against your UI stack, state complexity, effect needs, team familiarity, and existing conventions before committing, recommending an alternative if it mismatches.

Does it consider my deployment target?

Yes. It captures the minimum iOS version because iOS 17+ enables @Observable while iOS 16 requires ObservableObject, which affects presentation-layer choices.

Will it push a big rewrite on a small feature?

No. Its guardrails explicitly avoid forcing an architecture switch when the current local pattern is a reasonable fit, and it prefers the smallest change that solves the request.

Does it add third-party dependencies?

Only with your consent. It will not introduce frameworks like TCA unless you explicitly accept the trade-off or your codebase already uses them.

All Files

11 files
references/clean-architecture.md9.1 KB
View
references/coordinator.md14.8 KB
View
references/reactive.md13.9 KB
View
SKILL.md6.6 KB
View
references/mvvm.md21.6 KB
View
references/viper.md14.9 KB
View
references/mvi.md19.6 KB
View
references/selection-guide.md8.7 KB
View
references/_index.md1.5 KB
View
references/mvp.md13.1 KB
View
references/tca.md10.7 KB
View

Install swift-architecture-skill

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

efremidze/swift-architecture-skill

Related Skills

dbt-sf-to-bq-translator

21,076

build-models

102

html-prototype

3,588

doc

448