agentleFS
DobroslavRadosavljevicDobroslavRadosavljevic/cabrakan/.agents/skills/sentry/SKILL.md

sentry

Skill1 starsChanged 3 months agoMITView on GitHub

Build, review, debug, configure, migrate, or plan Sentry observability in TypeScript/JavaScript apps with current docs and official @sentry/* packages. Use for Sentry.init, DSN, errors, tracing, Session Replay, profiling, logs, metrics, source maps, releases, Seer, OpenTelemetry, @sentry/nextjs, @sentry/react, @sentry/node, @sentry/browser, @sentry/vue, @sentry/svelte, @sentry/sveltekit, @sentry/nuxt, @sentry/astro, @sentry/remix, @sentry/react-router, @sentry/solid, @sentry/solidstart, @sentry/tanstackstart-react, @sentry/nestjs, @sentry/hono, @sentry/elysia, @sentry/bun, @sentry/deno, @sentry/cloudflare, @sentry/aws-serverless, @sentry/electron, @sentry/react-native, wizard, vite/webpack plugins, captureException, and setUser.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ghidra, digitalocean and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mitsuhikoSkill

    ghidra

    Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.

    Also in 3 projects that use this

  • alanalvestechSkill

    digitalocean

    Manage DigitalOcean droplets, domains, databases, apps and volumes via API v2

    Also in 3 projects that use this

  • SentrySkill

    datadog

    Query live Datadog telemetry (logs, metrics, traces, spans, monitors, incidents, dashboards, services, hosts) through Datadog's Pup CLI. Use when users ask to investigate production behavior in Datadog, including searching logs, checking monitor status, inspecting traces or spans, looking up incidents, finding services, or correlating metrics. Do not use it for Sentry issues, repository/source-code work, or ticketing.

    Also in 4 projects that use this

  • xfstudioSkill

    firebase

    Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. I

    Also in 4 projects that use this

  • OpenAISkill

    posthog

    Analyze product data and manage product tooling in PostHog. Use when the user wants product analytics or insights, HogQL/SQL queries, feature flags, experiments and A/B tests, error tracking, session replay, surveys, LLM analytics, dashboards, data warehouse, or PostHog documentation.

    Also in 3 projects that use this

  • mitsuhikoSkill

    openscad

    Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.

    Also in 3 projects that use this

  • +1 more from mitsuhiko

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for application monitoring with Sentry in TypeScript/JavaScript: error tracking, tracing, Session Replay, profiling, logs, …

    line 8
  2. Very specific:

    Prefer bun / bunx in command examples.

    line 27
  3. Very specific:

    PII: prefer dataCollection (since 10.57) over deprecated sendDefaultPii.

    line 34
  4. Distinctive:

    Prefer repository-owned commands.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sentry

Use this skill for application monitoring with Sentry in TypeScript/JavaScript: error tracking, tracing, Session Replay, profiling, logs, metrics, source maps/releases, and framework SDKs. Snapshot JS SDK 10.69.0 (2026-08-06).

Workflow

  1. Inspect the local surface before changing code:
    • Installed @sentry/* versions (keep app SDKs on one line; bundler plugins / CLI / wizard / RN / Electron / Capacitor are separate lines).
    • Init entry: instrument.ts, sentry.*.config.ts, instrumentation.ts, or earliest app import.
    • Env: SENTRY_DSN / public DSN, SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT, release, environment.
    • Features in use: errors, tracesSampleRate / tracesSampler, replay, profiling, enableLogs, metrics, feedback, crons.
    • Runtime: browser, Node, Bun, Deno, Cloudflare Workers/Pages, AWS/GCP serverless, Electron, React Native.
  2. Pick the one highest-level package that matches the framework — do not stack @sentry/browser + @sentry/react + @sentry/nextjs. See packages-frameworks.md.
  3. For day-to-day setup (init order, sampling, PII, APIs), follow setup-core.md.
  4. Refresh docs when versions drift. Start from source-map.md.
  5. Route deeper detail:
    • Package & framework matrix: packages-frameworks.md
    • Browser/Node integrations & auto-instrumentation: integrations.md
    • Product features (replay, logs, profiling, Seer, agents): products-features.md
    • Source maps, releases, bundler plugins, CLI: sourcemaps-releases.md
    • Patterns, traps, verification: patterns-troubleshooting.md
  6. Prefer bun / bunx in command examples. Prefer wizard for greenfield framework setup; fall back to manual init when the repo already has custom tooling.

Sentry Judgment

  • Init first: load instrument / Sentry config before other app imports so OpenTelemetry hooks and default integrations attach.
  • One SDK package per runtime surface (client vs server may differ: e.g. Next.js uses @sentry/nextjs for both; TanStack Start may use @sentry/tanstackstart-react + Cloudflare wrap).
  • Sampling: ship tracesSampleRate: 1.0 only for install verification; lower in production or use tracesSampler. Same for replay (replaysSessionSampleRate / replaysOnErrorSampleRate) and profiling.
  • PII: prefer dataCollection (since 10.57) over deprecated sendDefaultPii. Explicit setUser / tags always send.
  • Source maps: production builds need upload (@sentry/vite-plugin / webpack / esbuild / rollup, framework withSentryConfig, or @sentry/cli). Delete public .map after upload when serving clients.
  • Shared environments (extensions, widgets, embedded libs): do not call global Sentry.init() — use isolated BrowserClient + Scope.
  • Node CJS vs ESM: CJS require("./instrument") first; ESM needs --import / loader hook patterns from current Node docs.
  • Framework servers (Express/Fastify/Koa/Hono/Nest/Elysia): register error handlers after routes (setupExpressErrorHandler, Nest SentryModule, etc.).
  • Align sibling @sentry/* app packages at the same 10.x version. Do not pin plugins to the SDK version.

Verification

Prefer repository-owned commands. Cover the relevant subset:

  • bun pm ls @sentry/node (or the framework package) — confirm versions align.
  • Trigger a test captureException / throw behind a button; confirm Issue + source-mapped stack in Sentry.
  • With tracing on: hit an API/page and confirm a transaction/span tree.
  • With replay: confirm Replay linked from the issue (sample rates may delay).
  • Production build: confirm source map upload succeeded (CI logs / Sentry Releases artifacts).
  • SENTRY_AUTH_TOKEN present in CI only; DSN is public client-safe, auth token is not.

Report which checks ran, which did not, and version assumptions that remain.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.