npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-ai-plugin

v0.1.6

Published

AI-guided development for React Native apps with Expo. Works with Claude Code, Cursor, Gemini CLI, and Codex.

Readme


What this does

Installs React Native skills, agents, and hard rules into your AI coding tool. Once installed, your AI assistant knows the right stack (Expo Router, React Query, NativeWind, Reanimated v3) and refuses legacy patterns — on every project, without repeating yourself.


Setup (one-time)

Step 1 — Install the plugin

npx react-native-ai-plugin install

This scans for ~/.claude, ~/.cursor, ~/.codex, ~/.gemini and installs into whichever tools you have. You'll see a checkmark for each one that succeeded.

Note: If you want the rn-ai command available globally (for rn-ai update, rn-ai status, rn-ai uninstall), install it globally instead:

npm install -g react-native-ai-plugin
rn-ai install

The npx approach above is enough for a one-time install.

Step 2 — Scaffold a new app

Open Claude Code in an empty directory and say:

Scaffold a new Expo app

Claude will ask for your app name, bundle ID, auth type, and tab structure — then generate the full project: dependencies, config files, folder structure, EAS setup, and linting.

That's it. The plugin runs silently from here. Every time you start a task, Claude loads the relevant skill automatically.


Using skills in Claude Code

Skills are loaded on demand — only the relevant one enters context, the rest cost zero tokens.

Ask Claude naturally and it will pick the right skill:

| What you say | Skill loaded | |---|---| | "Scaffold a new Expo app" | scaffold | | "Add a login screen with email/password" | auth | | "Set up navigation with tabs and a stack" | navigation | | "Build a form with validation" | forms | | "Add a swipe gesture to dismiss" | animations | | "Wire up the API to this screen" | data | | "Set up EAS Build for TestFlight" | eas | | "Store the user token securely" | storage | | "Write tests for this component" | testing | | "Scan this code for bad patterns" | deslop |


Commands

| Command | What it does | |---|---| | rn-ai install | Detect installed AI tools and install the plugin into each | | rn-ai update | Re-install with the latest plugin files | | rn-ai status | Show which tools have the plugin active | | rn-ai uninstall | Remove the plugin from all tools |

These require a global install (npm install -g react-native-ai-plugin). The npx one-liner only runs install — it doesn't persist the rn-ai binary.


Skills

14 skills loaded on demand. Only the relevant skill enters context — the rest cost 0 tokens.

| | Skill | What it covers | |---|---|---| | 🏗️ | scaffold | New app setup end-to-end | | 🗺️ | navigation | Expo Router routes, layouts, typed paths, deep links | | 🎨 | ui | NativeWind v4, className props, shadcn-style components | | 📡 | data | React Query hooks, API modules, Zod schemas | | 📝 | forms | react-hook-form, field validation, form state | | 🗂️ | state | Zustand, global and local UI state | | ✨ | animations | Reanimated v3 worklets, GestureDetector, GPU-only properties | | 🔑 | auth | Supabase Auth, session handling, protected routes | | 🚀 | eas | EAS Build profiles, store submissions, OTA updates | | 🔔 | notifications | Expo Notifications, push token setup | | 💾 | storage | MMKV, Expo FileSystem | | 🧪 | testing | Jest, React Native Testing Library, Maestro E2E | | ⚡ | performance | FlatList, bundle size, FPS targets, memoization | | 🧹 | deslop | AI slop detection, legacy bridge violations, code quality scan |


Agents

7 specialists. Work solo or as a coordinated team.

╔══════════════════════════════════════════════════════════════════════╗
║                                                                      ║
║  📱 APP                      🔗 BACKEND                              ║
║  ─────────                   ────────                                ║
║  App Architect               Backend Integrator                      ║
║  Screen Developer                                                    ║
║  Navigation Architect        🎛️  ORCHESTRATION                       ║
║                              ────────────────                        ║
║  ✅ QUALITY                  Orchestrator                            ║
║  ────────                    (full feature lifecycle)                ║
║  Code Reviewer                                                       ║
║  EAS Engineer                                                        ║
║                                                                      ║
╚══════════════════════════════════════════════════════════════════════╝

| | Agent | Role | |---|---|---| | 🎯 | orchestrator | Coordinates feature work across the other agents | | 🏛️ | app-architect | App structure, navigation shape, data flow decisions | | 📱 | screen-developer | Screens, components, interactions | | 🗺️ | navigation-architect | Expo Router layouts, tab stacks, deep link config | | 🔗 | backend-integrator | React Query hooks, API modules, Zod validation schemas | | 🚀 | eas-engineer | EAS Build profiles, store submissions, OTA strategy | | ✅ | code-reviewer | Catches New Architecture violations, bad patterns, skipped rules |


Supported Tools

| Tool | Skills | Agents | Hard rules | Config location | |---|---|---|---|---| | Claude Code | ✓ | ✓ | ✓ | ~/.claude/CLAUDE.md | | Cursor | — | — | ✓ | .cursorrules | | Codex | ✓ | ✓ | ✓ | ~/.codex/AGENTS.md | | Gemini CLI | ✓ | ✓ | ✓ | ~/.gemini/AGENTS.md |


Hard Rules

The plugin enforces these on every project, without you having to say them:

  ┌─────────────────────────────────────────────┐
  │  Architecture                               │
  │  New Architecture only — RN 0.76+           │
  │  No NativeModules, requireNativeComponent   │
  │  No UIManager                               │
  ├─────────────────────────────────────────────┤
  │  Navigation                                 │
  │  Expo Router typed routes only              │
  │  No string path concatenation               │
  ├─────────────────────────────────────────────┤
  │  Data Fetching                              │
  │  React Query — no useEffect for data        │
  ├─────────────────────────────────────────────┤
  │  Animations & Gestures                      │
  │  Reanimated v3 — no RN Animated API         │
  │  Gesture Handler v2 — no PanResponder       │
  ├─────────────────────────────────────────────┤
  │  Package Manager                            │
  │  bun always — bunx not npx                  │
  ├─────────────────────────────────────────────┤
  │  TypeScript                                 │
  │  Strict mode, type not interface            │
  │  No any, no as                              │
  └─────────────────────────────────────────────┘

Requirements

  • Node.js 18+
  • At least one of: Claude Code, Cursor, Codex, Gemini CLI