Agent skill

Setup React Native Bundle Discovery

by retyui in retyui/react-native-bundle-discovery

Install ONLY the react-native-bundle-discovery package and wire it into a React Native project so a bundle report is generated when the BUNDLEANALYZER env var is set.

No licenceAuto-check passedMobile

Install Setup React Native Bundle Discovery

skills CLI
$ npx skills add retyui/react-native-bundle-discovery --skill setup-react-native-bundle-discovery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install retyui/react-native-bundle-discovery setup-react-native-bundle-discovery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/retyui/react-native-bundle-discovery.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/setup-react-native-bundle-discovery .claude/skills/setup-react-native-bundle-discovery && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-react-native-bundle-discovery
GitHub stars
152
Token cost
~2.5k tokens
SKILL.md length
627 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Install ONLY the react-native-bundle-discovery package and wire it into a React Native project so a bundle report is generated when the BUNDLEANALYZER env var is set.

  • Works in 3 steps: Detect the project type → Install the dependency → Explain how to build with the flag enabled
  • The user asks to add bundle analysis
  • SKILL.md covers Goal, Step 1 — Detect the project type, Step 2 — Install the dependency and Step 3a — Plain Metro project:…, plus 5 more sections
  • Calls npx, expo and yarn

What it does

Setup React Native Bundle Discovery is an agent skill from retyui/react-native-bundle-discovery. Install ONLY the react-native-bundle-discovery package and wire it into a React Native project so a bundle report is generated when the BUNDLEANALYZER env var is set. Works for plain Metro projects and Expo projects (via createSerializer in metro.config.js) and Re.Pack projects (via BundleDiscoveryPlugin in rspack.config.mjs / webpack.config.js). Use this skill whenever the user asks to "add bundle analysis", "install react-native-bundle-discovery", "set up BUNDLEANALYZER", or similar.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps. It works with React Native, webpack, Expo and Sentry. The repository describes itself as: Simple tooling to explore bundle size 📦, spot heavy packages, and inspect module/code structure in React Native apps.

When your agent uses it

  • The user asks to add bundle analysis
  • Install react-native-bundle-discovery
  • Set up BUNDLEANALYZER

Example prompts

  • “add bundle analysis”
  • “install react-native-bundle-discovery”
  • “set up BUNDLEANALYZER”
  • “/setup-react-native-bundle-discovery”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Detect the project type
  2. Install the dependency
  3. Explain how to build with the flag enabled

What it can do on your machine

Read from SKILL.md and the folder at commit 88cae65. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • expo
    • yarn
    • npm
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • retyui.github.io
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup React Native Bundle Discovery loads about 2.5k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 627 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 627 words (~2,501 tokens).

“Install only the react-native-bundle-discovery then wire it into the project's bundler config so a JSON report is produced only when the BUNDLE_ANALYZER environment variable is set.”

— opening of SKILL.md by retyui
name
setup-react-native-bundle-discovery

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/setup-react-native-bundle-discovery of retyui/react-native-bundle-discovery.

Open the folder on GitHubat commit 88cae65

Compare with similar skills

