# Ionic Sentry

> Wire Sentry for crash + error reporting in an Ionic Capacitor app via @sentry/capacitor + the framework-specific @sentry SDK. Trigger when adding crash reporting, error tracking, performance monitoring, or session replay to an Ionic app.

- **Type:** Skill
- **Install:** `agentstack add skill-erkamyaman-ionic-capacitor-skills-ionic-sentry`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [erkamyaman](https://agentstack.voostack.com/s/erkamyaman)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [erkamyaman](https://github.com/erkamyaman)
- **Source:** https://github.com/erkamyaman/ionic-capacitor-skills/tree/main/skills/ionic-sentry
- **Website:** https://www.skills.sh/erkamyaman/ionic-capacitor-skills

## Install

```sh
agentstack add skill-erkamyaman-ionic-capacitor-skills-ionic-sentry
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Sentry (Crash + Error Reporting)

`@sentry/capacitor` captures native iOS / Android crashes; the framework SDK (`@sentry/angular` / `@sentry/react` / `@sentry/vue`) captures JS errors, breadcrumbs, and performance traces. Install both — they integrate via a single `init()` call.

## When to consult

- **Setup, init, and per-framework integration**: [setup.md](references/setup.md)

## Hard rules

- ✅ Init Sentry **as the first thing in app bootstrap**, before any other code can throw.
- ✅ Set the `release` value to your app version (e.g., from `package.json`) so source maps / releases line up in the Sentry dashboard.
- ✅ Set `environment: 'production'|'staging'|'development'` from the build mode so you can filter.
- ✅ Upload **source maps** as part of the build pipeline — without them, JS stack traces are unreadable.
- ❌ Don't send PII (emails, full names, IPs) unless you've enabled the privacy controls and have legal sign-off.
- ❌ Don't init twice — `@sentry/capacitor` wraps the framework SDK; calling both init's separately double-reports everything.

## Library

```bash
npm install @sentry/capacitor @sentry/angular   # for Angular
npm install @sentry/capacitor @sentry/react     # for React
npm install @sentry/capacitor @sentry/vue       # for Vue
npx cap sync
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [erkamyaman](https://github.com/erkamyaman)
- **Source:** [erkamyaman/ionic-capacitor-skills](https://github.com/erkamyaman/ionic-capacitor-skills)
- **License:** MIT
- **Homepage:** https://www.skills.sh/erkamyaman/ionic-capacitor-skills

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-erkamyaman-ionic-capacitor-skills-ionic-sentry
- Seller: https://agentstack.voostack.com/s/erkamyaman
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
