react-native-boilerplate CLAUDE.md

react-native-boilerplate CLAUDE.md is an instructions file for coding agents from wataru-maeda/react-native-boilerplate. It costs 1,769 tokens per session, scanned A, original, MIT.

A development guide for a React Native mobile app built with Expo, TypeScript, and common app-navigation and state-management tools.

In plain words
What is it for?
It guides work on screens, app configuration, device-specific behavior, dark and light themes, image assets, fonts, local storage, and keyboard handling.
Why use it?
It keeps changes consistent with the app's existing configuration, device utilities, themes, fonts, images, and reusable hooks.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/wataru-maeda/react-native-boilerplate/claude-md
Clone the repo
git clone --depth 1 https://github.com/wataru-maeda/react-native-boilerplate

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

agentmods badge for react-native-boilerplate CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/wataru-maeda/react-native-boilerplate/claude-md.svg)](https://agentmods.dev/instructions/wataru-maeda/react-native-boilerplate/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/wataru-maeda/react-native-boilerplate/claude-md"><img src="https://agentmods.dev/badge/instructions/wataru-maeda/react-native-boilerplate/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,769 This file is loaded in full into every session.
When invoked 1,769 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01769 $0.01769
Opus 5 $0.00885 $0.00885
Sonnet 5 $0.00354 $0.00354
Haiku 4.5 $0.00177 $0.00177

Measured 5d ago against content hash 6dd284b59e47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

react-native-boilerplate CLAUDE.md 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 5d 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.

CLAUDE.md · 237 lines

How it starts

The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude AI Development Guide

This React Native Expo project follows specific patterns and uses built-in features for consistency and reusability.

Project Context

Technology Stack:

  • React Native with Expo SDK 54
  • TypeScript (strict mode)
  • Expo Router v6 (flat config)
  • Redux Toolkit for state management
  • ESLint 9 with flat config
  • React 19.1 and React Native 0.81.4

Always Use These Built-in Features

Configuration & Environment

  • utils/config.ts - For all environment variables and app configuration
  • utils/deviceInfo.ts - For platform detection, screen dimensions, and device info
  • Never hardcode values that should come from configuration

Theme & Styling

  • @/theme/colors - For all color values (supports dark/light mode)
  • @/theme/fonts - For font loading and typography
  • @/theme/images - For image assets and loading
  • Always use theme system instead of hardcoded styles

Custom Hooks (Reuse These)

  • useColorScheme from @/hooks - For dark/light theme detection
  • useDataPersist from @/hooks - For local storage operations
  • useKeyboard from @/hooks - For keyboard state management
  • useAppSlice from @/slices - For global state operations

State Management

  • Redux Toolkit slices in @/slices - For all global state
  • Use useAppSlice for accessing global state
  • Keep local state minimal, prefer global state for shared data

Services & API

  • @/services - For all API calls and external integrations
  • Never make direct API calls from components
  • Use the services layer for data transformation

Type Definitions

  • @/types - For all TypeScript interfaces and types
  • Always define component prop interfaces
  • Use strict TypeScript - project is configured for it

Directory Structure

app/                 # Expo Router routes (keep minimal, delegate to scenes)
components/
  elements/          # Reusable UI components (Button, Image, etc.)
  layouts/           # Layout-specific components (headers, navigation)
scenes/              # Screen components (main UI logic)
hooks/               # Custom React hooks
slices/              # Redux Toolkit slices
services/            # API and external services
theme/               # Colors, fonts, styling system
types/               # TypeScript type definitions
utils/               # Utility functions (config, deviceInfo)

Read the full file on GitHub · 237 lines

Changes

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.

  1. 5d ago First seen · 237 lines · 1,769 tokens per session scan A 6dd284b59e47

Subscribe to this mod's changes

react-native-boilerplate CLAUDE.md is an instructions file published in the GitHub repository wataru-maeda/react-native-boilerplate (514 stars, last pushed 2d ago), licensed MIT. It adds 1,769 tokens to every session, about $0.0088 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-30.