sentry-java: Skill for Claude Code

.claude/skills/create-java-pr/SKILL.md

create-java-pr is a skill for Claude Code from getsentry/sentry-java. It costs 73 tokens per session (2,289 once invoked), scanned A, original, MIT.

A workflow for preparing and opening pull requests in the sentry-java repository. A pull request is a proposed set of code changes submitted for review before merging.

In plain words
What is it for?
Use it when finalizing changes, creating a standalone or stacked pull request, preparing code for review, or publishing a branch.
Why use it?
It gathers the repository-specific release steps—formatting, API checks, commits, pushing, changelog updates, and stacked-branch handling—into one process.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is getsentry/sentry-java's own configuration. It tells Claude Code how to work on sentry-java itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sentry-java configures →

About the project

getsentry/sentry-java is a Java and Android software development kit for sending application errors, events, and diagnostic information to Sentry. It is used by developers working with Java, Android, Kotlin, and other JVM-based applications to monitor software behavior. The catalogue rules, skills, instructions, and setting support workflows around this SDK.

getsentry/sentry-java · 1,357 stars · on GitHub · docs.sentry.io

Reuse

Borrowing it

Nothing to install: this file belongs to getsentry/sentry-java. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/getsentry/sentry-java/main/.claude/skills/create-java-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/getsentry/sentry-java

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-java-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/getsentry/sentry-java/create-java-pr/github.svg)](https://agentmods.dev/skills/getsentry/sentry-java/create-java-pr)
Your own site
<a href="https://agentmods.dev/skills/getsentry/sentry-java/create-java-pr"><img src="https://agentmods.dev/badge/skills/getsentry/sentry-java/create-java-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-java-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/getsentry/sentry-java/create-java-pr"><img src="https://agentmods.dev/badge/skills/getsentry/sentry-java/create-java-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,289 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02289
Opus 5.5 $0.00029 $0.00916
Sonnet 5.5 $0.00015 $0.00458
Haiku 4.5 $0.00007 $0.00229

Measured 1mo ago against content hash 90bd9ad42639, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-java-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/create-java-pr/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Pull Request (sentry-java)

Prepare local changes and create a pull request for the sentry-java repo.

For stacked PRs: read references/stacked-prs.md before proceeding. It is the source of truth for stack structure, title naming, stack list format, and merge strategy.

Step 0: Determine PR Type From Git Branch Context

Infer PR type from the current branch before asking the user.

  1. Get current branch:
git branch --show-current
  1. Apply these rules:
  • If branch is main or master: default to a standalone PR.
    • Do not assume stack mode from main.
    • Only use stack mode if the user explicitly asks for a stacked PR.
  • If branch is not main/master:
    • Check whether that branch already has a PR and what its base is:
      gh pr list --head "$(git branch --show-current)" --json number,baseRefName,title --jq '.[0]'
      
    • If that branch PR exists and baseRefName is not main/master, treat the work as a stacked PR context.
    • If that branch PR exists and baseRefName is main/master, also check whether other PRs target the current branch:
      gh pr list --base "$(git branch --show-current)" --json number,headRefName,title
      
      • If there are downstream PRs, treat this as next PR in an existing stack with the current branch as the stack base (collection branch).
      • If there are no downstream PRs, treat it as standalone PR context.
    • If no PR exists for the current branch, check whether other PRs target it:
      gh pr list --base "$(git branch --show-current)" --json number,headRefName,title
      
      • If there are downstream PRs, treat this as next PR in an existing stack with the current branch as the stack base (collection branch).
      • If there are no downstream PRs either, treat it as standalone PR context (fresh feature branch).
  1. If signals are mixed or ambiguous, ask one focused question to confirm.

PR types:

  • Standalone PR — regular PR targeting main.
  • First PR of a new stack — create collection branch from main, then first PR off it.
  • Next PR in an existing stack — target the current stack base branch (usually the previous stack PR branch, or the collection branch if creating the first follow-up PR from the collection branch).

Read the full file on GitHub · 218 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 218 lines · 73 tokens per session scan A 90bd9ad42639

Subscribe to this mod's changes

create-java-pr is a skill published in the GitHub repository getsentry/sentry-java (1,357 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 2,289 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

engineer-bot-getting-started

An onboarding guide for an engineering delivery assistant. It helps define a repository, the allowed level of access, and the work needed before reviewing a code change.

makecindy/cindy · 44 tokens

engineer-bot-ops

A workflow for carrying an engineering task from scope through implementation and reviewable delivery. It works with a repository's branch, existing changes, rules, checks, and permissions while separating completed, unverified, and next-step work.

makecindy/cindy · 57 tokens

deliver-spec

Use when explicitly asked to deliver an approved GitHub or local spec through a reviewed pull request, or when a Project controller delegates one claimed implementation ticket.

chrisbanes/skills · 33 tokens

plugin-code-review-orchestrated

Orchestrates a code review of the spring-plugin repository through scope/context passes, routing, domain reviewer subskills, and per-artifact validation. Use when asked to review a PR, diff, commit, branch, module, or file set, to run a full orchestrated review, or to produce a validated review report.

explyt/spring-plugin · 72 tokens

review-scope-resolver

Normalizes a PR, diff, commit, branch, file list, directory, module, class, or function into an exact review target with semantic clusters and routing signals for domain reviewer subskills. Use as the first pass of an orchestrated code review, when asked to resolve review scope, or when a raw review reference must be…

explyt/spring-plugin · 83 tokens

git-commit

Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit changes", or after completing code changes that need to be committed.

decebals/claude-code-java · 38 tokens