mirror of
https://github.com/getsentry/sentry-agent-skills.git
synced 2026-09-20 14:23:25 +08:00
fix: add docs verification disclaimer to all setup skills
Adds a note to each skill reminding the agent that code samples and SDK versions are examples and must be verified against docs.sentry.io before implementing. Covers all 9 skills that provide language-specific SDK configuration.
This commit is contained in:
@@ -13,6 +13,8 @@ Install and configure Sentry in iOS projects using Swift and SwiftUI.
|
||||
- User wants error monitoring, tracing, or session replay in iOS
|
||||
- User mentions "sentry-cocoa" or iOS crash reporting
|
||||
|
||||
**Important:** The configuration options and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and defaults may have changed.
|
||||
|
||||
## Requirements
|
||||
|
||||
- iOS 11.0+
|
||||
|
||||
@@ -13,6 +13,8 @@ Install and configure Sentry in Python projects.
|
||||
- User wants error monitoring, logging, or tracing in Python
|
||||
- User mentions "sentry-sdk" or Python frameworks (Django, Flask, FastAPI)
|
||||
|
||||
**Important:** The configuration options and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and defaults may have changed.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
|
||||
@@ -13,6 +13,8 @@ Install and configure Sentry in React Native projects using the official wizard
|
||||
- User wants error monitoring, logging, or tracing in React Native or Expo
|
||||
- User mentions "@sentry/react-native" or mobile error tracking
|
||||
|
||||
**Important:** The configuration options and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and defaults may have changed.
|
||||
|
||||
## Wizard Setup (Recommended)
|
||||
|
||||
```bash
|
||||
|
||||
@@ -13,6 +13,8 @@ Install and configure Sentry in React projects.
|
||||
- User wants error monitoring, logging, or tracing in React
|
||||
- User mentions "@sentry/react" or React error boundaries
|
||||
|
||||
**Important:** The configuration options and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and defaults may have changed.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
|
||||
@@ -13,6 +13,8 @@ Install and configure Sentry in Ruby projects.
|
||||
- User wants error monitoring, logging, or tracing in Ruby
|
||||
- User mentions "sentry-ruby" gem or Ruby on Rails
|
||||
|
||||
**Important:** The configuration options and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and defaults may have changed.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Ruby 2.4+ or recent JRuby versions
|
||||
|
||||
@@ -13,6 +13,8 @@ Configure Sentry to track LLM calls, agent executions, tool usage, and token con
|
||||
- User wants "AI observability" or "agent monitoring"
|
||||
- User asks about token usage, model latency, or AI costs
|
||||
|
||||
**Important:** The SDK versions, API names, and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and minimum versions may have changed.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
AI monitoring requires **tracing enabled** (`tracesSampleRate > 0`).
|
||||
|
||||
@@ -13,6 +13,8 @@ Configure Sentry's structured logging feature.
|
||||
- User wants to integrate logging libraries (Pino, Winston, Loguru) with Sentry
|
||||
- User asks about `Sentry.logger` or `sentry_sdk.logger`
|
||||
|
||||
**Important:** The SDK versions, API names, and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and minimum versions may have changed.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Platform | Min SDK | Enable Flag | Logger API |
|
||||
|
||||
@@ -13,6 +13,8 @@ Configure Sentry's custom metrics for tracking counters, gauges, and distributio
|
||||
- User wants counters, gauges, or distributions
|
||||
- User asks about `Sentry.metrics` or `sentry_sdk.metrics`
|
||||
|
||||
**Important:** The SDK versions, API names, and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and minimum versions may have changed.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Platform | Min SDK | API |
|
||||
|
||||
@@ -13,6 +13,8 @@ Configure Sentry's performance monitoring to track transactions and spans.
|
||||
- User wants to track API response times, page loads, or latency
|
||||
- User asks about `tracesSampleRate` or custom spans
|
||||
|
||||
**Important:** The SDK versions, API names, and code samples below are examples. Always verify against [docs.sentry.io](https://docs.sentry.io) before implementing, as APIs and minimum versions may have changed.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Platform | Enable | Custom Span |
|
||||
|
||||
Reference in New Issue
Block a user