Toolverse
All skills

instruments-profiling

by steipete

Use when profiling native macOS or iOS apps with Instruments/xctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
steipete
Category
Mobile
Views
24

About this skill

Use when profiling native macOS or iOS apps with Instruments/xctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.

How to use

  1. Zainstaluj umiejętność w swoim środowisku agenta (szczegóły instalacji zależą od platformy — zwykle klonowanie repozytorium lub dodanie do konfiguracji agenta).

  2. Aby wyświetlić dostępne szablony profilowania, uruchom xcrun xctrace list templates — zobaczysz Time Profiler i inne narzędzia diagnostyczne.

  3. Jeśli chcesz profilować aplikację, którą uruchomisz teraz, użyj flagi --launch z bezpośrednią ścieżką do binarnego pliku: xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --launch -- /path/App.app/Contents/MacOS/App. Pamiętaj, aby zawsze podawać pełną ścieżkę do pliku wykonywalnego wewnątrz pakietu .app, a nie samą ścieżkę do pakietu — unikasz w ten sposób pułapki, w której Instruments profiluje złą instancję aplikacji.

  4. Jeśli aplikacja już działa, uzyskaj jej identyfikator procesu (PID) za pomocą ps aux | grep NazwaAplikacji, a następnie dołącz profiler: xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output /tmp/App.trace --attach PID.

  5. Po zakończeniu nagrywania otwórz wygenerowany ślad w aplikacji Instruments poleceniem open -a Instruments /tmp/App.trace — zobaczysz wizualizację czasu spędzonego w każdej funkcji i wątku.

  6. Przeanalizuj wyniki, szukając funkcji, które zajmują nieproporcjonalnie dużo czasu — to są Twoje wąskie gardła wydajności.

Related skills

vercel-react-native-skills

by vercel-labs

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or

Mobile
1745

claude-mobile-ios-testing

by krzemienski

Use when testing iOS apps on simulator, capturing screenshots for validation gates, automating UI testing with expo-mcp and xc-mcp, or verifying visual correctness - combines expo-mcp autonomous testing (React Native level) with xc-mcp simulator management (iOS level)

Mobile
15111

godot

by bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI

Mobile
547680

create-plan

by antinomyhq

Generate detailed implementation plans for complex tasks. Creates comprehensive strategic plans in Markdown format with objectives, step-by-step implementation tasks using checkbox format, verification criteria, risk assessments, and alternative approaches. Use when users need

Mobile
13108

slidev

by XIYO

Comprehensive guide for Slidev - a web-based presentation framework for developers. Covers Markdown syntax, layouts, components, animations, theming, and exporting. Use this skill when creating or working with developer presentations using Slidev.

Mobile
223353

flutter-expert

by sickn33

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or

Mobile
54112