RSyntaxTextArea: Command for Claude Code

.claude/commands/pr.md

pr is a command for Claude Code from bobbylight/RSyntaxTextArea. It costs 0 tokens per session (749 once invoked), scanned A, original, BSD-3-Clause.

A workflow for opening or updating a pull request, a request to merge code into a shared branch.

In plain words
What is it for?
It is for preparing a feature branch, running the Gradle build, fixing reported failures, and submitting the resulting changes for review.
Why use it?
It removes the repeated work of creating a branch, checking the build, reviewing changes, committing, pushing, and opening the request.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is bobbylight/RSyntaxTextArea's own configuration. It tells Claude Code how to work on RSyntaxTextArea 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 RSyntaxTextArea configures →

About the project

RSyntaxTextArea is a customizable code-editing text component for Java Swing applications, with features such as syntax highlighting and code folding. Java developers use it to add source-code editing to desktop applications, with support for search and replace plus optional code-completion and spell-checking add-ons. The catalogue command relates to configuring or using this editor.

bobbylight/RSyntaxTextArea · 1,261 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to bobbylight/RSyntaxTextArea. 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/bobbylight/RSyntaxTextArea/master/.claude/commands/pr.md
Clone the repo
git clone --depth 1 https://github.com/bobbylight/RSyntaxTextArea

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 pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/bobbylight/rsyntaxtextarea/pr/github.svg)](https://agentmods.dev/commands/bobbylight/rsyntaxtextarea/pr)
Your own site
<a href="https://agentmods.dev/commands/bobbylight/rsyntaxtextarea/pr"><img src="https://agentmods.dev/badge/commands/bobbylight/rsyntaxtextarea/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 pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/bobbylight/rsyntaxtextarea/pr"><img src="https://agentmods.dev/badge/commands/bobbylight/rsyntaxtextarea/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 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.
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.00000 $0.00749
Opus 5.5 $0.00000 $0.00300
Sonnet 5.5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • pr — 95% identical, 4 lines differ
.claude/commands/pr.md · 51 lines

How it starts

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

Create a Pull Request

Create a branch (if needed), commit staged/unstaged changes, push, and open/update a PR.

Steps

  1. Check branch status: Run git status and git branch --show-current

    • If on master or main, create a new branch:
      • Analyze the changes to determine a descriptive branch name
      • Use lower-kebab-case (e.g., add-user-authentication, fix-login-bug)
      • Run git checkout -b <branch-name>
    • If already on a feature branch, continue on that branch
  2. Ensure JDK 25 is on the path. This library requires JDK 25 or later to build. Ensure that java --version shows 25 or later. If not, search for Java 25 in common locaitons for the operating system. If you can't find it, exit early.

  3. Build locally by running ./gradlew clean build. If there are any checkstyle or spotbugs failure, or javac errors, fix them and rerun this check to verify your changes. Don't worry about javac warnings currently - there are 3 that we need to address later, but for now can be ignored.

  4. Review changes: Run git status and git diff to understand what will be committed

  5. Stage and commit:

    • Stage relevant files (prefer specific files over git add -A)
    • Determine the commit strategy:
      • If the feature branch has no prior commits: create a new commit
      • If the feature branch has a prior commit and a draft PR exists (gh pr view --json isDraft): amend the existing commit (git commit --amend)
      • If the feature branch has a prior commit and no PR exists, or the PR is not in draft: create a new commit
    • Write a commit message (or update the existing one if needed) using the conventional commit style
      • Don't read the conventional commit site/URL if you already know the style
      • Use "!" after the type to indicate a breaking change
      • Use "build(deps)" for dependency bumps
    • Include Co-Authored-By: Claude <[email protected]> in the commit message

Read the full file on GitHub · 51 lines

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 · 51 lines · 0 tokens per session scan A 95bdbd2dbb85

Subscribe to this mod's changes

pr is a command published in the GitHub repository bobbylight/RSyntaxTextArea (1,261 stars, last pushed 11d ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 749 tokens. 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-10-02.

Related

pr compared with commands from other repositories

pr next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prbobbylight/RSyntaxTextAreaCommand1.3k11d agoBSD-3-ClauseA0Claude Code
standupvvedantb/evaCommand101yesterdayMITA0Claude Code
gitazrtydxb/procoderCommand21111d agoApache-2.0A20Claude Code
session-reportdamusix/atomic-claudeCommand1154d agoMITA31Claude Code
commitechoVic/blade-codeCommand18124d agoMITA8Claude Code
git-workflowHermeticOrmus/LibreUIUX-Claude-CodeCommand1151mo agoMITA14Claude Code
commitjoaquimscosta/arkhe-claude-pluginsCommand2222d agoMITA11Claude Code