Skip to content
Skill

App startup and bootstrap

Orders an Expo app's cold start so the splash, storage and providers run in sequence

App startup and bootstrap is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
16
Last commit
License
MIT
Listing updated

Similar skills

About App startup and bootstrap

This skill gives an Expo and React Native app a fixed startup sequence: polyfills and router entry, an error net, a module-scope splash hold, a synchronous storage open, provider nesting in dependency order, and a single splash release once the first screen is ready. It also covers flushing buffered writes from one root hook when the app leaves the foreground.

The skill ships a template root skeleton (root layout, app root, root stack, startup gate, background flush helpers, and a kit registry for optional add-ons such as crash reporting or analytics) along with a zero-dependency checker script that verifies the layout against a startup contract file. Reference documents explain the order step by step, splash behaviour, and deferred work rules.

The skill expects an Expo project using expo-router, with TypeScript and Jest for its tests, and it asks that the launch be checked on release builds on both iOS and Android.

When your agent uses it

Orders an Expo app's cold start - polyfills, error net, splash hold, storage open, providers, splash release, background flush. Use when editing the root _layout.tsx or the app root, or the splash hangs or flashes. Not for routes (navigation-and-routing).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 45 files (401 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills

Or copy only this skill to ~/.claude/skills/app-startup-and-bootstrap:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/app-startup-and-bootstrap &&
cp -R "$tmp/skills/app-startup-and-bootstrap" ~/.claude/skills/app-startup-and-bootstrap &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/app-startup-and-bootstrap inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/app-startup-and-bootstrap to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/app-startup-and-bootstrap &&
cp -R "$tmp/skills/app-startup-and-bootstrap" ~/.agents/skills/app-startup-and-bootstrap &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/app-startup-and-bootstrap inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/app-startup-and-bootstrap to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/app-startup-and-bootstrap &&
cp -R "$tmp/skills/app-startup-and-bootstrap" ~/.cursor/skills/app-startup-and-bootstrap &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/app-startup-and-bootstrap inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/app-startup-and-bootstrap

Or copy the folder to ~/.gemini/skills/app-startup-and-bootstrap yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/app-startup-and-bootstrap:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/app-startup-and-bootstrap &&
cp -R "$tmp/skills/app-startup-and-bootstrap" ~/.copilot/skills/app-startup-and-bootstrap &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/app-startup-and-bootstrap inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git

Then copy ReactNative-Skills/skills/app-startup-and-bootstrap into your agent's skills folder as app-startup-and-bootstrap. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Startup order rules
Defines the sequence of polyfills, error net, splash hold, storage open, providers and splash release.
Splash hold and release
Holds the native splash at module scope and releases it once the startup gate is ready.
Startup gate with deadline
Runs blocking startup tasks under a literal deadline of at most 3000 ms.
Root kit registry
Lets optional kits plug into typed slots without changing the root files.
Background flush hook
Flushes buffered writes from one root hook before the app checkpoints on background.
Startup checker script
Runs a checker that validates the root files against the startup contract.

Good for

  • Set up a new Expo app with a canonical root layout and splash handling
  • Fix a splash screen that hangs or flashes on launch
  • Add crash reporting or analytics as a root kit without editing root files
  • Make a draft survive an app being swiped away from the switcher
  • Verify that the startup order still matches the project's contract

App startup and bootstrap FAQ

What does App startup and bootstrap need to run?

An Expo project using expo-router, with TypeScript and Jest for the included tests, plus the checker script run from the repository root.

When does App startup and bootstrap trigger?

When editing the root _layout.tsx or the app root, or when the splash hangs or flashes.

Does App startup and bootstrap handle routes?

No. Routes and navigation are covered by the navigation-and-routing skill.

How do I install App startup and bootstrap in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/app-startup-and-bootstrap to use it in all your projects, or to .claude/skills/app-startup-and-bootstrap in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

Does App startup and bootstrap run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use App startup and bootstrap?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to App startup and bootstrap?

The closest alternatives to App startup and bootstrap are Expo project bootstrap, Expo project structure, Expo router, Background tasks and Debug menu and test hooks.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zakariaf/ReactNative-Skills

  1. Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout

    • Open source
    • 16 GitHub stars
    • Developer tools
  2. Adds a gated debug menu, debug deep link and simulated clock and offline mode to React

    • Open source
    • 16 GitHub stars
    • Developer tools
  3. Checks React Native code for accessibility labels, touch targets, text scaling

    • Open source
    • 16 GitHub stars
    • Developer tools
  4. Sells a one-time Premium unlock through the App Store and Google Play

    • Open source
    • 16 GitHub stars
    • Finance and payments
  5. Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit

    • Open source
    • 16 GitHub stars
    • Developer tools
  6. Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware

    • Open source
    • 16 GitHub stars
    • Developer tools