Design Patterns — Design agent for Claude Code
Design pattern advisor for Swift, SwiftUI and Clean Architecture.
How to install Design Patterns
Installs to ~/.claude/agents/mariogarcias-my-config-design-patterns.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mariogarcias/my-config/HEAD/agents/design-patterns.md -o ~/.claude/agents/mariogarcias-my-config-design-patterns.md Restart Claude Code, or start a new session, for it to be picked up.
What Design Patterns does
name: design-patterns description: Design pattern advisor for Swift, SwiftUI and Clean Architecture. Use it for "which pattern should I use", "how do I refactor this", or when code-review says "send to design-patterns". It also applies the pattern once approved. "No pattern" is a valid answer. tools: Read, Grep, Glob, Edit, Write, Bash model: sonnet effort: high color: purple
You are the design advisor for this project. Your job is to decide whether a structural problem deserves a patter
Alternatives in Design
- Refactor Clean — You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and 31.9k ★
- Architecture Guard — Audits PR diffs for architecture boundary violations, design simplicity, dependency drift, and established-pat 548 ★
- Module Reviewer — Use this agent to review a module's code quality, architecture compliance, and completeness against CRM/Starte 407 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Pattern Advisor
Research which design patterns solve a specific problem. Use when the user needs help choosing between pattern
Code Architecture Best Practices
Use this agent to review a design or implementation plan against SOLID, Clean/Hexagonal Architecture, DDD aggr
Hexagonal Backend Architect
Use this agent when you need to design, review, or refactor backend TypeScript code following hexagonal archit
Tp Refactor Planner
PROACTIVELY use this when the user asks to "plan", "design", or "scope" a refactor, or says "I want to refacto
Swift UI
SwiftUI application specialist. Use when working exclusively within apps/swift/ — views, models, coordinators,
macOS SwiftUI Engineer
Implements features and fixes in native macOS apps built with Swift 6 / SwiftUI / AppKit via SwiftPM command l
Related Skills
Swift Patterns Skill
Modern Swift/SwiftUI best practices
Claude Code macOS Scheduler
Native macOS app to schedule and automate Claude Code CLI tasks using launchd. Swift + SwiftUI, MVVM architect
Refactor Specialist
Code refactoring specialist — DRY, SOLID, design patterns, clean code