Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
callstack avatar

Brownie

  • 5 installs
  • 541 repo stars
  • Updated August 1, 2026
  • callstack/react-native-brownfield

brownie is a Claude skill for cross-platform shared state in React Native brownfield apps using @callstack/brownie, from *.brownie.ts store definitions through generated JS and native APIs.

About

This skill provides guidance for shared state across React Native brownfield apps using @callstack/brownie. A developer defines stores in *.brownie.ts, runs brownfield codegen, then uses the generated typed APIs on the TypeScript, Android, and iOS sides. It is used when setting up brownie in an existing brownfield app, changing store schemas, or consuming stores in native hosts. It matters because it keeps state synchronized across the JS and native boundaries with generated types.

  • Cross-platform shared state for React Native brownfield apps with @callstack/brownie
  • Define stores in *.brownie.ts, run brownfield codegen, use typed APIs on JS, Android, and iOS
  • Covers useStore, subscribe, getSnapshot, setState and native framework packaging

Brownie by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #828 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

brownie capabilities & compatibility

Capabilities
state management · codegen · brownfield integration · cross platform state
Use cases
api development
From the docs

What brownie says it does

Brownie provides cross-platform shared state for React Native brownfield apps.
SKILL.md
The workflow starts from `*.brownie.ts` store definitions, runs `brownfield codegen` (or packaging commands that include codegen), then uses typed APIs on TypeScript, Android, and iOS sides.
SKILL.md
npx skills add https://github.com/callstack/react-native-brownfield --skill brownie

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars541
Last updatedAugust 1, 2026
Repositorycallstack/react-native-brownfield

What it does

Share typed state across the JS, Android, and iOS sides of a React Native brownfield app with @callstack/brownie.

Who is it for?

React Native brownfield apps that need state shared between the JS side and native Android/iOS hosts

Skip if: Standalone React Native apps with no native host to share state with

When should I use this skill?

setting up @callstack/brownie, changing *.brownie.ts store schemas, using useStore/subscribe/getSnapshot/setState, or packaging native artifacts

What you get

Typed shared stores consumed on the TypeScript, Android, and iOS sides of a brownfield app

  • *.brownie.ts store schemas
  • generated native types
  • packaged iOS XCFramework or Android module

By the numbers

  • 5-reference routing table
  • 3 platform targets (JS, Android, iOS)

Files

SKILL.mdMarkdownGitHub ↗

Overview

Brownie provides cross-platform shared state for React Native brownfield apps. The workflow starts from *.brownie.ts store definitions, runs brownfield codegen (or packaging commands that include codegen), then uses typed APIs on TypeScript, Android, and iOS sides.

When to Apply

Reference this skill when:

  • Setting up @callstack/brownie in an existing brownfield app
  • Defining or changing store schemas in *.brownie.ts
  • Using useStore, subscribe, getSnapshot, or setState on the JS side
  • Registering and consuming stores in Android or iOS hosts
  • Packaging and embedding iOS frameworks that include Brownie

Quick Reference

  • Install Brownie:
npm install @callstack/brownie
  • Generate native types:
npx brownfield codegen
  • Packaging commands also include Brownie codegen:
# iOS
npx brownfield package:ios --scheme YourScheme --configuration Release

# Android
npx brownfield package:android --module-name :YourModuleName --variant release
npx brownfield publish:android --module-name :YourModuleName

Routing (concern -> file)

ConcernRead
Initial install, prerequisites, setup sequence, first integration pass`getting-started.md`
*.brownie.ts schema rules, BrownieStores augmentation, type mapping, when to rerun codegen`store-definition-and-codegen.md`
useStore selectors, update patterns, low-level APIs (subscribe, getSnapshot, setState)`typescript-usage.md`
Android registration lifecycle, serializer options, package settings, build and publish flow`android-usage.md`
Swift store registration and UI usage, plus XCFramework packaging and embedding`swift-and-xcframework.md`

Retrieval and Response Rules

  • Single-reference-first: choose exactly one primary reference from the table above that best matches the request before opening any other file.
  • Stop-after-sufficiency: once the required command/API is found for the request, stop reading additional references.
  • Cross-reference only when blocked: open a second reference only if the first one does not contain the needed command/API.
  • Testing-context response budget:
  • Return compact actionable steps only.
  • Use at most one code snippet.
  • Do not restate overview/scope/background sections.

Related skills

FAQ

What is the brownie workflow?

Define *.brownie.ts stores, run brownfield codegen, then use the generated typed APIs on TypeScript, Android, and iOS.

Which JS APIs does brownie expose?

useStore selectors plus low-level subscribe, getSnapshot, and setState.

Mobile Developmentintegrationsfrontend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.