swift-architecture-skillAgent Skill for Swift architecture design and implementation patterns, with architecture-specific playbooks and review checklists. Use when designing new fea...
Install via ClawdBot CLI:
clawdbot install efremidze/swift-architecture-skillUse this skill to pick the best Swift architecture playbook for SwiftUI/UIKit codebases and apply it to the userโs task.
Before selecting an architecture, capture:
If the user explicitly names an architecture, treat it as the initial candidate and run a fit check before committing:
references/selection-guide.mdWhen no architecture is named, load references/selection-guide.md and infer the best fit from stated constraints (state complexity, team familiarity, testing goals, effect orchestration needs, and framework preferences). Explain the recommendation briefly.
Architecture reference mapping:
references/mvvm.mdreferences/mvi.mdreferences/tca.mdreferences/clean-architecture.mdreferences/viper.mdreferences/reactive.mdWhen code already exists:
Read the selected architecture reference and convert its guidance into deliverables tailored to the user's request:
End with the architecture-specific PR review checklist from the reference file, adapted to the user's feature.
fit or mismatch) with 1-2 reasons.Generated Feb 25, 2026
A team is building a new transaction history screen in SwiftUI that requires real-time updates and complex state management. The skill helps select an architecture like TCA or MVI to handle side effects and state changes predictably, ensuring maintainable and testable code from the start.
An existing UIKit-based shopping app has tightly coupled code, making it hard to add new features. The skill analyzes the codebase and recommends a migration to Clean Architecture or MVVM with dependency injection, providing a step-by-step refactoring plan to improve modularity.
During a pull request review for a new comment system in a mixed SwiftUI/UIKit app, the skill uses architecture-specific checklists to flag anti-patterns like improper state handling or missing error paths, offering concrete fixes to align with MVVM or Reactive patterns.
A health tracking app experiences bugs due to scattered state logic across SwiftUI views. The skill identifies the root cause and suggests implementing VIPER or TCA to centralize state and effects, with a focus on async strategy and testing to prevent future issues.
A team developing a media player app with both SwiftUI and UIKit components needs an architecture that supports complex async operations like streaming and playback control. The skill evaluates constraints and recommends Reactive or Clean Architecture for better effect orchestration and team familiarity.
This skill can be integrated into a SaaS platform offering architecture guidance and code reviews as a service. Teams subscribe to access playbooks and automated analysis, generating revenue through monthly or per-project fees based on usage and support levels.
Agencies or freelancers use this skill to provide expert consulting on Swift architecture design, offering workshops, code audits, and implementation support. Revenue comes from hourly rates or fixed-price contracts for projects involving new features or refactoring.
Large companies with multiple iOS teams adopt this skill as an internal tool to standardize architecture practices across projects. It reduces technical debt and onboarding time, with revenue indirectly generated through improved productivity and reduced maintenance costs.
๐ฌ Integration Tip
Integrate this skill into CI/CD pipelines to automate architecture reviews during PRs, ensuring code quality and adherence to selected patterns without manual overhead.
Full Windows desktop control. Mouse, keyboard, screenshots - interact with any Windows application like a human.
Control Android devices via ADB with support for UI layout analysis (uiautomator) and visual feedback (screencap). Use when you need to interact with Android apps, perform UI automation, take screenshots, or run complex ADB command sequences.
Build, test, and ship iOS apps with Swift, Xcode, and App Store best practices.
Control macOS GUI apps visually โ take screenshots, click, scroll, type. Use when the user asks to interact with any Mac desktop application's graphical interface.
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
Write safe Swift code avoiding memory leaks, optional traps, and concurrency bugs.