Skip to content
Development
Skill

/ios-performance

Profile and optimize iOS apps with Instruments, memory management, and rendering techniques. Use when profiling iOS apps with Instruments or optimizing memory and rendering.

From plugin
agent-skills-standard
583200 skills21 agents33 commands1 MCP

Claude Code

$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill ios-performance --agent claude-code

SKILL.md

ios-performance.SKILL.md
name: ios-performance
description: Profile and optimize iOS apps with Instruments, memory management, and rendering techniques. Use when profiling iOS apps with Instruments or optimizing memory and rendering.
metadata:
  triggers:
    files:
    - '**/*.swift'
    keywords:
    - Instruments
    - Allocations
    - Leaks
    - dequeueReusableCell
    - ios performance
    - swift performance
    - optimize ios
    - time profiler
    - frame drops
    - main thread
    - slow scroll

iOS Performance

**Priority: P0 (CRITICAL)**

Implementation Workflow

1. **Profile with Instruments** — Regularly use Allocations and Leaks to detect memory issues. Use Time Profiler for CPU stalls. 2. **Reuse cells** — Always use `dequeueReusableCell` and keep `cellForRowAt` lightweight. 3. **Cache images** — Use `SDWebImage` or `Kingfisher` for remote assets. `AsyncImage` lacks caching for lists. 4. **Offload to background** — Move parsing, encryption, and heavy computation off Main thread using GCD or Tasks. 5. **Enable strict warnings** — Set `SWIFT_TREAT_WARNINGS_AS_ERRORS` in Release builds. 6. **Run static analysis** — Use Xcode's "Analyze" (Product > Analyze) to catch logic errors.

See [background processing and cell reuse examples](references/implementation.md)

Anti-Patterns

  • **No Main-thread Processing**: Offload parsing/processing to background using `Task.detached` or GCD
  • **No Manual Cache Clears**: Let system handle low-memory via `applicationDidReceiveMemoryWarning`
  • **No Retain Cycles**: Use Leaks instrument frequently during development

References

  • [Profiling & Optimization](references/implementation.md)
Read more
@hoangnguyen0403
Ships withagent-skills-standard

The portable standards layer for AI coding agents. Sync once, then work in your own runtime.

583200 skills21 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
583
Star history of hoangnguyen0403/agent-skills-standard on GitHub, a chart by star-history.com

Other skills on agent-skills-standard.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about ios-performance.

Which coding agents can use ios-performance?
ios-performance installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.