Swift Design Patterns — Design skill for Claude Code
Claude Code/Codex plugin: MCP server + skill for the 23 GoF design patterns in Swift, with compile-checked idiomatic examples.
How to install Swift Design Patterns
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open imvityalee/swift-design-patterns and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Swift Design Patterns does
Claude Code/Codex plugin: MCP server + skill for the 23 GoF design patterns in Swift, with compile-checked idiomatic examples.
Alternatives in Design
- Home Assistant Vibecode Agent — Home Assistant MCP server agent 617 ★
- Module CSS — Compile module CSS assets or fix Tailwind prefix issues 407 ★
- Agent Design Patterns — A 7×6 framework for agent architecture 239 ★
README
Swift Design Patterns — for Claude Code & Codex
[](https://github.com/imvityalee/swift-design-patterns/actions/workflows/ci.yml)
A [Claude Code](https://code.claude.com) plugin — also available as an [OpenAI Codex](https://github.com/openai/codex) MCP server (see [Use with Codex](#use-with-codex)) — that makes your coding agent fluent in the **23 Gang-of-Four design patterns in Swift**. It comes in two forms:
- 🧠 the Claude Code plugin (
plugins/swift-design-patterns/): a skill with the full catalog bundled as Markdown references, plus slash commands — no server, scripts, or dependencies; and - 🧰 an MCP server (npm
swift-design-patterns-mcp) exposing the same catalog as tools, for Codex or any MCP client.
Every pattern ships with an **idiomatic, compile-checked Swift example** (all 46 examples type-check under the Swift 6 toolchain).
What you get
MCP tools (MCP server only)
| Tool | What it does |
|---|---|
list_patterns |
Browse the catalog, optionally filtered by category (Creational / Structural / Behavioral). |
get_pattern |
Full reference for one pattern — intent, problem, solution, applicability, participants, conceptual + real-world Swift examples, pros/cons, related patterns. Accepts an id (abstract-factory) or name (Abstract Factory). |
recommend_pattern |
Describe a design problem in plain words; get ranked candidate patterns with the matched cues. |
get_project_conventions |
Read the current project's architecture & conventions file so advice matches your codebase, not generic defaults. |
Skill & commands
- The
swift-design-patternsskill auto-invokes when you're choosing, implementing, refactoring toward, or explaining a pattern in Swift, reading the bundled pattern references. /pattern— quick lookup or recommendation on demand (/pattern Strategy, or `/
Related Skills
DesignerMCP Agent
Professional design agent for Claude Code and Codex: carousels, posts and banners with methodology (grid, stru
Vibe Wise MCP
Universal MCP server port of VibeWise: design-first gate for any coding agent (Claude Code, Cursor, Codex, Ant
BashCut
Native macOS video editor that coding agents can drive: everything the UI does, Claude Code and Codex can do t
Figloo
Chrome extension + local MCP server that lets coding agents like Claude Code and Codex read Figma designs thro
Axle
Self-hosted MCP server that lets coding agents (Claude Code, Codex, OpenCode) on any machine message each othe
Figmcp
Local Figma MCP server: turn Figma frames into Flutter and React code, and design in Figma, from Claude Code o
Related Agents
Codex Bridge
把指定工作外包給 gpt-5.5(codex)並忠實回傳其輸出。當需要 gpt-5.5 的批量實作或獨立第二審查視角時使用。這是 plugin 內第三種 codex 路徑:一次性 codex exec CLI 呼叫、輸出
Transport Verifier
Runs live end-to-end checks of a delivery transport (Herdr socket, MCP server, Claude Code or Codex hook, Open
Behavioral Auditor
GoF Behavioral patterns auditor. Analyzes Strategy, State, Chain of Responsibility, Decorator, Null Object, Te