AS

avdlee/swiftui-agent-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

3942 stars 质量 79 趋势 26MIT

在您的AI编码工具(Agent Skills开放格式)中添加专家SwiftUI最佳实践指导。

概览

为任何支持 Agent Skills 开放格式的 AI 编码工具提供专家指导——包括 SwiftUI 状态管理、视图合成、性能及 iOS 26+ Liquid Glass 的采用。 该仓库将实用的 SwiftUI 最佳实践提炼为可操作、简明的代理和代码审查工作流程参考。 - 采用现代SwiftUI API且希望快速且准确默认的团队- 负责审查或重构SwiftUI视图和数据流的开发者- 任何在SwiftUI中发布高性能列表、滚动、表格和导航的人 - Swift 并发专家 - 核心数据专家 - Swift 测试专家 - Xcode 构建优化代理技能 - Xcode 模拟器 AI 控制代理技能 只需一个命令即可安装此技能: 欲了解更多信息,请访问 skills.sh 平台页面。

概述(AI 翻译)

为任何支持 Agent Skills 开放格式的 AI 编码工具提供专家指导——包括 SwiftUI 状态管理、视图组合、性能、SDK 27 变更及 Liquid Glass 的采用。

该仓库将实用的 SwiftUI 最佳实践提炼为可操作、简明的代理和代码审查工作流程参考。

该仓库以可移植代理插件(规范 1.0.0)形式打包:兼容客户端可从根 plugin.json 列表和 skills/ 目录中自动发现该技能。还包含针对 Claude Code、Cursor、Codex 和 pi 的客户端特定列表。

这是给谁的

  • 采用现代SwiftUI API且希望快速且准确默认的团队
  • 开发者审查或重构 SwiftUI 视图和数据流
  • 任何在SwiftUI中发布高性能列表、滚动、表格和导航的人

另见我的其他技能:

  • 快速并发专家
  • 核心数据专家
  • Swift测试专家
  • Xcode 构建优化代理技能
  • Xcode 模拟器 AI 控制代理技能

如何使用这项技能

选项A:使用 skills.sh(推荐)

只需一个命令即可安装此技能:

欲了解更多信息,请访问 skills.sh 平台页面。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

SwiftUI Expert Skill

Expert guidance for any AI coding tool that supports the Agent Skills open format — SwiftUI state management, view composition, performance, SDK 27 changes, and Liquid Glass adoption.

This repository distills practical SwiftUI best practices into actionable, concise references for agents and code review workflows.

This repository is packaged as a portable Agent Plugin (spec 1.0.0): compatible clients discover the skill automatically from the root plugin.json manifest and the skills/ directory. Client-specific manifests for Claude Code, Cursor, Codex, and pi are included as well.

Who this is for

  • Teams adopting modern SwiftUI APIs who want quick, correct defaults
  • Developers reviewing or refactoring SwiftUI views and data flow
  • Anyone shipping performant lists, scrolling, sheets, and navigation in SwiftUI

See also my other skills:

How to Use This Skill

Option A: Using skills.sh (recommended)

Install this skill with a single command:

npx skills@latest add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill

For more information, visit the skills.sh platform page.

Installed before the Agent Plugins migration? Run npx skills@latest update using skills CLI 1.5.24 or newer. It migrates the saved skill path without treating the skill as deleted.

Then use the skill in your AI agent, for example:

Use the swiftui expert skill and review the current SwiftUI code for state-management and performance improvements

Option B: ChatGPT & Codex (OpenAI Plugins Directory)

This plugin is distributed through the universal OpenAI Plugins Directory shared by ChatGPT and Codex:

  1. In the ChatGPT desktop app, select Codex (or ChatGPT with Work enabled), or use the plugin browser in Codex CLI.
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add avdlee/swiftui-agent-skill
新手?先看 mcpskill.org 教程 →