Setup React Native Bundle Discovery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup React Native Bundle Discovery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup React Native Bundle Discovery this skillretyui/react-native-bundle-discovery152—~2.5kAutomated safety check: PassNone
Weapp Tailwindcss Setupweapp-tailwindcss/weapp-tailwindcss1.9k—~406Automated safety check: PassMIT
Sentry React Native SDKgetsentry/sentry-for-ai268—~10kAutomated safety check: NotesApache-2.0
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
Appllama App Design SkillAppllama/appllama-skills2.4k1 repos~5kAutomated safety check: PassMIT
Appllama UsageAppllama/appllama-skills2.4k1 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Weapp Tailwindcss Setup

    weapp-tailwindcss/weapp-tailwindcss

    为新项目配置当前 weapp-tailwindcss v5 与 Tailwind CSS 4,覆盖 uni-app、uni-app x、Taro、Mpx、原生小程序、weapp-vite、Vite、Webpack 5、Rspack、Gulp、独立 CLI 及小程序/H5/Web/App 多端。Use when setting up, installing, integrating…

    1.9k GitHub stars~406 tokensUpdated today
    MobileAuto-check passed
  • Sentry React Native SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for React Native and Expo. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~10k tokensUpdated today
    MobileAuto-check: notes
  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    MobileAuto-check passed
  • Appllama App Design Skill

    Appllama/appllama-skills

    Build native-feeling, benchmark-quality mobile app screens (Expo / React Native).

    2.4k GitHub starsUsed in 1 repo~5k tokens
    MobileAuto-check passed
  • Appllama Usage

    Appllama/appllama-skills

    Use the Appllama MCP (mcp.appllama.io) well — research real top-grossing mobile apps, their screens, flows, and UI elements, then build from what you learn.

    2.4k GitHub starsUsed in 1 repo~1.6k tokens
    MobileAuto-check passed
  • Release Sample Sweep

    Atmosphere/atmosphere

    Run the pre-release end-to-end sweep of every user-facing surface — the 33 samples under samples/ (booted from their packaged artifacts and driven in a real browser via chrome-devtools MCP), the…

    3.8k GitHub stars~4.2k tokensUpdated yesterday
    MobileAuto-check passed

Categories

Questions about Setup React Native Bundle Discovery

What does Setup React Native Bundle Discovery do?

Install ONLY the react-native-bundle-discovery package and wire it into a React Native project so a bundle report is generated when the BUNDLEANALYZER env var is set. Setup React Native Bundle Discovery is an agent skill from retyui/react-native-bundle-discovery. Install ONLY the react-native-bundle-discovery package and wire it into a React Native project so a bundle report is generated when the BUNDLEANALYZER env var is set.

When should I use Setup React Native Bundle Discovery?

Setup React Native Bundle Discovery fits situations like: the user asks to add bundle analysis; install react-native-bundle-discovery; set up BUNDLEANALYZER.

How do I install Setup React Native Bundle Discovery in Claude Code?

Run `npx skills add retyui/react-native-bundle-discovery --skill setup-react-native-bundle-discovery -a claude-code`. Or copy the skill folder (skills/setup-react-native-bundle-discovery in retyui/react-native-bundle-discovery) into .claude/skills/setup-react-native-bundle-discovery in your project. Claude Code loads it when a task matches its description.

How do I install Setup React Native Bundle Discovery in Codex?

Run `npx skills add retyui/react-native-bundle-discovery --skill setup-react-native-bundle-discovery -a codex`. Or copy the skill folder (skills/setup-react-native-bundle-discovery in retyui/react-native-bundle-discovery) into .agents/skills/setup-react-native-bundle-discovery in your project. Codex loads it when a task matches its description.

Can I use Setup React Native Bundle Discovery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add retyui/react-native-bundle-discovery --skill setup-react-native-bundle-discovery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-react-native-bundle-discovery, .gemini/skills/setup-react-native-bundle-discovery, .github/skills/setup-react-native-bundle-discovery and .opencode/skills/setup-react-native-bundle-discovery in your project.

What does Setup React Native Bundle Discovery need to run?

Going by SKILL.md and its folder, Setup React Native Bundle Discovery needs the command-line tools its instructions call (npx, expo, yarn, npm and pnpm). Our summary lists: Node.js.

Does Setup React Native Bundle Discovery access the network?

SKILL.md names 2 domains. As links in the text: retyui.github.io and github.com. This is read from the text; nothing was executed.

Is Setup React Native Bundle Discovery safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup React Native Bundle Discovery use?

No licence was found for Setup React Native Bundle Discovery or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Setup React Native Bundle Discovery use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Setup React Native Bundle Discovery?

Skills that share tags, products or a category with Setup React Native Bundle Discovery: Weapp Tailwindcss Setup (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars), Sentry React Native SDK (getsentry/sentry-for-ai, 268 stars), React Native Best Practices (vercel-labs/openreview, 1.7k stars) and Appllama App Design Skill (Appllama/appllama-skills, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup React Native Bundle Discovery?

retyui (a GitHub user) maintains it in retyui/react-native-bundle-discovery, which has 152 GitHub stars. The repository was last updated on October 6, 2026.

Source: retyui/react-native-bundle-discovery on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.