# bd-instrumentation

This skill guides bitdrift Capture SDK setup for mobile apps and adds instrumentation for logs, network activity, screens, fields, and spans.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 482 installs · ★ 13
- Author: bitdriftlabs
- License: LicenseRef-PolyForm-Shield-License-1.0.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bitdriftlabs/bd-skills/tree/HEAD/skills/bd-instrumentation/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/bd-instrumentation

## What it does

The skill identifies Android, iOS, or React Native from project files, checks whether the bitdrift Capture SDK is already present, and chooses the matching setup path. For a new integration, it adds the dependency and `Logger.start()`, then applies the instrumentation categories the user requests, such as log forwarding, network monitoring, screen views, TTI, fields, or spans.

It uses `bd-docs` for current API details and reads the relevant reference file: `references/android.md`, `references/ios.md`, or `references/react-native.md`. It can also review an integration and report PASS/FAIL/WARNING results for SDK setup, lifecycle timing, sessions, network and screen tracking, crash links, identity fields, and symbol mapping uploads.

When a monorepo contains files for several platforms, the target must be selected before the setup starts. That choice changes which reference and SDK checks apply.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add bitdriftlabs/bd-skills --skill bd-instrumentation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/bd-instrumentation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/bd-instrumentation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add bitdriftlabs/bd-skills --skill bd-instrumentation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/bd-instrumentation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add bitdriftlabs/bd-skills --skill bd-instrumentation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/bd-instrumentation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install bitdriftlabs/bd-skills bd-instrumentation
```

2. **Manually: put the files in place**
- File: `.github/skills/bd-instrumentation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add bitdriftlabs/bd-skills --skill bd-instrumentation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/bitdriftlabs/bd-skills --path skills/bd-instrumentation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/bd-instrumentation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add bitdriftlabs/bd-skills --skill bd-instrumentation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/bitdriftlabs/bd-skills/tree/HEAD/skills/bd-instrumentation/SKILL.md

## When to use it
- install the Capture SDK in an Android app
- configure bitdrift in an iOS project
- instrument a React Native application
- check network and screen tracking
- audit SDK initialization and symbol uploads

## Example prompts
- Check this project for an existing bitdrift Capture SDK installation and configure the detected mobile platform.
- Set up bitdrift in this React Native app, then add screen tracking, network monitoring, and TTI instrumentation.
- Validate the bitdrift integration and return PASS/FAIL/WARNING results with concrete fixes.

## Similar
- [assess-react-native-migration](https://affpapa.org/en/nevibecode/skills/assess-react-native-migration.md) — skill · 2100 installs
- [mobile-app-debugging](https://affpapa.org/en/nevibecode/skills/secondsky-mobile-app-debugging.md) — skill · 428 installs
- [senior-mobile](https://affpapa.org/en/nevibecode/skills/senior-mobile.md) — skill · 310 installs
- [zoom-meeting-sdk-react-native](https://affpapa.org/en/nevibecode/skills/zoom-meeting-sdk-react-native.md) — skill · ★ 7604
- [ui-mobile](https://affpapa.org/en/nevibecode/skills/ui-mobile.md) — skill · 1200 installs
- [Mobile App Design Standards](https://affpapa.org/en/nevibecode/skills/mobile-app-design-standards.md) — skill · 906 installs

From the same set: [bitdriftlabs/bd-skills](https://affpapa.org/en/nevibecode/by/bitdriftlabs/bd-skills.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
