swiftui-patterns

v2026.09.25

Best practices for SwiftUI views and components covering tab architecture, screen composition, and reusable view patterns. Ensures SwiftUI code follows idiomatic structure for maintainable, scalable Apple platform apps.

GitHub
Install command
npx skhub add podo/swiftui-patterns
Markdown
SKILL.md

swiftui-patterns

Catalogue stub — full skill: dimillian/Skills

Decision tree

Run this before any SwiftUI view or component work:

  1. Is the full skill already installed? Check: ~/.design-agent-skills/skills/swiftui-patterns/SKILL.md exists AND does NOT contain a das: block.

    • Yes → invoke swiftui-patterns and proceed
    • No → go to step 2
  2. Do you have shell access?

    • Yes → run the install command below, then invoke the skill
    • No → show the install command; in Claude Code, send it as a chat message starting with ! — add -g for global install or omit for project-only

Install command

npx skills add dimillian/Skills --skill swiftui-ui-patterns

Or per-agent:

  • Claude Code: claude skills add dimillian/Skills
  • Cursor/OpenCode: npx skills add dimillian/Skills --skill swiftui-ui-patterns

Invoke after install

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

What it does

Provides best practices for building SwiftUI views and components on Apple platforms, with a focus on tab-based navigation architecture, screen composition patterns, and reusable view structures. Keeps SwiftUI code idiomatic and avoids common architectural mistakes that cause layout or state management issues.

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

skills/swiftui-patterns

Default branch

main

Latest commit

c3fac4c

Tree SHA

4419447