Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

swiftui-ui-patterns

Skill by sickn33

SwiftUI UI Patterns gives an AI assistant proven patterns for SwiftUI navigation, sheets, async state, and reusable screens. It is for iOS developers building or refactoring SwiftUI views.

  • Score 93
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install swiftui-ui-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/swiftui-ui-patterns ~/.claude/skills/swiftui-ui-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install swiftui-ui-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

SwiftUI UI Patterns is an agent skill that guides an assistant through building SwiftUI screens, flows, and reusable components. It covers navigation with NavigationStack, enum-driven sheets, async loading with .task, previews, and scroll-driven reveals. It also points to reference files for deep links, app wiring, performance, and component patterns.

The skill sets rules for state ownership. It prefers @State, @Binding, @Observable, and @Environment, and it falls back to ObservableObject for iOS 16 and earlier. It recommends .sheet(item:) for selected models and says sheets should call dismiss() themselves. It is aimed at developers working in existing or new SwiftUI projects. The source states that its examples are sketches, not a complete app.

Written from the project's SKILL.md and checked against it.

What it can do

  • NavigationGuidance on NavigationStack ownership, per-tab history, and enum routing.
  • SheetsCentralized modal presentation with enum-driven sheets and .sheet(item:).
  • Async stateUses .task and .task(id:) with cancellation, debouncing, and loading and error states.
  • PreviewsCovers #Preview, fixtures, and mock environments for isolated preview setup.
  • State ownershipHelps choose the right state wrapper for local, shared, and legacy models.
  • App wiringWires TabView, NavigationStack, and sheets with an AppTab and RouterPath.
  • Scroll-driven revealsDerives normalized progress from scroll offset to drive visual state.
  • Deep linksCovers URL handling and routing external links into app destinations.
  • PerformanceCovers stable identity, observation scope, and lazy container guardrails.

What you need

  • An installed Apple SDK for build and preview checks
  • A SwiftUI project to apply the patterns to

Try asking

  • Set up TabView and NavigationStack for my new SwiftUI app
  • Refactor this SwiftUI screen to use .sheet(item:) and dismiss()
  • Add .task(id:) loading with cancellation to this SwiftUI view

Good to know

  • The reference files are application sketches, not a complete app.
  • Imports, error contracts, and minimum OS must be verified with the installed SDK.
  • Output is not a substitute for environment-specific testing or expert review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/agentic-awesome-skills/skills/swiftui-ui-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • agents/openai.yaml221 B
  • references/app-wiring.md6 KB
  • references/async-state.md3 KB
  • references/components-index.md4 KB
Show all 32 files
  • references/controls.md2 KB
  • references/deeplinks.md2 KB
  • references/focus.md2 KB
  • references/form.md4 KB
  • references/grids.md2 KB
  • references/haptics.md2 KB
  • references/input-toolbar.md1 KB
  • references/lightweight-clients.md3 KB
  • references/list.md3 KB
  • references/loading-placeholders.md1 KB
  • references/macos-settings.md2 KB
  • references/matched-transitions.md2 KB
  • references/media.md2 KB
  • references/menu-bar.md2 KB
  • references/navigationstack.md4 KB
  • references/overlay.md1 KB
  • references/performance.md2 KB
  • references/previews.md2 KB
  • references/scroll-reveal.md5 KB
  • references/scrollview.md2 KB
  • references/searchable.md2 KB
  • references/sheets.md5 KB
  • references/split-views.md2 KB
  • references/tabview.md3 KB
  • references/theming.md2 KB

And 2 more files on GitHub.

Alternatives to swiftui-ui-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

swiftui-ui-patterns: common questions

Does this skill support iOS 16 and earlier?

Yes. When the deployment target cannot use the Observation API from iOS 17, the source falls back to ObservableObject with @StateObject, @ObservedObject, and @EnvironmentObject.

Is the code ready to run as is?

No. The source says project views, models, adapters, and theme tokens must be supplied and verified before adapting the examples.

Where does this skill come from?

The source credits Dimillian/Skills under the MIT license and shows a date_added of 2026-03-25.

How do I install swiftui-ui-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is swiftui-ui-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is swiftui-ui-patterns safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to swiftui-ui-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

swiftui-ui-patterns Install

Add to stack

Loading.