BeClaude

sentry-skills

New
569Community RegistryGeneralby Sentry

Sentry-specific agent skills for code review, commits, and more

Community PluginView Source

Overview

[!NOTE]

For skills to help set up Sentry in your project or debug production issues, see https://github.com/getsentry/sentry-for-ai

Agent skills for Sentry employees, following the Agent Skills open format.

Installation

Claude Code

bash
claude plugin marketplace add getsentry/skills
claude plugin install sentry-skills@sentry-skills

If you use claude plugin marketplace add --sparse for this repo, include skills and agents alongside .claude-plugin because the root plugin manifest loads repo-root skills/ and agents/.

Restart Claude Code after installation. Skills activate automatically when relevant.

Update:

bash
claude plugin marketplace update
claude plugin update sentry-skills@sentry-skills

Or run /plugin to open the plugin manager.

Skills Package (skills.sh)

For agents supporting the skills.sh ecosystem:

bash
npx skills add getsentry/skills

Works with Claude Code, Cursor, Cline, GitHub Copilot, and other compatible agents.

Available Skills

SkillDescription
agents-mdCreate and maintain concise, reference-backed AGENTS.md and CLAUDE.md files.
blog-writing-guideWrite, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar.
brand-guidelinesWrite copy following Sentry brand guidelines.
claude-settings-auditAnalyze a repository to generate recommended Claude Code settings.json permissions.
code-reviewPerform code reviews following Sentry engineering practices.
code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
commitALWAYS use this skill when committing code changes — never commit directly without it.
create-branchCreate git branches following Sentry naming conventions.
django-access-reviewDjango access control and IDOR security review.
django-perf-reviewDjango performance code review.
doc-coauthoringGuide users through a structured workflow for co-authoring documentation.
document-api-endpointDocument and type a Sentry API endpoint with drf-spectacular OpenAPI schema — write/fix @extend_schema, specify response TypedDicts, type parameters, fix type drift, and promote to PUBLIC.
find-bugsFind bugs, security vulnerabilities, and code quality issues in local branch changes.
gh-review-requestsFetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member.
gha-security-reviewGitHub Actions security review for workflow exploitation vulnerabilities.
iterate-prIterate on a PR until CI passes and actionable review feedback is addressed.
presentation-creatorCreate data-driven presentation slides using React, Vite, and Recharts with Sentry branding.
pr-link-issueAppend a GitHub issue link and its Linear ticket to the current PR's description.
pr-writerCreate, refresh, and rewrite pull request titles and descriptions following Sentry conventions.
prompt-optimizerOptimize prompts with evals, model-family adapters, and exact external context references.
replay-ux-researchAnalyze Sentry session replays to surface UX patterns, pain points, and user journeys for a given product area.
security-reviewSecurity code review for vulnerabilities.
skill-scannerScan agent skills for security issues.
skill-writerCanonical workflow to synthesize, create, and iteratively improve agent skills for this repository.
sred-project-organizerTake a list of projects and their related documentation, and organize them into the SRED format for submission.
sred-work-summaryGo back through the previous year of work and create a Notion doc that groups relevant links into projects that can then be documented as SRED projects.
triage-frontend-issuesTriage the Sentry javascript project queue by archiving non-actionable noise (third-party libs, browser quirks, transient 5xx, test traffic) with untilEscalating after user approval.
typing-exclusion-workerPython typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary.

Available Subagents

SubagentDescription
code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality
senpaiSenior engineer and technical mentor for new Sentry hires. Explains infrastructure, architecture, and engineering concepts step-by-step with references

Contributing

Local Development

bash
git clone [email protected]:getsentry/skills.git ~/sentry-skills
claude plugin marketplace add ~/sentry-skills
claude plugin install sentry-skills

If you use claude plugin marketplace add --sparse for this repo, include skills and agents alongside .claude-plugin because the root plugin manifest loads repo-root skills/ and agents/.

Repository Structure

code
sentry-skills/
├── .claude-plugin/
│   ├── marketplace.json      # Marketplace manifest
│   └── plugin.json           # Root plugin manifest for sentry-skills
├── .agents/
│   └── skills -> ../skills   # Local mirror for agent tooling
├── agents/
│   ├── code-simplifier.md
│   └── senpai.md
├── skills/
│   ├── code-review/
│   │   └── SKILL.md
│   └── commit/
│       └── SKILL.md
├── AGENTS.md                 # Agent-facing documentation
├── CLAUDE.md                 # Symlink to AGENTS.md
└── README.md                 # This file

The canonical skill source for the sentry-skills plugin lives at repo-root skills/. .agents/skills mirrors that tree for local agent tooling, and the root plugin manifest loads repo-root skills/ and agents/.

