getsentry avatar

Sentry Dotnet Sdk

This is a comprehensive wizard that scans your .NET project, detects the framework (ASP.NET Core, MAUI, WPF, Blazor, Azure Functions, etc.), and walks you through the complete Sentry setup with error monitoring, distributed tracing, profiling, and structured logging. It's opinionated in a helpful way: detects if you're using Serilog or NLog, figures out whether you need IsGlobalModeEnabled for desktop apps or FlushOnCompletedRequest for serverless, and recommends the correct package out of the eight or so variants. The phase-based approach (detect, recommend, guide) means it won't just dump config at you. It actually looks at your csproj files and startup code first, then proposes a concrete plan. If you've ever gotten lost in Sentry's .NET docs trying to figure out which NuGet package to install, this handles that decisively.

skills.sh installs
2.3K
GitHub stars
277
last updated
Aug 21, 2026

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-dotnet-sdk --agent claude-code

Installs into .claude/skills of the current project.

Files

All Skills > SDK Setup > .NET SDK

Sentry .NET SDK

Opinionated wizard that scans your .NET project and guides you through complete Sentry setup: error monitoring, distributed tracing, profiling, structured logging, and cron monitoring across all major .NET frameworks.

Invoke This Skill When

  • User asks to "add Sentry to .NET", "set up Sentry in C#", or "install Sentry for ASP.NET Core"
  • User wants error monitoring, tracing, profiling, logging, or crons for a .NET app
  • User mentions SentrySdk.Init, UseSentry, Sentry.AspNetCore, or Sentry.Maui
  • User wants to capture unhandled exceptions in WPF, WinForms, MAUI, or Azure Functions
  • User asks about SentryOptions, BeforeSend, TracesSampleRate, or symbol upload

Note: SDK version and APIs below reflect Sentry NuGet packages ≥6.1.0 (OTLP export requires ≥6.5.0). Always verify against docs.sentry.io/platforms/dotnet/ before implementing.


Phase 1: Detect

Run these commands to understand the project before making any recommendations:

Sponsors

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
DevOps & CI/CD, Debugging, Cloud & Infrastructure, Mobile Development, .NET & C#
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 31
1getsentry avatarsentry-php-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for PHP. Use when asked to "add Sentry to PHP", "install sentry/sentry", "setup Sentry in PHP", or configure error monitoring, tracing, pr2.3Kskills.sh installs
2nvidia avatardeepstream-import-vision-modelnvidia/skillsUse this skill to bring any vision model from HuggingFace or NVIDIA NGC into an NVIDIA DeepStream pipeline with end-to-end automation: ONNX download, SafeTensor2.3Kskills.sh installs
3getsentry avatarsentry-flutter-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Flutter and Dart. Use when asked to "add Sentry to Flutter", "install sentry_flutter", "setup Sentry in Dart", or configure error moni2.3Kskills.sh installs
4getsentry avatarsentry-go-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Go. Use when asked to "add Sentry to Go", "install sentry-go", "setup Sentry in Go", or configure error monitoring, tracing, logging, 2.3Kskills.sh installs
5figma avatarfigma-generate-diagramfigma/mcp-server-guideMANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Tri2.2Kskills.sh installs
6getsentry avatarsentry-svelte-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure e2.2Kskills.sh installs