agentleFS
hebertzhuhebertzhu/agent-foundry/skills/swiftui-expert-skill/SKILL.md

swiftui-expert-skill

Skill0 starsChanged 8 months agoMITView on GitHub

用于 SwiftUI 实现:当用户要写、评审或重构 SwiftUI 代码,涉及现代 API、状态管理、view composition、性能、charts、无障碍或 macOS scene/window patterns 时使用。Prefer `ios` or `macos` when the core question is 平台 UX/HIG 规则而不是 SwiftUI 实现;Combine with them when 代码决策依赖平台规范。

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use swift-concurrency, swiftui-ui-patterns and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jamesrochabrunSkill

    swift-concurrency

    Guide for building, auditing, and refactoring Swift code using modern concurrency patterns (Swift 6+). This skill should be used when working with async/await, Tasks, actors, MainActor, Sendable types, isolation domains, or when migrating legacy callback/Combine code to structured concurrency. Covers Approachable Concurrency settings, isolated parameters, and common pitfalls.

    Also in 8 projects that use this

  • OpenAISkill

    swiftui-ui-patterns

    Build and refactor SwiftUI UI with component patterns and examples. Use when shaping navigation, state, layouts, controls, or screen composition.

    Also in 5 projects that use this

  • AvdLeeSkill

    swift-testing-expert

    Expert guidance for Swift Testing: test structure, #expect/#require macros, traits and tags, parameterized tests, test plans, parallel execution, async waiting patterns, and XCTest migration. Use when writing new Swift tests, modernizing XCTest suites, debugging flaky tests, or improving test quality and maintainability in Apple-platform or Swift server projects.

    Also in 3 projects that use this

  • OpenAISkill

    swiftui-performance-audit

    Audit SwiftUI runtime performance from code first. Use when diagnosing slow rendering, janky scrolling, expensive updates, or profiling needs.

    Also in 4 projects that use this

  • kingsidharthSkill

    swiftui-pro

    Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.

    Also in 5 projects that use this

  • eugenepyvovarovSkill

    swift-concurrency-expert

    Swift Concurrency review and remediation for Swift 6.2+. Use when asked to review Swift Concurrency usage, improve concurrency compliance, or fix Swift concurrency compiler errors in a feature or file.

    Also in 3 projects that use this

  • +2 more from openai

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check accessibility, ergonomics, lifecycle, and integration edges.

    line 16
  2. Distinctive:

    Keep examples generic, privacy-safe, and portable across hosts.

    line 21
  3. Distinctive:

    Do not use it to answer high-level product strategy without actual SwiftUI implications.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

swiftui-expert-skill

Intent

  • 用于 SwiftUI 实现:当用户要写、评审或重构 SwiftUI 代码,涉及现代 API、状态管理、view composition、性能、charts、无障碍或 macOS scene/window patterns 时使用。Prefer ios or macos when the core question is 平台 UX/HIG 规则而不是 SwiftUI 实现;Combine with them when 代码决策依赖平台规范。

Default operating pattern

  1. Identify the target platform, form factor, and native system constraints.
  2. Choose native patterns before inventing custom behavior.
  3. Translate platform rules into implementable UI, architecture, or code guidance.
  4. Check accessibility, ergonomics, lifecycle, and integration edges.
  5. Return a concrete implementation path instead of vague platform advice.

Pack fit

  • Included in: platform-apps
  • Keep examples generic, privacy-safe, and portable across hosts.

Boundary

  • Do not use it to answer high-level product strategy without actual SwiftUI implications.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.