Skip to content
Back to skills

Performance

ASecurity

Performance profiling and SwiftUI debugging skills — Instruments guidance, hangs, memory issues, slow launches, energy drain, unnecessary re-renders, and view identity problems. Use when an app is slow, janky, or resource-hungry.

  • 882 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
developmentswiftbashdebuggingperformance

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add rshankras/claude-code-apple-skills --skill performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rshankras-performance/badge)](https://www.skillsdirectory.com/skills/rshankras-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance
description: Performance profiling and SwiftUI debugging skills — Instruments guidance, hangs, memory issues, slow launches, energy drain, unnecessary re-renders, and view identity problems. Use when an app is slow, janky, or resource-hungry.
allowed-tools: [Read, Glob, Grep, Bash]
last_verified: 2026-07-16
review_by: 2027-06-22
---

# Performance Skills

Diagnose and fix performance problems, from system-level profiling to SwiftUI render behavior.

## When This Skill Activates

Use this skill when the user:
- Reports the app is **slow, janky, or hanging**
- Wants to profile with **Instruments** (Time Profiler, Allocations, Hangs)
- Is investigating **memory issues, slow launches, or energy drain**
- Sees SwiftUI views **re-rendering too often** or slow `body` evaluations
- Asks about **view identity** problems or `_printChanges()`

## Available Skills

Paths are relative to THIS file's directory — skills run with cwd set to the
user's project, so resolve each path from this SKILL.md's own location.

| Skill | Read | Covers |
|-------|------|--------|
| profiling | `profiling/SKILL.md` | Instruments workflows; hangs, memory, slow launch, energy diagnosis |
| swiftui-debugging | `swiftui-debugging/SKILL.md` | Unnecessary re-renders, view identity, slow body evaluations |

## How to Route

1. Match the request to a row above — system-level symptoms → profiling; SwiftUI render symptoms → swiftui-debugging.
2. Read that SKILL.md (relative to this file) plus any reference files it lists.
3. Apply the guidance to the user's code.

Files in this skill

  • SKILL.md1.5 KB
  • profiling/SKILL.md11.8 KB
  • profiling/energy-diagnostics.md13.8 KB
  • profiling/hitches.md7.2 KB
  • profiling/launch-optimization.md19.1 KB
  • profiling/memory-profiling.md23.1 KB
  • profiling/time-profiler.md22.5 KB
  • swiftui-debugging/SKILL.md14.4 KB
  • swiftui-debugging/body-reevaluation.md11.3 KB
  • swiftui-debugging/common-pitfalls.md13 KB
  • swiftui-debugging/lazy-loading.md9.3 KB
  • swiftui-debugging/view-identity.md7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.