Skip to main content
skill CX Codex

swiftui-patterns · podo — Claude Code skill: what it does, how to install

swiftui-patterns is a Claude Code skill with idiomatic SwiftUI patterns for tab navigation, screen layouts, custom modifiers, and state handling.

MIT 205 installs ★ 35 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add podo/design-agent-skills --skill swiftui-patterns -a claude-code
Open on GitHub

What swiftui-patterns does

This skill guides coding agents through building SwiftUI interfaces for Apple platforms. It covers tab navigation hierarchies via TabView, screen composition with stacks and grids, custom view modifiers, and data flow using @State and @Binding.

The repository acts as a pointer stub targeting swiftui-ui-patterns from Dimillian/Skills. Installing it alongside swiftui-claude-skills causes a name collision, because both packages target the same skill file and will overwrite earlier files. If you need visual art direction rather than structural layout, use swiftui-design-skill instead.

What it helps with

  • structure navigation hierarchies using TabView
  • bind view state cleanly with @State and @Binding
  • compose multi-view screens using SwiftUI stacks and grids
  • create reusable custom view modifiers

Example prompts for the agent

  • Show me SwiftUI patterns for managing state across nested views with @Binding
  • Help me design the tab architecture for a new SwiftUI screen using TabView
  • Create a custom SwiftUI view modifier for a reusable card component

How to install swiftui-patterns

1Skills CLI (Vercel)

npx skills add podo/design-agent-skills --skill swiftui-patterns -a claude-code

2Manually: put the files in place

~/.claude/skills/swiftui-patterns/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/swiftui-patterns/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about swiftui-patterns

How to install swiftui-patterns in Claude Code?

Run npx skills add podo/design-agent-skills --skill swiftui-patterns -a claude-code in your terminal.

What does swiftui-patterns do?

It supplies architectural rules and code patterns for SwiftUI navigation, state management, and view composition on Apple platforms.

Does swiftui-patterns conflict with other skills?

Yes. It shares the swiftui-ui-patterns identifier with swiftui-claude-skills, so installing both overwrites the previous skill file.

Source text

SKILL.md · MIT
---
name: swiftui-patterns
description: |
  Best practices and example-driven guidance for SwiftUI views and components:
  tab architecture, navigation hierarchies, screen composition, custom view
  modifiers, and responsive layouts. Keeps SwiftUI code idiomatic and maintainable
  for Apple platform apps.
triggers:
  - "SwiftUI patterns"
  - "SwiftUI components"
  - "SwiftUI tab architecture"
  - "SwiftUI screen"
das:
  category: visual-components
  upstream: "https://github.com/Dimillian/Skills"
  upstream_path: "swiftui-ui-patterns/SKILL.md"
  version: latest
  install: true
---

# swiftui-patterns

