·swiftui-performance-audit
</>

swiftui-performance-audit

steipete/agent-scripts

通过代码审查和架构审核和改进 SwiftUI 运行时性能。用于诊断 SwiftUI 应用程序中渲染缓慢、滚动卡顿、CPU/内存使用率高、视图更新过多或布局抖动的请求,并在仅进行代码审查不够时为用户运行的 Instruments 分析提供指导。

29安装·0热度·@steipete

安装

$npx skills add https://github.com/steipete/agent-scripts --skill swiftui-performance-audit

SKILL.md

Audit SwiftUI view performance end-to-end, from instrumentation and baselining to root-cause analysis and concrete remediation steps.

Prefer cached formatters in a model or a dedicated helper:

Avoid id: \.self for non-stable values; use a stable ID.

通过代码审查和架构审核和改进 SwiftUI 运行时性能。用于诊断 SwiftUI 应用程序中渲染缓慢、滚动卡顿、CPU/内存使用率高、视图更新过多或布局抖动的请求,并在仅进行代码审查不够时为用户运行的 Instruments 分析提供指导。 来源:steipete/agent-scripts。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/steipete/agent-scripts --skill swiftui-performance-audit
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 swiftui-performance-audit?

通过代码审查和架构审核和改进 SwiftUI 运行时性能。用于诊断 SwiftUI 应用程序中渲染缓慢、滚动卡顿、CPU/内存使用率高、视图更新过多或布局抖动的请求,并在仅进行代码审查不够时为用户运行的 Instruments 分析提供指导。 来源:steipete/agent-scripts。

如何安装 swiftui-performance-audit?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/steipete/agent-scripts --skill swiftui-performance-audit 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/steipete/agent-scripts