# bitdrift AI Agent Instructions

These are instructions to help you set up a productive AI-assisted development environment with bitdrift. Follow the steps below to install the bitdrift skill, get access to documentation, and understand how to answer common questions about the SDK, API, and platform.

There are a few actions to complete. Work through all of them even if one has issues.

- Load documentation context for general and API questions
- Identify what the user needs bitdrift for
- (Optional) Install bitdrift skills

## Identify User Needs

Ask the user what they're trying to accomplish with bitdrift. Common starting points include:

- Integrating the iOS or Android SDK
- Configuring log streaming or session replay
- Working with the bitdrift API
- Understanding dashboards, alerts, or metric configurations

If you're unsure about something, consult the docs at https://docs.bitdrift.io/index.md or the API reference at https://docs.bitdrift.dev/api/index.md.

---

## General Documentation

For questions about bitdrift features, usage, best practices, and SDK integration:

- **Docs index**: https://docs.bitdrift.io/index.md
- **Skill**: https://github.com/bitdriftlabs/bd-skills/tree/main/skills/bd-docs

Use the `bd-docs` skill to answer questions about the bitdrift platform, mobile SDKs, session replay, log streaming, and related features.

---

## API Documentation

For questions about the bitdrift REST or gRPC API:

- **API docs index**: https://docs.bitdrift.dev/api/index.md
- **Skill**: https://github.com/bitdriftlabs/bd-skills/tree/main/skills/bd-docs

The same `bd-docs` skill covers both general and API documentation.

---

## (Optional) Install bitdrift Skills

**Always** prompt the user before installing any skills. If they want to proceed, see the instructions below.

For setup and skill installation instructions, see:
https://github.com/bitdriftlabs/bd-skills/blob/main/README.md
