Agent skill · AI & Agents

performance-profiling

Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain. Use when reviewing app performance or investigating specific bottlenecks.

rshankrasgithub.com/rshankrasGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill profiling --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 12 KB
Bundled scripts: none
Allowed tools: ReadGlobGrepBash
Path: skills/performance/profiling/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Performance Profiling Systematic guide for profiling Apple platform apps using Instruments, Xcode diagnostics, and MetricKit. Covers CPU, memory, launch time, and energy analysis with actionable fix patterns. ## When This Skill Activates Use this skill when the user: - Reports app hangs, stutters, or dropped frames - Needs to profile CPU usage or find hot code paths - Has memory leaks, high memory usage, or OOM crashes - Wants to optimize app launch time - Needs to reduce battery/energy impact - Asks about Instruments, Time Profiler, Allocations, or Leaks - Wants to add `os_signpost` or performance measurement to code - Is preparing for App Store review and needs performance validation ## Decision Tree ``` What performance problem are you investigating? │ ├─ App hangs / unresponsive to taps / slow UI │ └─ Read time-profiler.md │ ├─ Scroll or animation stutter / dropped frames / hitches │ └─ Read hitches.md │ ├─ High memory / leaks / OOM crashes / growing footprint │ └─ Read memory-profiling.md │ ├─ Slow app launch / time to first frame │ └─ Read launch-optimization.md │ ├─ Battery drain / thermal throttling / background energy │ └─ Read energy-diagnostics.md │ ├─ General "app fee

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Decision Tree
  3. Quick Reference
  4. The 8 Key Metrics (WWDC21 10181)
  5. Process
  6. 1. Identify the Problem Category
  7. 2. Read the Appropriate Reference File
  8. 3. Profile on Real Hardware
  9. 4. Apply Fixes and Verify
  10. Xcode Diagnostic Settings
  11. MetricKit Integration
  12. Review Checklist
  13. Responsiveness
  14. Memory
Ships with 5 files
  • energy-diagnostics.md
  • hitches.md
  • launch-optimization.md
  • memory-profiling.md
  • time-profiler.md
More from claude-code-apple-skills
All skills →
About this skill
What does the performance-profiling skill do?

Guide performance profiling with Instruments, diagnose hangs, memory issues, slow launches, and energy drain. Use when reviewing app performance or investigating specific bottlenecks.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill profiling --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going