New skills and materially changed skills should include a root-level SPEC.md alongside SKILL.md.

Creating New Skills

Skills follow the Agent Skills specification. Each skill requires a SKILL.md file with YAML frontmatter.

For repeatable skill-writer evaluation prompts, see skills/skill-writer/EVAL.md.

Create a new directory under skills/:

code
skills/my-skill/
├── SKILL.md
└── SPEC.md

SKILL.md format:

yaml
---
name: my-skill
description: A clear description of what this skill does and when to use it. Include keywords that help agents identify when this skill is relevant.
---

# My Skill Name

## Instructions

Step-by-step guidance for the agent.

## Examples

Concrete examples showing expected input/output.

## Guidelines

- Specific rules to follow
- Edge cases to handle

SPEC.md format:

Use SPEC.md as the maintenance contract for the skill. It should describe intent, scope, trigger context, source/evidence model, reference architecture, evaluation expectations, known limitations, and maintenance notes. Keep runtime instructions in SKILL.md; keep source inventories in SOURCES.md; keep durable examples in references/evidence/.

  • name: 1-64 characters, lowercase alphanumeric with hyphens only
  • description: Up to 1024 characters, include trigger keywords
  • Keep SKILL.md under 500 lines; split longer content into reference files
FieldDescription
licenseLicense name or path to license file
compatibilityEnvironment requirements (max 500 chars)
allowed-toolsComma-separated list of tools the skill can use
metadataArbitrary key-value pairs for additional properties
yaml
---
name: my-skill
description: What this skill does
license: Apache-2.0
allowed-tools: Read, Grep, Glob
---

Where Skills Belong

Skills should live in the appropriate location based on their scope:

ScopeLocationExample
Global - Used across Sentrysentry-skills plugincommit, code-review, pr-writer
Domain-specific - Used by a team or domainDedicated plugin in this repo (e.g., infra-skills)gcp-logs, terraform-review
Repo-specific - Only relevant to one repoThe repository itself (.claude/skills/)Project-specific workflows

When deciding where to place a skill:

  • If most Sentry engineers would benefit, add it to sentry-skills
  • If only a specific team needs it, create or use a domain-specific plugin
  • If it only makes sense in one repo, keep it in that repo

This repository is a Claude Code marketplace - a collection of plugins that can be installed independently. The marketplace manifest (.claude-plugin/marketplace.json) lists all available plugins:

json
{
  "plugins": [
    {
      "name": "sentry-skills",
      "source": "./"
    },
    { "name": "infra-skills", "source": "./plugins/infra-skills" }
  ]
}

Marketplace entries point at a plugin source directory. That source can be a dedicated plugin directory with its own .claude-plugin/plugin.json, or repo root when the root also carries a plugin manifest. The sentry-skills entry in this repo uses repo root as its plugin source so it can keep canonical skills/ and agents/ at top level.

Users can install individual plugins:

bash
# Install just the global skills
claude plugin install sentry-skills@sentry-skills

# Install domain-specific skills
claude plugin install infra-skills@sentry-skills

To add a new domain-specific plugin:

  1. Create plugins/<plugin-name>/.claude-plugin/plugin.json
  2. Add skills under plugins/<plugin-name>/skills/
  3. Register the plugin in .claude-plugin/marketplace.json

Vendoring Skills

We vendor (copy) skills and agents that we use regularly into this repository rather than depending on external sources at runtime. This approach:

  • Ensures consistency - Everyone on the team uses the same version of each skill
  • Enables customization - We can adapt skills to Sentry-specific conventions
  • Improves reliability - No external dependencies that could change or disappear

When vendoring a skill or agent from an external source, retain proper attribution:

  1. Add a comment at the top of the file referencing the original source:

``markdown <!-- Based on [Original Name] by [Author/Org]: https://github.com/example/original-source --> ``

  1. Include a LICENSE file in the skill directory if the original has specific licensing requirements:

`` skills/vendored-skill/ ├── SKILL.md └── LICENSE # Original license text ``

The code-simplifier agent is vendored from Anthropic's official plugins. See the attribution comment at the top of the agent file.

References

License

Apache-2.0

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/sentry-skills.md https://raw.githubusercontent.com/getsentry/skills/main/SKILL.md
3
Invoke in Claude Code
/sentry-skills
View source on GitHub
code-reviewagent

Frequently Asked Questions

What is sentry-skills?

Sentry-specific agent skills for code review, commits, and more

How to install sentry-skills?

To install sentry-skills, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /sentry-skills.

What is sentry-skills best for?

sentry-skills is a community categorized under General. It is designed for: code-review, agent. Created by Sentry.