文件内容
skill-card.md
## Description: <br>
Audit and improve SwiftUI runtime performance from code review and architecture. <br>
This skill is ready for commercial/non-commercial use. <br>
## Publisher: <br>
[steipete](https://clawhub.ai/user/steipete) <br>
### License/Terms of Use: <br>
## Use Case: <br>
Developers and engineers use this skill to diagnose slow rendering, janky scrolling, high CPU or memory usage, excessive view updates, and layout thrash in SwiftUI apps. It supports code-first review and user-run Instruments profiling when code review alone is insufficient. <br>
### Deployment Geography for Use: <br>
Global <br>
## Known Risks and Mitigations: <br>
Risk: Users may share proprietary code, profiling screenshots, or trace exports during performance review. <br>
Mitigation: Share only the code, profiling screenshots, or trace details needed for the audit, and remove proprietary details or secrets before providing them. <br>
Risk: Performance recommendations may be incorrect or incomplete without representative runtime evidence. <br>
Mitigation: Use the skill's profiling workflow to collect Release-build Instruments data and re-measure after changes. <br>
## Reference(s): <br>
- [Demystify SwiftUI Performance (WWDC23)](references/demystify-swiftui-performance-wwdc23.md) <br>
- [Optimizing SwiftUI Performance with Instruments](references/optimizing-swiftui-performance-instruments.md) <br>
- [Understanding Hangs in Your App](references/understanding-hangs-in-your-app.md) <br>
- [Understanding and Improving SwiftUI Performance](references/understanding-improving-swiftui-performance.md) <br>
## Skill Output: <br>
**Output Type(s):** [analysis, markdown, code, guidance] <br>
**Output Format:** [Markdown with code snippets and profiling guidance] <br>
**Output Parameters:** [1D] <br>
**Other Properties Related to Output:** [May include issue prioritization, metrics tables, remediation steps, and verification recommendations.] <br>
## Skill Version(s): <br>
1.0.0 (source: server release metadata) <br>
## Ethical Considerations: <br>
Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>