·swiftui-performance-audit
</>

swiftui-performance-audit

petekp/claude-code-setup

通過代碼審查和架構審核和改進 SwiftUI 運行時性能。用於診斷 SwiftUI 應用程序中渲染緩慢、滾動卡頓、CPU/內存使用率高、視圖更新過多或佈局抖動的請求,並在僅進行代碼審查不夠時為用戶運行的 Instruments 分析提供指導。

0安裝·0熱度·@petekp

安裝

$npx skills add https://github.com/petekp/claude-code-setup --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 分析提供指導。 來源:petekp/claude-code-setup。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/petekp/claude-code-setup --skill swiftui-performance-audit
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 swiftui-performance-audit?

通過代碼審查和架構審核和改進 SwiftUI 運行時性能。用於診斷 SwiftUI 應用程序中渲染緩慢、滾動卡頓、CPU/內存使用率高、視圖更新過多或佈局抖動的請求,並在僅進行代碼審查不夠時為用戶運行的 Instruments 分析提供指導。 來源:petekp/claude-code-setup。

如何安裝 swiftui-performance-audit?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/petekp/claude-code-setup --skill swiftui-performance-audit 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/petekp/claude-code-setup