Swiftui Expert Skill
AFK-surf/OpenBridge
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption.
Opinionated SwiftUI architecture enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps using local SPM package boundaries.
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pproenca/dot-skills swift-ui-architect --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .claude/skills/swift-ui-architect && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .claude/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architectType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pproenca/dot-skills swift-ui-architect --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .agents/skills/swift-ui-architect && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .agents/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pproenca/dot-skills swift-ui-architect --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .cursor/skills/swift-ui-architect && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .cursor/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pproenca/dot-skills.git --path skills/.experimental/swift-ui-architect--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pproenca/dot-skills swift-ui-architect --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .gemini/skills/swift-ui-architect && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .gemini/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pproenca/dot-skills swift-ui-architectInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .github/skills/swift-ui-architect && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .github/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill swift-ui-architect -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pproenca/dot-skills swift-ui-architect --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/.experimental/swift-ui-architect .opencode/skills/swift-ui-architect && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "swift-ui-architect" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/swift-ui-architect into .opencode/skills/swift-ui-architect/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swift-ui-architect", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
swift-ui-architectOpinionated SwiftUI architecture enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps using local SPM package boundaries.
Swift UI Architect is an agent skill from pproenca/dot-skills. Opinionated SwiftUI architecture enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps using local SPM package boundaries. Enforces App-target DependencyContainer + route shells, @Observable ViewModels/coordinators, Domain repository/coordinator/error-routing protocols, Data-owned I/O, stale-while-revalidate reads, and optimistic queued sync. Use when writing, reviewing, or refactoring SwiftUI architecture, navigation, dependency wiring, or repository boundaries.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 49 other files, including reference files and assets (for example `assets/templates/_template.md`, `metadata.json` and `references/_sections.md`).
It sits in Mobile, covering iOS development. It works with SwiftUI, Swift and iOS. The repository describes itself as: A collection of AI agent skills following the Agent Skills open format. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cf93c57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Swift UI Architect loads about 2.5k tokens when it runs, and up to ~42k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 746 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pproenca/dot-skills at commit cf93c57, republished under its MIT licence (© pproenca). 746 words, ~2,525 tokens.
.claude/skills/swift-ui-architect/SKILL.md (or your agent's skills folder). This skill also uses 46 other files; get the full folder from GitHub.Opinionated architecture enforcement for SwiftUI clinic-style apps. This skill aligns to the iOS 26 / Swift 6.2 clinic architecture: modular MVVM-C in local SPM packages, concrete coordinators and route shells in the App target, pure Domain protocols, and Data as the only I/O layer.
┌───────────────────────────────────────────────────────────────┐
│ App target: DependencyContainer, Coordinators, Route Shells │
├───────────────┬───────────────┬───────────────┬──────────────┤
│ Feature* SPM │ Feature* SPM │ Feature* SPM │ Feature* SPM │
│ View + VM │ View + VM │ View + VM │ View + VM │
├───────────────────────────────────────────────────────────────┤
│ Data SPM: repository impls, remote/local, retry, sync queue │
├───────────────────────────────────────────────────────────────┤
│ Domain SPM: models, repository protocols, coordinator protocols│
│ and ErrorRouting/AppError │
├───────────────────────────────────────────────────────────────┤
│ Shared SPMs: DesignSystem, SharedKit │
└───────────────────────────────────────────────────────────────┘Dependency Rule: Feature modules import Domain + DesignSystem only. Features never import Data or other features. App target is the only convergence point.
All guidance in this skill assumes the clinic modular MVVM-C architecture:
Domain + DesignSystem only (never Data, never sibling features)DependencyContainer, concrete coordinators, and Route Shell wiringDomain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contractsData owns SwiftData/network/sync/retry/background I/O and implements Domain protocolsReference these guidelines when:
@Observable for ViewModels/coordinators, ObservableObject / @Published neverNavigationPath in App target.navigationDestination mappingAppError + ErrorRouting drive presentation policy; ViewModels do not hardcode global error UI| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | View Identity & Diffing | CRITICAL | diff- | 6 |
| 2 | State Architecture | CRITICAL | state- | 7 |
| 3 | View Composition | HIGH | view- | 6 |
| 4 | Navigation & Coordination | HIGH | nav- | 5 |
| 5 | Layer Architecture | HIGH | layer- | 6 |
| 6 | Dependency Injection | MEDIUM-HIGH | di- | 4 |
| 7 | List & Collection Performance | MEDIUM | list- | 4 |
| 8 | Async & Data Flow | MEDIUM | data- | 5 |
diff-equatable-views - Apply @Equatable macro to every SwiftUI viewdiff-closure-skip - Use @SkipEquatable for closure/handler propertiesdiff-reference-types - Never store reference types without Equatable conformancediff-identity-stability - Use stable O(1) identifiers in ForEachdiff-avoid-anyview - Never use AnyView — use @ViewBuilder or genericsdiff-printchanges-debug - Use _printChanges() to diagnose unnecessary re-rendersstate-observable-class - Use @Observable classes for all ViewModelsstate-ownership - @State for owned data, plain property for injected datastate-single-source - One source of truth per piece of statestate-scoped-observation - Leverage @Observable property-level trackingstate-binding-minimal - Pass @Binding only for two-way data flowstate-environment-global - Use @Environment for app-wide shared dependenciesstate-no-published - Never use @Published or ObservableObjectview-body-complexity - Maximum 10 nodes in view bodyview-extract-subviews - Extract computed properties/helpers into separate View structsview-no-logic-in-body - Zero business logic in bodyview-minimal-dependencies - Pass only needed properties, not entire modelsview-viewbuilder-composition - Use @ViewBuilder for conditional compositionview-no-init-sideeffects - Never perform work in View initnav-coordinator-pattern - Every feature has a coordinator owning NavigationStacknav-routes-enum - Define all routes as a Hashable enumnav-deeplink-support - Coordinators must support URL-based deep linkingnav-modal-sheets - Present modals via coordinator, not inlinenav-no-navigationlink - Never use NavigationLink(destination:) — use navigationDestination(for:)layer-dependency-rule - Domain layer has zero framework importslayer-usecase-protocol - Do not add a use-case layer; keep orchestration in ViewModel + repository protocolslayer-repository-protocol - Repository protocols in Domain, implementations in Datalayer-model-value-types - Domain models are structs, never classeslayer-no-view-repository - Views never access repositories directly; ViewModel calls repository protocolslayer-viewmodel-boundary - ViewModels expose display-ready state onlydi-environment-injection - Inject container-managed protocol dependencies via @Environmentdi-protocol-abstraction - All injected dependencies are protocol typesdi-container-composition - Compose DependencyContainer in App target and expose VM factoriesdi-mock-testing - Every protocol dependency has a mock for testinglist-constant-viewcount - ForEach must produce constant view count per elementlist-filter-in-model - Filter/sort in ViewModel, never inside ForEachlist-lazy-stacks - Use LazyVStack/LazyHStack for unbounded contentlist-id-keypath - Provide explicit id keyPath — never rely on implicit identitydata-task-modifier - Use .task(id:) as the primary feature data-loading triggerdata-async-init - Never perform async work in initdata-error-loadable - Model loading states as enum, not booleansdata-combine-avoid - Prefer async/await over Combine for new codedata-cancellation - Use .task automatic cancellation — never manage Tasks manuallyRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
© pproenca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 46 other files (references, assets) in skills/.experimental/swift-ui-architect of pproenca/dot-skills.
Open the folder on GitHubat commit cf93c57
Swift UI Architect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Swift UI Architect this skillpproenca/dot-skills | 215 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Swiftui Expert SkillAFK-surf/OpenBridge | 430 | 2 repos | ~3.9k | Automated safety check: Pass | MIT | |
| Swiftui AnimationAstraFoundry/KumoApp | 290 | — | ~4.1k | Automated safety check: Pass | AGPL-3.0 | |
| Snapshot Testsmicrosoft/SwiftStreamingMarkdown | 378 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Swiftui Animationdpearson2699/swift-ios-skills | 1.2k | — | ~3.9k | Automated safety check: Pass | Custom licence |
AFK-surf/OpenBridge
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption.
AstraFoundry/KumoApp
Implement, review, or improve SwiftUI animations and transitions.
microsoft/SwiftStreamingMarkdown
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
dpearson2699/swift-ios-skills
Implement, diagnose, or review SwiftUI motion using explicit and scoped implicit animations, springs, transitions, PhaseAnimator, KeyframeAnimator, matched geometry or navigation zoom, SF Symbol…
aiskillstore/marketplace
Develop native iOS applications with Swift/SwiftUI. An agent skill from aiskillstore/marketplace.
pproenca/dot-skills
Audio forensics and voice recovery guidelines for CSI-level audio analysis.
pproenca/dot-skills
Guided, scripted pipeline for running JSX/TSX/React codemods safely across large legacy codebases.
pproenca/dot-skills
Create well-structured RFCs and technical proposals for software projects.
pproenca/dot-skills
Developer-experience friction auditing and fixing — slow onboarding, repeated manual setup steps, missing bootstrap/reset/seed scripts, undiscoverable conventions.
pproenca/dot-skills
Turn a rough idea for a language into a complete, implementable specification — a DSL, query, config/data, template, or protocol language — by interviewing the author dimension by dimension until…
pproenca/dot-skills
Drafting Python Enhancement Proposals (PEPs) — proposing a Python language feature, a standard library change, an interoperability standard, or an informational/process document for the Python…
Categories
Opinionated SwiftUI architecture enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps using local SPM package boundaries. Swift UI Architect is an agent skill from pproenca/dot-skills.2 clinic modular MVVM-C apps using local SPM package boundaries.
Swift UI Architect fits situations like: refactoring SwiftUI architecture; dependency wiring; repository boundaries.
Run `npx skills add pproenca/dot-skills --skill swift-ui-architect -a claude-code`. Or copy the skill folder (skills/.experimental/swift-ui-architect in pproenca/dot-skills) into .claude/skills/swift-ui-architect in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pproenca/dot-skills --skill swift-ui-architect -a codex`. Or copy the skill folder (skills/.experimental/swift-ui-architect in pproenca/dot-skills) into .agents/skills/swift-ui-architect in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pproenca/dot-skills --skill swift-ui-architect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swift-ui-architect, .gemini/skills/swift-ui-architect, .github/skills/swift-ui-architect and .opencode/skills/swift-ui-architect in your project.
SKILL.md names no scripts, command-line tools or credentials: Swift UI Architect is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Swift UI Architect is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 40k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Swift UI Architect: Swiftui Expert Skill (AFK-surf/OpenBridge, 430 stars), Swiftui Animation (AstraFoundry/KumoApp, 290 stars), Snapshot Tests (microsoft/SwiftStreamingMarkdown, 378 stars) and Bootstrap iOS (RayFernando1337/rayfernando-skills, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pproenca (a GitHub user) maintains it in pproenca/dot-skills, which has 215 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on August 15, 2026.
Source: pproenca/dot-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.