sentry

Integrate Sentry error monitoring and performance tracing into Next.js applications.

357|29|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/brianlovin/agent-config --skill sentry-brianlovin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry
Source: https://github.com/brianlovin/agent-config/tree/main/skills/sentry
Command: npx skills add https://github.com/brianlovin/agent-config --skill sentry-brianlovin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers integrate Sentry into their Next.js applications for robust error monitoring and performance tracing, ensuring application stability and identifying performance bottlenecks.

Core Features & Use Cases

  • Error Capturing: Automatically capture and report exceptions occurring in your application.
  • Performance Tracing: Instrument code to track the duration and performance of critical operations like API calls and UI interactions.
  • Structured Logging: Utilize Sentry's logger for detailed, categorized logging of application events.
  • Use Case: When a user encounters an error on your website, this Skill ensures the error is reported to Sentry with all relevant context, allowing your team to quickly diagnose and fix the issue.

Quick Start

Integrate Sentry into your Next.js application by following the configuration guidelines in the Sentry documentation.

Frequently Asked Questions about sentry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up error monitoring in a Next.js application?

To set up error monitoring in Next.js, initialize the Sentry SDK across client, server, and edge configuration files to automatically capture and report exceptions with relevant context for rapid diagnosis.

Can I trace API call performance and UI actions in Next.js?

Yes, performance tracing in Next.js is supported by instrumenting code with Sentry's SDK to track the duration and performance of critical operations like API calls and UI interactions.

What is structured logging and how does it work for Next.js error tracking?

Structured logging uses Sentry's logger to record detailed, categorized application events, ensuring that when errors occur, they are reported with full context for quick identification and resolution.

Do I need separate Sentry configurations for Next.js client, server, and edge environments?

Yes, robust error monitoring requires Sentry SDK initialization in separate client, server, and edge configuration files to ensure comprehensive tracing and exception capture across all environments.

What's the best way to capture unhandled exceptions in Next.js?

The best way to capture unhandled exceptions is integrating Sentry for error monitoring, which automatically captures and reports exceptions occurring in your application to identify performance bottlenecks.