swift-functional-architecture
Installation
SKILL.md
Functional Architecture in Swift
Use this skill for Swift architecture work where correctness, decoupling, and testability matter more than framework ceremony.
Core model
Partition the codebase into five concerns:
- Inert domain
- Pure decision logic
- Application orchestration and feature-state management
- Composition boundary
- Infrastructure and source-of-truth boundaries
Keep the first two deterministic. Push IO, timers, persistence, networking, and hardware access to the last two.
Non-negotiables
- Domain types are immutable
structandenumvalues by default.
Related skills