# Rn Debugging

> Investiga e resolve bugs em React Native de forma sistemática, com evidência de runtime — crashes, comportamento inesperado e problemas específicos de plataforma. Use ao diagnosticar erros, falhas ou diferenças entre iOS e Android.

- **Type:** Skill
- **Install:** `agentstack add skill-cmaranho-rn-agent-skills-rn-debugging`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [cmaranho](https://agentstack.voostack.com/s/cmaranho)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [cmaranho](https://github.com/cmaranho)
- **Source:** https://github.com/cmaranho/rn-agent-skills/tree/main/skills/rn-debugging

## Install

```sh
agentstack add skill-cmaranho-rn-agent-skills-rn-debugging
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# React Native — Debug

## Objetivo

Encontrar a causa raiz de um problema com evidência, não por suposição, e corrigir com o menor blast radius.

## Quando utilizar

- Crash, erro em runtime, tela branca ou comportamento divergente.
- Bug reproduzível apenas em um SO/dispositivo.
- Regressão após mudança de dependência nativa.

## Conhecimentos necessários

- Ferramentas de debug (ex.: Flipper, Hermes/Chrome debugger, React DevTools, Logcat/Console).
- Leitura de stack trace JS e nativo; source maps.
- Diferenças de plataforma (permissões, APIs nativas, layout).
- Reprodução determinística e bissecção.

## Fluxo de execução

1. Reproduza de forma confiável; anote passos, plataforma e versão.
2. Colete evidência: logs, stack trace, estado e tráfego de rede.
3. Forme uma hipótese e isole (bissecção, desabilitar partes, repro mínimo).
4. Confirme a causa raiz com evidência antes de corrigir.
5. Corrija no ponto certo; valide o cenário e os adjacentes; previna regressão com teste.

## Boas práticas

- Uma variável por vez; mude o mínimo para testar a hipótese.
- Reproduza em ambos os SOs quando o bug for de UI/nativo.
- Preserve source maps para builds de release.
- Registre a causa raiz e a correção.

## Armadilhas comuns

- "Corrigir" o sintoma sem entender a causa.
- Testar só no simulador (esconde bugs de dispositivo/permissão).
- Assumir sem reproduzir; alterar muitas coisas de uma vez.
- Ignorar logs nativos em crashes nativos.

## Critérios de sucesso

- Causa raiz identificada com evidência.
- Bug não reproduz mais; sem regressão introduzida.
- Teste ou guarda adicionado quando aplicável.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [cmaranho](https://github.com/cmaranho)
- **Source:** [cmaranho/rn-agent-skills](https://github.com/cmaranho/rn-agent-skills)
- **License:** MIT

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-cmaranho-rn-agent-skills-rn-debugging
- Seller: https://agentstack.voostack.com/s/cmaranho
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
