setup-headless-sdk

Configures and wires the headless onboarding SDK in React Native or Expo apps.

2|1|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/Rocapine/react-native-onboarding --skill setup-headless-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-headless-sdk
Source: https://github.com/Rocapine/react-native-onboarding/tree/main/claude-plugin/skills/setup-headless-sdk
Command: npx skills add https://github.com/Rocapine/react-native-onboarding --skill setup-headless-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the complex task of integrating the headless onboarding SDK into a React Native (including Expo) app, removing manual wiring and ensuring a consistent data layer.

Core Features & Use Cases

  • Automates installation and wiring of OnboardingProvider and the headless SDK in Expo and React Native apps.
  • Validates target app environment, executes version checks, and wires the data layer at app root with proper error handling.
  • Supports environment-driven configuration (projectId, platform, appVersion, locale, draft) and optional navigation integration.

Quick Start

Install and wire the headless onboarding SDK in your Expo or React Native app.

Frequently Asked Questions about setup-headless-sdk

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

FAQPage Schema
How do I configure a headless onboarding SDK in a React Native app?

To configure a headless onboarding SDK in React Native, you wire the OnboardingProvider at the app root, pass probe results, projectId, platform, appVersion, and locale, then wrap the app in an ErrorBoundary.

What's the best way to wire onboarding data into an Expo application?

Wiring onboarding data into Expo requires setting environment variables for projectId and draft configuration, executing an app probe, and installing the headless SDK to establish a consistent data layer.

Do I need to run an app probe before integrating the headless onboarding SDK?

Yes, an app probe is required before integrating the headless onboarding SDK to validate the target app environment and execute necessary version checks for proper provider wiring.

How does environment-driven configuration work for a headless onboarding integration?

Environment-driven configuration for headless onboarding works by passing projectId, platform, appVersion, locale, and draft variables to the OnboardingProvider, enabling dynamic setup without hardcoding values.

Why does my onboarding provider require an ErrorBoundary in React Native?

An ErrorBoundary is required when wiring the onboarding provider in React Native to ensure proper error handling and prevent the headless SDK data layer from crashing the root application.

Can I use the headless onboarding SDK with both Expo and bare React Native?

Yes, the headless onboarding SDK supports both Expo and bare React Native apps, automating installation and wiring the data layer at the app root with consistent environment-driven configuration.