Files
getsentry__sentry-for-ai/AGENTS.md
David Cramer 0e8ea81efe fix: Move skills/commands to repo root, remove unnecessary symlinks
- Move skills/ and commands/ to repo root (where both platforms expect them)
- .agents/ now symlinks to these instead of being the canonical location
- Replace marketplace.json symlink with real copy
- Replace mcp.json symlink with real file
- Remove unnecessary assets symlinks from plugin dirs
- Update AGENTS.md to reflect new structure

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 10:18:32 -08:00

2.1 KiB

Agent Instructions

Project Overview

Sentry plugin for AI coding assistants (Claude Code, Cursor). Provides MCP server integration, slash commands, and skills.

Commit Attribution

AI commits MUST include:

Co-Authored-By: (the agent model's name and attribution byline)

Plugin Structure

commands/               # Slash commands (/seer)
skills/                 # Setup and review skills
.agents/                # Symlinks to commands/ and skills/
.claude-plugin/         # Claude Code plugin metadata
.cursor-plugin/         # Cursor plugin metadata

Skills use YAML frontmatter with allowed-tools — this is required by Cursor and harmless in Claude Code. Keep it in all skill files.

Skills

Sentry Code Review

Analyze and resolve Sentry bot comments on GitHub PRs. See skills/sentry-code-review/SKILL.md

Sentry Setup Skills

  • AI Monitoring - Instrument OpenAI/Anthropic/Vercel AI/LangChain/Google GenAI. See skills/sentry-setup-ai-monitoring/SKILL.md
  • iOS (Swift) - Setup Sentry in iOS/Swift apps with error monitoring, tracing, session replay, logging, and profiling. See skills/sentry-ios-swift-setup/SKILL.md
  • Logging - Configure structured logging (JS/Python/Ruby). See skills/sentry-setup-logging/SKILL.md
  • Metrics - Setup counters/gauges/distributions. See skills/sentry-setup-metrics/SKILL.md
  • Tracing - Enable performance monitoring and distributed tracing. See skills/sentry-setup-tracing/SKILL.md

Commands

Command Description
/seer <query> Natural language Sentry environment queries

MCP Server

Sentry MCP server configured at https://mcp.sentry.dev/mcp. Two config files exist:

  • .mcp.json — Claude Code format
  • mcp.json — Cursor format

Key Conventions

  • All setup skills must detect platform/SDK before suggesting configuration — never assume
  • Sentry code review skill only processes comments from sentry[bot], ignores other bots
  • GitHub CLI (gh) required for PR-related skills
  • Avoid emojis in skill/command content — keep output platform-neutral