accessibility-testing
WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility labels, testing VoiceOver compatibility,…
Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.
$ npx -y skills add conorluddy/xclaude-plugin --skill performance-profiling --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/performance-profilingContext preview
The summary Claude sees to decide when to auto-load this skill.
Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.
name: performance-profiling description: Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies. version: 0.0.1 token_cost: ~40
**Comprehensive guide to iOS performance analysis and optimization**
Performance profiling is the systematic analysis of an iOS app's runtime behavior to identify bottlenecks, memory issues, network inefficiencies, and energy consumption patterns. This Skill guides you through using Instruments templates, interpreting profiling data, and applying optimization strategies.
**Key Tools:**
Use performance profiling when:
1. **App Performance Issues**
2. **Memory Problems**
3. **Network Inefficiencies**
4. **Energy Consumption**
5. **Pre-Release Optimization**
**Time Profiler**
**Allocations**
**Leaks**
**Network**
**Energy Log**
**Core Animation**
**Sampling vs Tracing**
**Sampling (Time Profiler):**
**Tracing (Most other instruments):**
**Launch Time**
**Scrolling Performance**
**Memory Footprint**
**Network Efficiency**
**Energy Impact**
**Goal:** Identify CPU-intensive operations and optimize hot paths
**Step 1: Build for Profiling**
{
"operation": "build",
"scheme": "MyApp",
"configuration": "Release",
"destination": "platform=iOS,id=<device-udid>",
"options": {
"archive_for_profiling": true
}
}**Why Release Configuration?**
**Device vs Simulator:**
**Step 2: Profile with Instruments**
# Launch Instruments with Time Profiler template instruments -t "Time Profiler" \ -D /path/to/trace.trace \ -w <device-udid> \ com.example.MyApp
**Manual Approach:** 1. Open Instruments (Xcode → Open Developer Tool → Instruments) 2. Select "Time Profiler" template 3. Choose device and app 4. Click record, perform problematic operations 5. Stop recording
**Step 3: Analyze Call Tree**
**Call Tree Settings:**
**Interpret Results:**
**Red Flags:**
**Step 4: Optimize**
**Common Optimizations:**
**Verification:**
**Goal:** Identify memory leaks and reduce memory footprint
**Step 1: Build for Profiling**
{
"operation": "build",
"scheme": "MyApp",
"conModular iOS development automation for Claude Code Build, test, and automate iOS apps through natural conversation with Claude. 8 workflow-specific MCP servers with 24 tools across Xcode, Simulator, and IDB. Enable only what you need.
Repo: conorluddy/xclaude-plugin
WCAG compliance testing and accessibility quality assurance workflows for iOS apps. Use when validating accessibility labels, testing VoiceOver compatibility,…
Crash log analysis, symbolication, and debugging workflows for iOS apps. Use when investigating app crashes, analyzing crash reports, symbolicating stack…
XCTest and XCUITest execution workflows and flaky test detection patterns
iOS Simulator device and app management with simctl. Use when managing simulator devices (boot, create, delete), installing/launching apps, or troubleshooting…
Cache management, configuration best practices, and progressive disclosure patterns for efficient context window usage. Use when working with large responses,…
Accessibility-first UI automation using IDB. Query accessibility tree (fast, 50 tokens) before screenshots (slow, 170 tokens). Use when automating simulator…