AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Rn Best Practices

skill-cmaranho-rn-agent-skills-rn-best-practices · by cmaranho

Aplica boas práticas idiomáticas de React Native — diferenças de plataforma, módulos nativos, assets, imagens, listas, gestos e ciclo de vida. Use ao construir features RN, lidar com especificidades iOS/Android ou revisar idiomatismo do código.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-cmaranho-rn-agent-skills-rn-best-practices

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cmaranho-rn-agent-skills-rn-best-practices)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Rn Best Practices? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Prefira primitivos e libs mantidas da plataforma antes de código nativo.
  2. Trate diferenças de plataforma explicitamente (Platform.select, arquivos .ios/.android).
  3. Respeite safe area, teclado e orientação; layout responsivo.
  4. Otimize imagens/assets e virtualize listas por padrão.
  5. 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.
  • ScrollView com 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.