getsentry avatar

Sentry Go Sdk

This walks you through the full Sentry setup for Go apps with an opinionated wizard that detects your framework and dependencies first, then recommends exactly which features to enable. It covers net/http, Gin, Echo, Fiber, FastHTTP, Iris, and Negroni, plus automatic integration with common logging libraries like logrus, zap, and zerolog. The guide is structured in phases: detect what's already there, propose a concrete plan instead of asking open-ended questions, then install only what you need. It includes sensible defaults for tracing sample rates and proper middleware configuration for each framework. Good if you want error monitoring, distributed tracing, or cron job monitoring without guessing at the right incantations.

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

Install

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

Installs into .claude/skills of the current project.

Files

Sentry Go SDK

Opinionated wizard that scans your Go project and guides you through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to Go" or "setup Sentry" in a Go app
  • User wants error monitoring, tracing, logging, metrics, or crons in Go
  • User mentions sentry-go, github.com/getsentry/sentry-go, or Go Sentry SDK
  • User wants to monitor panics, HTTP handlers, or scheduled jobs in Go

Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-go v0.43.0). Always verify against docs.sentry.io/platforms/go/ before implementing.


Phase 1: Detect

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

# Check existing Sentry dependency
grep -i sentry go.mod 2>/dev/null

# Detect web framework
grep -E "gin-gonic/gin|labstack/echo|gofiber/fiber|valyala/fasthttp|kataras/iris|urfave/negroni" go.mod 2>/dev/null

# Detect logging libraries
grep -E "sirupsen/logrus|go.uber.org/zap|rs/zerolog|log/slog" go.mod go.sum 2>/dev/null

# Detect cron / scheduler patterns
grep -E "robfig/cron|go-co-op/gocron|jasonlvhit/gocron" go.mod 2>/dev/null

Sponsors

Details

Repository
github.com/getsentry/sentry-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Debugging, Go
First seen
Jun 3, 2026

More from getsentry/sentry-agent-skills

All 20
1jezweb avatarstreamlit-snowflakejezweb/claude-skillsBuild and deploy Streamlit apps natively in Snowflake. Covers snowflake.yml scaffolding, Snowpark sessions, multi-page structure, Marketplace publishing as Nati320skills.sh installs
2getsentry avatarsentry-svelte-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure e319skills.sh installs
3sattva2020 avatardokploy-api-mcpsattva2020/skillsDeploy and manage applications on Dokploy (self-hosted PaaS). Use when deploying apps, managing Docker Compose services, databases (PostgreSQL, MySQL, MariaDB, 312skills.sh installs
4getsentry avatarsentry-ruby-sdkgetsentry/sentry-agent-skillsFull Sentry SDK setup for Ruby. Use when asked to add Sentry to Ruby, install sentry-ruby, setup Sentry in Rails/Sinatra/Rack, or configure error monitoring, tr311skills.sh installs
5incept5 avatareve-pipelines-workflowsincept5/eve-skillpacksDefine and run Eve pipelines and workflows via manifest and CLI. Use when wiring build, release, deploy flows or invoking workflow jobs.309skills.sh installs
6adeonir avatarspec-drivenadeonir/agent-skillsSpec-driven feature development with auto-sized depth. Produces spec.md, design.md, tasks.md, and validation.md with requirements traceability, and closes with 307skills.sh installs