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-architecturegit 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-architecture)<a href="https://agentmods.dev/skills/cmaranho/rn-agent-skills/rn-architecture"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-architecture/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-architecture"><img src="https://agentmods.dev/badge/skills/cmaranho/rn-agent-skills/rn-architecture.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.00055 | $0.01164 |
| Opus 5 | $0.00028 | $0.00582 |
| Sonnet 5 | $0.00011 | $0.00233 |
| Haiku 4.5 | $0.00006 | $0.00116 |
Grade A, and why
rn-architecture 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Native — Arquitetura
Objetivo
Aplicar uma arquitetura em camadas, testável e escalável para features React Native, com fluxo de dados previsível da fonte de dados à UI.
Quando utilizar
- Criar um módulo ou feature novo.
- Decidir onde colocar lógica (UI, estado, caso de uso, dados).
- Refatorar código com regra de negócio na UI ou chamada de API no componente.
Conhecimentos necessários
- Clean Architecture e a regra de dependência (dependências apontam para dentro).
- Padrões Repository, Use Case e Mapper/Helper.
- Injeção de dependência simples (construtor/factory).
- Diferença entre transformação de shape (mapper) e cálculo/estado (helper).
Fluxo de execução
- Modele o contrato de dados: DTOs de entrada/saída e models de domínio.
- Implemente o repositório: encapsula IO/HTTP e retorna resultado tipado (sucesso/erro), sem lançar exceção crua.
- Implemente o caso de uso: orquestra repositório + mappers/helpers e retorna estado tipado (
{ type: 'SUCCESS' | 'ERROR' }). - Exponha estado via store/hook que consome o caso de uso (nunca o repositório direto).
- Conecte a UI por um hook de tela (
use-*-screen); mantenha a tela fina. - Escreva testes por camada.
Tela → hook de tela → estado → caso de uso → repositório → cliente HTTP
↘ mappers / helpers ↗
Estrutura de pastas
Reflita as camadas na organização física. Os nomes são convenção — adapte ao seu projeto, preservando os papéis. Separe código de domínio (modules/) de código compartilhado (common/).
Módulo / feature
modules/{module}/
├── dtos/ ← contratos de dados da API (request/response)
├── models/ ← models de domínio
├── repositories/ ← acesso a dados/IO; retorna resultado tipado (sem exceção crua)
├── use-cases/ ← orquestra repositório + mappers/helpers (obrigatório)
├── mappers/ ← transformação de shape (DTO ↔ Model ↔ Request) — puro
├── helpers/ ← cálculos e transformações imutáveis de estado — puro
├── stores/ ← estado do módulo (slices por domínio)
├── hooks/ ← hooks de tela (use-*-screen) e reutilizáveis do módulo
├── ui/ ← componentes de UI do módulo (tokens/tema)
├── factories/ ← montagem/registro de telas e dependências
├── screens/ ← telas finas
└── index.ts ← barrel público (API do módulo)
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.
- 12d ago First seen · 105 lines · 55 tokens per session scan A 61a6795d9870
rn-architecture is a skill published in the GitHub repository cmaranho/rn-agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 1,164 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
agent-spec-mobile-react-native
Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.
expo-native-ui
Framework (OSS). Build beautiful, native-feeling Expo screens. Covers Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients, storage, and responsive layout. For routing and navigation, use the expo-router skill; for motion and animation, use the expo-animation skill.
expo-web-to-native
Framework (OSS). Migrate an existing web React app to a native iOS/Android app with Expo. Use when the user wants to turn a website into a mobile app, port a Next.js/Vite/CRA React codebase to React Native, reuse web code on native incrementally, or asks how web idioms (the DOM, CSS, React Router, localStorage…
expo-brownfield
Framework (OSS). Integrate Expo and React Native into an existing native iOS or Android app. Use for brownfield, embedding a React Native screen in SwiftUI/UIKit or Kotlin, or AAR/XCFramework packaging. Covers isolated and integrated approaches. For building or distributing a purely native app with EAS, use…
truesheet-usage
Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…
building-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.