Skip to content
SwiftSkills

Rules

SwiftUI Guidelines

SwiftUI Guidelines is a rules file for SwiftUI development by PatrickJS, licensed CC0-1.0. It works with Cursor. Install steps are listed below.

Added

Rule file for Cursor that sets SwiftUI expectations: Swift 6 with concurrency checking turned to strict, apps aimed at iOS 15 and newer, and a structure based on MVVM or on Clean Architecture.

Compare all SwiftUI rules →

Install

1. In the app repository, add the folder .cursor/rules.
2. Save swiftui-guidelines-cursorrules-prompt-file.mdc from https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/swiftui-guidelines-cursorrules-prompt-file.mdc into that folder.
3. Reopen the repository in Cursor.

Copied from the upstream source on 16 Oct 2026. Check the repository before you run it. Works with Cursor.

  • Skill

    SwiftUI

    Apple UI Skills

    Agent skills for building with Apple's official UI kits across iOS, iPadOS, macOS, visionOS and watchOS, including SwiftUI patterns and an audit skill. The README documents npx skills add and a Claude Code plugin marketplace install, and names Claude Code, Cursor, Windsurf and Codex. GitHub Copilot is also named but is not in the catalog tools enum. The pack also includes web and cross-platform skills; those are not separate catalog entries.

    crankyjediii · Claude Code, Cursor +2

    Added · MIT

  • Skill

    SwiftUI

    Foldsmith

    Claude Code skill and plugin for iPhone Duo: hands-free migration with measured layout patterns, checked in every pose on the simulator. Also installs with npx skills for Codex, Cursor and Gemini CLI. The Claude Code pane and /foldsmith-start commands use /plugin install foldsmith --marketplace 3nchiridion/foldsmith.

    3nchiridion · Claude Code, Cursor +2

    Added · MIT

  • Skill

    SwiftUI

    SwiftUI Agent Skill

    Agent skill that gives Claude Code, Cursor and Codex a modern SwiftUI rulebook (iOS 26, Swift 6): NavigationStack, @Observable, accessibility, performance and a deprecated-API kill list, plus a review checklist before code is handed back. The on-disk skill is named swiftui-pro; it is not Paul Hudson's swiftui-pro.

    EliReeve · Claude Code, Cursor +1

    Added · MIT

  • Skill

    SwiftUI

    ui-tuning-lab

    Agent skill that adds a temporary, development-only control panel beside a real screen so you can tune spacing, motion and looks in a running iOS, macOS (SwiftUI) or web app, then writes the chosen values into the feature and removes the panel. README names Claude Code, Codex and Cursor.

    Mohanad-Ramadan · Claude Code, Codex +1

    Added · MIT

  • Skill

    SwiftUI

    BAMA (Build Any Mac App)

    Agent skills that take a native macOS app from idea to the Dock: clone a reference UI, plan, design, implement and ship. Claude Code and Codex plugins, or npx skills for Cursor, Gemini CLI and others. The clone skill on native apps needs computer use (Claude Pro or Max).

    daveebbelaar · Claude Code, Codex +3

    Added · MIT

  • Skill

    SwiftUI

    SwiftUI Resizable Migration

    Agent skill for migrating SwiftUI and UIKit apps to the WWDC26 / iOS 27 resizable iPhone-app window changes, such as toolbar overflow and visibility priority. README flags the referenced APIs as tracking Xcode 27 betas.

    NatFederico · Claude Code, Cursor +1

    Added · MIT