Install
$ agentstack add skill-cmaranho-rn-agent-skills-rn-best-practices ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
React Native — Boas Práticas
Objetivo
Escrever código RN idiomático, robusto entre plataformas e alinhado às capacidades da plataforma.
Quando utilizar
- Construir/revisar componentes e features RN.
- Lidar com diferenças iOS/Android, permissões ou APIs nativas.
- Trabalhar com imagens, assets, listas, gestos, teclado ou safe area.
Conhecimentos necessários
- APIs core do RN (View, Text, FlatList, Platform, Dimensions, Appearance).
- Safe area, teclado, gestos e ciclo de vida do app (AppState).
- Assets e imagens (densidades, cache, dimensionamento).
- Uso e limites de módulos nativos.
Fluxo de execução
- Prefira primitivos e libs mantidas da plataforma antes de código nativo.
- Trate diferenças de plataforma explicitamente (
Platform.select, arquivos.ios/.android). - Respeite safe area, teclado e orientação; layout responsivo.
- Otimize imagens/assets e virtualize listas por padrão.
- Teste em ambos os SOs e em tamanhos de tela distintos.
Boas práticas
- Componentes pequenos e compostos; um por arquivo.
- Estilos com tokens/tema; sem valores hardcoded ou estilos inline.
- Cleanup de listeners/timers/subscriptions no unmount.
- Trate permissões e estados negados com fallback.
Armadilhas comuns
- Assumir paridade total entre iOS e Android.
- Ignorar safe area/notch e teclado sobrepondo inputs.
- Vazamento de listeners/timers.
ScrollViewcom muitos itens em vez de lista virtualizada.
Critérios de sucesso
- Comportamento consistente em iOS e Android.
- Sem vazamentos nem warnings de layout/lista.
- UI responsiva e respeitando a plataforma.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: cmaranho
- Source: cmaranho/rn-agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.