Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cmaranho/rn-agent-skills --skill rn-testinggit clone --depth 1 https://github.com/cmaranho/rn-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-testing)<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-testing"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-testing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-testing"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00448 |
| Opus 5.5 | $0.00022 | $0.00179 |
| Sonnet 5.5 | $0.00011 | $0.00090 |
| Haiku 4.5 | $0.00005 | $0.00045 |
Grade A, and why
rn-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
React Native — Testes
Objetivo
Garantir comportamento correto e regressão zero com testes rápidos, isolados e determinísticos.
Quando utilizar
- Criar/atualizar testes de qualquer camada.
- Definir a estratégia de mocks e isolamento.
- Investigar falhas ou flakiness na suíte.
Conhecimentos necessários
- Runner (ex.: Jest) e biblioteca de UI (ex.: Testing Library RN).
- Mock de módulos antes dos imports; mock de módulos nativos.
- Padrão de isolamento de store; fake timers.
- E2E (ex.: Detox/Maestro) e seleção por acessibilidade.
Fluxo de execução
- Identifique a camada e o comportamento observável a validar.
- Isole a unidade: mocke rede, navegação, stores e módulos nativos.
- Escreva casos em Arrange/Act/Assert; descrições com "should".
- Cubra sucesso, erro e borda (
null/undefined/vazio/limites). - Rode a suíte; garanta determinismo (fake timers, sem rede real).
Boas práticas
- Prefira queries por papel/rótulo/texto a identificadores de teste.
- Teste comportamento, não implementação.
- 3–5 testes focados por arquivo; nomes descritivos.
- Reset de mocks/estado entre testes.
Armadilhas comuns
- Vazamento de estado entre testes (mocks/store não resetados).
- Depender de relógio ou rede reais → flaky.
- Testar detalhes internos, quebrando a cada refactor.
- Esquecer de mockar módulos nativos usados na árvore.
Critérios de sucesso
- Suíte verde e determinística.
- Camadas exigidas por regra cobertas.
- Falhas apontam a causa real; sem flakiness.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 52 lines · 54 tokens per session scan A 37ae70b7871e
rn-testing is a skill published in the GitHub repository cmaranho/rn-agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 54 tokens to every session and 448 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
rn-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rn-testingcmaranho/rn-agent-skills | Skill | 2 | 4mo ago | MIT | A | 54 | Claude Code, Codex |
| mobiai-android-testingArisGuimera/MobiAI-Core | Skill | 492 | 4d ago | MIT | A | 30 | Claude Code |
| flutter-testing-skillLambdaTest/agent-skills | Skill | 390 | yesterday | MIT | A | 89 | Claude Code, Codex |
| testing-setupArisGuimera/MobiAI-Core | Skill | 492 | 4d ago | MIT | A | 42 | Claude Code |
| ios-testing-patternsconorluddy/xclaude-plugin | Skill | 186 | 17d ago | MIT | A | 18 | Claude Code |
| cometchat-flutter-v6-testingcometchat/cometchat-skills | Skill | 162 | 22d ago | MIT | A | 83 | Claude Code |
| cometchat-ios-testingcometchat/cometchat-skills | Skill | 162 | 22d ago | MIT | A | 95 | Claude Code |