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-test-generationgit 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-test-generation)<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-test-generation"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-test-generation/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-test-generation"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-test-generation.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.00049 | $0.00435 |
| Opus 5.5 | $0.00020 | $0.00174 |
| Sonnet 5.5 | $0.00010 | $0.00087 |
| Haiku 4.5 | $0.00005 | $0.00044 |
Grade A, and why
rn-test-generation 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 — Geração de Testes
Objetivo
Produzir testes significativos para código existente, cobrindo comportamento e bordas.
Quando utilizar
- Código novo ou legado sem cobertura.
- Completar lacunas antes de refatorar.
- Adicionar testes exigidos por regra (repositório, hook, mapper, helper, util, UI).
Conhecimentos necessários
- Padrões de teste do projeto (ver skill
rn-testing). - Identificação de casos: caminhos, ramos, bordas e erros.
- Estratégia de mocks e isolamento por camada.
- Queries de acessibilidade para UI.
Fluxo de execução
- Leia a unidade e liste comportamentos observáveis e ramos.
- Enumere casos: sucesso, erro e borda (
null/undefined/vazio/limite). - Monte mocks das dependências (rede, store, navegação, nativo) antes dos imports.
- Escreva 3–5 testes focados por arquivo em Arrange/Act/Assert ("should").
- Rode, verifique a cobertura dos ramos relevantes e ajuste.
Boas práticas
- Teste comportamento observável, não implementação.
- Um assert conceitual por teste; nomes descritivos.
- Reutilize fixtures/factories de dados de teste.
- Prefira poucos testes de alto valor a muitos triviais.
Armadilhas comuns
- Gerar testes que só espelham a implementação.
- Cobertura alta sem asserts significativos.
- Esquecer ramos de erro e bordas.
- Mocks frágeis acoplados a detalhes internos.
Critérios de sucesso
- Ramos e bordas relevantes cobertos.
- Testes falham quando o comportamento quebra.
- Suíte verde, determinística e sustentável.
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 · 49 tokens per session scan A 8218e60b72a4
rn-test-generation is a skill published in the GitHub repository cmaranho/rn-agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 49 tokens to every session and 435 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-test-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rn-test-generationcmaranho/rn-agent-skills | Skill | 2 | 4mo ago | MIT | A | 49 | Claude Code, Codex |
| swift-protocol-di-testingaffaan-m/ECC | Skill | 298k | 4d ago | MIT | A | 32 | Claude Code, Kiro |
| android-do-not-mockchromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 96 | Claude Code, Codex |
| android-unit-testchromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 36 | Claude Code, Codex |
| react-native-testingcallstack/react-native-testing-library | Skill | 3.4k | yesterday | MIT | A | 134 | Claude Code, Codex |
| flutter-add-widget-testflutter/agent-plugins | Skill | 3.2k | 2d ago | BSD-3-Clause | A | 48 | Claude Code |
| mobiai-android-testingArisGuimera/MobiAI-Core | Skill | 492 | 4d ago | MIT | A | 30 | Claude Code |