dpearson2699/swift-ios-skills · swiftui-performance · SKILL.md
SwiftUI性能优化
使用代码审查、Instruments和可重复测量来剖析、诊断并修复SwiftUI运行时性能问题。适用于SwiftUI界面渲染缓慢、滚动或动画卡顿、视图主体过度更新、列表标识频繁变动、布局工作负载激增或广泛观察依赖导致CPU开销升高的情况。涵盖基于证据的排查、SwiftUI Instruments通道、懒加载容器防护、状态生命周期以及前后验证。
这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md
安装
通用(npx skills)
npx skills add dpearson2699/swift-ios-skills -s swiftui-performance
Cursor
把该 Skill 复制到项目的 .cursor/skills/swiftui-performance/ 目录
Claude Code
/plugin marketplace add dpearson2699/swift-ios-skills