Instrument an application with Sentry — detect the platform, install and initialize the SDK if needed, and wire up any signal — error monitoring, tracing/performance, logging, metrics, profiling, session replay, user feedback, cron check-ins, and AI/LLM monitoring. Use to add Sentry to a project or to capture more than errors.
$npx -y skills add getsentry/sentry-for-ai --skill sentry-instrumentInstalls into the current project.
Run `npx skills use "https://github.com/getsentry/sentry-for-ai" --skill "getsentry/sentry-for-ai/sentry-instrument"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/getsentry/sentry-for-ai" that are relevant to the current task. Run `npx skills add "https://github.com/getsentry/sentry-for-ai"` and select the relevant skills, then follow their instructions.