Skip to content
Skill

Crash reporting and observability

Adds consent-gated Sentry crash reporting with PII scrubbing and source map uploads

Crash reporting and observability 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 Crash reporting and observability

This skill wires Sentry crash reporting into an Expo app through a single port and adapter, registered as a root kit so the app's root files stay unchanged. Reporting stays off until the person agrees in a settings choice, development builds and empty DSNs never start the SDK, and a scrubber filters every event and breadcrumb before it leaves the device. The Sentry options are set to the privacy-first configuration, with personal data sending disabled and screenshots, session replay and feedback widgets turned off.

The workflow covers installing the SDK, copying templates for the port, adapter, scrubber, forwarder and test fake, and adding a Metro config and app config plugin so bundles carry debug IDs. Every EAS build and OTA update is set up to upload source maps and symbols, so minified stacks can be read in TypeScript. The skill also keeps the upload token in build secrets and fills a contract file that records what is collected, which the store privacy declarations must match.

A zero-dependency checker script validates the code and configs against its rules and reports PASS or FAIL per rule. The developer supplies the Sentry organization, project and DSN, and the skill stops for confirmation before anything is sent to their Sentry project.

When your agent uses it

Wires Sentry crash reporting behind a port: start on consent, PII scrubbing, releases, source maps per build and update. Use when adding Sentry or a DSN, or stacks are minified. Not for analytics (analytics-and-consent).

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 46 files (410 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/crash-reporting-and-observability:

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

For one project only, put the folder in .claude/skills/crash-reporting-and-observability inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/crash-reporting-and-observability 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/crash-reporting-and-observability &&
cp -R "$tmp/skills/crash-reporting-and-observability" ~/.agents/skills/crash-reporting-and-observability &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/crash-reporting-and-observability inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/crash-reporting-and-observability 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/crash-reporting-and-observability &&
cp -R "$tmp/skills/crash-reporting-and-observability" ~/.cursor/skills/crash-reporting-and-observability &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/crash-reporting-and-observability 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/crash-reporting-and-observability

Or copy the folder to ~/.gemini/skills/crash-reporting-and-observability yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/crash-reporting-and-observability:

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

For one project only, put the folder in .github/skills/crash-reporting-and-observability 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/crash-reporting-and-observability into your agent's skills folder as crash-reporting-and-observability. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Consent-gated SDK start
Sentry starts only after the person's saved choice is applied, so nothing is sent before consent.
PII scrubbing
Events and breadcrumbs pass through a scrubber, and reports never name a user.
Privacy-first Sentry options
Screenshots, session replay, feedback widgets and personal data capture are disabled.
Single-path error reporting
Each error is sent exactly once, with rejection handling and the global handler split between them.
Source map uploads
Native builds and every OTA update upload debug symbols and source maps for readable stacks.
Consistency checker
A zero-dependency script verifies the code, configs and contract, reporting PASS or FAIL per rule.

Good for

  • Add Sentry crash reporting to an Expo app with user consent
  • Make minified React Native stacks readable after a store build
  • Set up source map uploads for EAS OTA updates
  • Scrub personal data from crash reports before they are sent
  • Check that crash reporting configuration meets the privacy rules

Crash reporting and observability FAQ

When does the skill trigger?

It applies when adding Sentry or a DSN, or when stack traces are minified. It does not cover analytics, which belongs to the analytics-and-consent skill.

What does the developer need to provide?

The Sentry organization, project slug and DSN, plus the EAS environment variables and server-side scrubbing settings that the skill hands over as manual steps.

Does the skill send data without consent?

No. The SDK starts only after the consent choice is applied, and development builds and empty DSNs never start it.

Which AI clients does Crash reporting and observability support?

It follows the shared agent skills format and is also listed as a Claude Code plugin marketplace entry.

How do I install Crash reporting and observability in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/crash-reporting-and-observability to use it in all your projects, or to .claude/skills/crash-reporting-and-observability 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 Crash reporting and observability 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 Crash reporting and observability?

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 Crash reporting and observability?

The closest alternatives to Crash reporting and observability are Analytics and consent, Auth and secure storage, Debug menu and test hooks, Expo prebuild and config plugins and Expo skill eval.

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