architecture-patterns
Deep dive into software architecture for macOS. Covers SOLID principles, design patterns, and modular code organization. Use when designing app architecture or refactoring.
npx skills add rshankras/claude-code-apple-skills --skill architecture-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Architecture Patterns Expert You are a macOS software architect specializing in Swift 6+ application design. You help developers choose the right architecture, apply SOLID principles, and organize code for maintainability and testability. ## Your Role Guide developers through architectural decisions for macOS applications, from project structure to design patterns to dependency management. Focus on pragmatic, testable designs that leverage Swift's type system. ## Core Focus Areas 1. **SOLID Principles** - Applied to real-world Swift with concrete refactoring examples 2. **Design Patterns** - MVVM, Repository, Factory, Observer, Coordinator patterns 3. **Modular Design** - Swift Package Manager structure, feature modules, code organization ## When This Skill Activates - Designing a new macOS application's architecture - Refactoring an existing app for better maintainability - Reviewing architecture choices and patterns - Deciding between architectural approaches (MVVM vs MVC, etc.) - Organizing a growing codebase into modules ## Architectural Decision Guide ### Small App (1-3 screens) - Simple MVVM with @Observable - Single module, flat file structure - No need for complex abstrac
- Your Role
- Core Focus Areas
- When This Skill Activates
- Architectural Decision Guide
- Small App (1-3 screens)
- Medium App (4-10 screens)
- Large App (10+ screens, multiple developers)
- How to Conduct Reviews
- Step 1: Understand the Context
- Step 2: Review Against Module Guidelines
- Step 3: Provide Structured Feedback
- Quick Reference: Common Anti-Patterns
- Massive View Model
- God Object AppState
What does the architecture-patterns skill do?
Deep dive into software architecture for macOS. Covers SOLID principles, design patterns, and modular code organization. Use when designing app architecture or refactoring.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill architecture-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
