Como usar
- Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
- Consulte no original as ferramentas, credenciais e ambientes necessários.
- Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/hoangnguyen0403/agent-skills-standard --skill ios-performanceAntes de começar
- A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
- Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.
iOS Performance
Priority: P0 (CRITICAL)
Implementation Workflow
- Profile with Instruments — Regularly use Allocations and Leaks to detect memory issues. Use Time Profiler for CPU stalls.
- Reuse cells — Always use
dequeueReusableCelland keepcellForRowAtlightweight. - Cache images — Use
SDWebImageorKingfisherfor remote assets.AsyncImagelacks caching for lists. - Offload to background — Move parsing, encryption, and heavy computation off Main thread using GCD or Tasks.
- Enable strict warnings — Set
SWIFT_TREAT_WARNINGS_AS_ERRORSin Release builds. - Run static analysis — Use Xcode's "Analyze" (Product > Analyze) to catch logic errors.
See background processing and cell reuse examples
Anti-Patterns
- No Main-thread Processing: Offload parsing/processing to background using
Task.detachedor GCD - No Manual Cache Clears: Let system handle low-memory via
applicationDidReceiveMemoryWarning - No Retain Cycles: Use Leaks instrument frequently during development


