getsentry avatar

Sentry Dotnet Sdk

This is a comprehensive wizard that handles the full Sentry integration for .NET projects. It scans your codebase to detect framework type (ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions), figures out which package you need, then walks you through error monitoring, distributed tracing, profiling, logging, and cron monitoring setup. The detection phase is solid, it knows the difference between a hosted web app and a desktop app where you need IsGlobalModeEnabled, and it maps framework types to the right Sentry packages. You get both wizard and manual paths, with specific Program.cs and App.xaml.cs snippets that account for things like WPF constructor timing and serverless flush behavior. Good for anyone past the hello world stage who wants proper observability without reading docs for an hour.

skills.sh installs
303
GitHub stars
25
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

Files

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. Always verify against docs.sentry.io/platforms/dotnet/ before implementing.


Phase 1: Detect

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

# Detect framework type — find all .csproj files
find . -name "*.csproj" | head -20

# Detect framework targets
grep -r "TargetFramework\|Project Sdk" --include="*.csproj" .

Sponsors

Details

Repository
github.com/getsentry/sentry-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Debugging, Cloud & Infrastructure, Mobile Development, .NET & C#
First seen
Jun 3, 2026

More from getsentry/sentry-agent-skills

All 20
1davila7 avatarlangfusedavila7/claude-code-templatesExpert in Langfuse - the open-source LLM observability platform. Covers tracing, prompt management, evaluation, datasets, and integration with LangChain, LlamaI291skills.sh installs
2pluginagentmarketplace avatarjava-maven-gradlepluginagentmarketplace/custom-plugin-javaMaster Maven and Gradle - build configuration, dependencies, plugins, CI/CD291skills.sh installs
3aliyun avataralibabacloud-cms-alert-rule-createaliyun/alibabacloud-aiops-skillsCreate and query Alibaba Cloud alert rules via CLI. Supports CMS 1.0 cloud resource monitoring (ECS, RDS, SLB, etc.) and CMS 2.0 advanced monitoring (Prometheus288skills.sh installs
4davila7 avatarloki-modedavila7/claude-code-templatesMulti-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, d284skills.sh installs
5davila7 avatarrailway-environmentdavila7/claude-code-templatesQuery, stage, and apply configuration changes for Railway environments. Use for ANY variable or env var operations, service configuration (source, build setting282skills.sh installs
6incept5 avatareve-fullstack-app-designincept5/eve-skillpacksArchitect a full-stack application on Eve Horizon — manifest-driven services, managed databases, build pipelines, deployment strategies, secrets, and observabil274skills.sh installs