mp-setup-react-native

Create a React and React Native monorepo from a GitHub template with branch protection and CI.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/MartinoPolo/mpx-claude-code --skill mp-setup-react-native
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mp-setup-react-native
Source: https://github.com/MartinoPolo/mpx-claude-code/tree/main/skills/mp-setup-react-native
Command: npx skills add https://github.com/MartinoPolo/mpx-claude-code --skill mp-setup-react-native

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bootstrapping a React + React Native monorepo is time-consuming because you must create the repo from a template, set up the correct default branch strategy, configure branch protection, and ensure CI checks run reliably from day one.

Core Features & Use Cases

  • Repo creation from a React Native monorepo template: generates a new GitHub repository from a predefined template with the chosen visibility.
  • Branch strategy setup with protections: creates a dev branch, sets it as the default, and applies branch protection rules to both main and dev to require PRs and CI status checks.
  • Monorepo readiness and Claude framework guidance: installs dependencies with pnpm, runs checks for web and shared, initializes .mpx/ documentation, and links React-specific Claude Code rules into .claude/rules/.

Quick Start

Use this command: set up a new React Native project named "my-app" using the mp-setup-react-native skill and keep the repository private.

Frequently Asked Questions about mp-setup-react-native

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a React Native monorepo with CI and branch protection on GitHub?▼

Bootstrap a React Native monorepo by creating a new GitHub repository from a predefined template, then configuring a dev-first branch strategy with protection rules on main and dev to require PRs and CI status checks.

What is the best way to set up a dev-first branch strategy for a new mobile monorepo?▼

A dev-first branch strategy creates a dev branch, sets it as the default, and applies branch protection rules to both main and dev to ensure pull requests and CI checks are required before merging.

Do I need the GitHub CLI to create a React Native monorepo from a template?▼

Yes, GitHub CLI operations are required to create the repository from a template, set the default branch, and apply branch protection rules during the monorepo bootstrapping process.

How does pnpm work with a React and React Native monorepo setup?▼

pnpm installs monorepo dependencies and runs scoped verification checks for web and shared packages to ensure the React and React Native workspaces are ready for development.

Can I link Claude Code rules during initial React Native repository bootstrapping?▼

Yes, initial repository bootstrapping links React-specific Claude Code rules into the .claude/rules/ directory and initializes the .mpx/ context and documentation.

What limitations exist when configuring branch protection on a fresh GitHub template repository?▼

Branch protection is configured strictly for main and dev branches to require PRs and CI status checks, meaning direct commits to these protected branches are blocked.