> Catalogue stub — full skill: [Dimillian/Skills](https://github.com/Dimillian/Skills)

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->
## Decision tree

1. **Is the full skill already installed?**
   Upstream names this skill `swiftui-ui-patterns`, so it installs next to this pointer (the pointer is not replaced).
   - Global: `f=~/.agents/skills/swiftui-ui-patterns/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - Project: `f=.agents/skills/swiftui-ui-patterns/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
   - `installed` → the skill is installed as `swiftui-ui-patterns`, invoke it and proceed
   - `pointer` → go to step 2

2. **Detect scope, then install:**

   ```bash
   [ -e ~/.agents/skills/swiftui-patterns ] && echo "global" || echo "project"
   ```

   **Global:**
   ```bash
   npx skills add Dimillian/Skills --skill swiftui-ui-patterns -g -y
   ```

   **Project:**
   ```bash
   npx skills add Dimillian/Skills --skill swiftui-ui-patterns -y
   ```
   > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation.

**Heads-up**

- **License:** MIT
- **Name collision:** `swiftui-ui-patterns` is also written by `swiftui-claude-skills` (its install or its catalogue pointer); installing both overwrites the earlier one.
<!-- das:install:end -->

## Invoke after install

- Skill name: `swiftui-ui-patterns`
- Trigger phrases: "SwiftUI patterns", "SwiftUI components", "SwiftUI tab architecture", "SwiftUI screen"

## What it does

Provides best practices and example-driven guidance for building SwiftUI views and components on Apple platforms: tab-based navigation architecture with `TabView`, navigation hierarchies, screen composition with stacks and grids, custom view modifiers, `@State` and `@Binding` management, and component-specific patterns with reference examples. Keeps SwiftUI code idiomatic and avoids common architectural mistakes that cause layout or state-management issues.

## When NOT to use

- Liquid Glass (iOS 26) APIs → use `liquid-glass-skill`
- Visual design direction for SwiftUI apps → use `swiftui-design-skill`
- A broader SwiftUI skill set → use `swiftui-claude-skills`

© podo · MIT · podo/design-agent-skills

Similar skills

All skills for Mobile →

swiftui-patterns by other authors comes first.

swiftui-patterns affaan-m swiftui-patterns guides AI agents on modern SwiftUI architecture: @Observable state, type-safe navigation, and view performance. Useful when building or reviewing iOS and macOS UI. CX Codex +1 6,300installs swiftui-patterns dpearson2699 swiftui-patterns guides SwiftUI view work around state, composition, environment wiring, and isolated previews. Use it when refactoring a screen or sorting out @Observable ownership. CX Codex +1 4,900installs swiftui-patterns official OpenAI swiftui-patterns sets desktop-first macOS SwiftUI architecture, scene models, toolbars, split views, and clean multi-file project layouts. CX Codex GP ChatGPT +1 57installs swiftui-patterns John Rogers (@johnrogers) swiftui-patterns guides Claude Code through iOS 17+ SwiftUI conventions: the @Observable macro, NavigationStack, and clean UIKit interop. CX Codex +1 ★ 233repo stars swiftui-whats-new-27 superagents-lab swiftui-whats-new-27 — a reference skill covering SwiftUI API updates across 2027 Apple platforms. It prevents build failures when @State transitions to a macro and guides migration. CX Codex +1 822installs swiftui-animation dpearson2699 swiftui-animation guides your agent through SwiftUI motion APIs. It helps choose spring curves, keyframes, transitions, and accessibility settings. CX Codex +1 5,900installs swiftui-performance dpearson2699 swiftui-performance — a skill for Claude Code, Cursor, Codex and other agents that takes a reproducible SwiftUI symptom through to a measured fix. CX Codex +1 5,000installs swiftui-design-skill wholiver swiftui-design-skill designs custom SwiftUI screens for iOS and macOS without generic AI clichés. Useful when drafting interface prototypes or picking a distinct visual direction. CX Codex +1 1,300installs axiom-swiftui CharlesWiltgen axiom-swiftui — a skill for Claude Code, Codex, Cursor, Copilot and other agents that activates on any SwiftUI task: views, navigation, layout, animations, gestures, debugging. Covers iOS 26 features and iPhone Duo. CX Codex +1 1,700installs swiftui-motion AThevon swiftui-motion is a Claude Code skill that structures SwiftUI animation code. Directs spring tuning, view transitions, phase animators, and zoom navigation for Apple platforms. CX Codex +1 957installs

From the same set108

The whole set →
design-for-ai design-for-ai adds a four-stage design workflow to your agent: research, plan, mock, and build. Prevents generic AI aesthetics like dark cyan palettes and uniform cards. CX Codex +1 206installs content-catalogue content-catalogue is a Claude Code skill that finds skills for design and product work, from slide decks and diagrams to UX strategy and interface copy. CX Codex +1 206installs design-with-claude design-with-claude runs a deterministic design-system audit and sends findings to focused slash commands. Use it when an interface needs a structured review before changes. CX Codex +1 206installs wireframe-skill Turns a written screen description into a wireframe: a JSON structure plus one HTML preview where blocks can be dragged around. CX Codex +1 206installs data-analysis-skill The data-analysis-skill skill reviews Excel and CSV data, runs parallel expert analysis, and builds interactive HTML reports with charts. It can export the report to PowerPoint when requested. CX Codex +1 205installs threejs-claude-skill-package threejs-claude-skill-package — a bundle of 24 deterministic Three.js skills for scene building, WebGPU, React Three Fiber, physics, and architectural IFC models. CX Codex +1 205installs nanobanan-ppt nanobanan-ppt reads a document, splits it into slides and draws theme-matched images with Gemini. You get slide images and an HTML player, not a .pptx. CX Codex +1 204installs marp-slides marp-slides — a skill that walks the agent through Marp Markdown decks: slide density, visual hierarchy, plus ready SVG charts and a dark or light theme. CX Codex +1 204installs

Project sponsors

Companies that keep this analytics open