🎯

Sentry

v1.2.0

Best practices and patterns for Sentry error monitoring and observability.

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install jutsu-sentry

Overview

Best practices and patterns for Sentry error monitoring and observability.

What This Jutsu Provides

Validation Hooks

  • Sentry Info: Verifies sentry-cli configuration and authentication using sentry-cli info

Skills

This jutsu provides the following skills:

  • SDK Configuration: Initialization, integrations, sampling, filtering
  • Error Capturing: Exception handling, context, breadcrumbs, fingerprinting
  • Performance Monitoring: Transactions, spans, distributed tracing, metrics
  • Release Management: Source maps, deployments, release health
  • Alerts & Issues: Alert rules, issue triage, notifications, integrations

Installation

Install via the Han marketplace:

han plugin install jutsu-sentry

Usage

Once installed, this jutsu provides skills for Sentry best practices. The validation hook verifies your sentry-cli configuration is correct.

Requirements

  • sentry-cli installed
  • .sentryclirc or sentry.properties configuration file
  • Valid Sentry authentication token

Configuration

Create .sentryclirc in your project root:

[defaults]
org = your-org
project = your-project

[auth]
token = your-auth-token

Or use environment variables:

export SENTRY_ORG=your-org
export SENTRY_PROJECT=your-project
export SENTRY_AUTH_TOKEN=your-auth-token

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - See LICENSE for details.

Skills

Hooks

⚠

Token Usage Notice

Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.

🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

🛑

SubagentStop

Runs when a Claude Code subagent (Task tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.