111 Java Maven Dependencies
jabrena/plinth
A skill your agent uses when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone +…
Sets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change.
$ npx skills add SonarSource/sonar-java --skill new-rule -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SonarSource/sonar-java new-rule --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-rule .claude/skills/new-rule && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .claude/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-ruleType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SonarSource/sonar-java --skill new-rule -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SonarSource/sonar-java new-rule --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/new-rule .agents/skills/new-rule && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .agents/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SonarSource/sonar-java --skill new-rule -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SonarSource/sonar-java new-rule --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/new-rule .cursor/skills/new-rule && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .cursor/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SonarSource/sonar-java.git --path .claude/skills/new-rule--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SonarSource/sonar-java --skill new-rule -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SonarSource/sonar-java new-rule --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/new-rule .gemini/skills/new-rule && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .gemini/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SonarSource/sonar-java new-ruleInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SonarSource/sonar-java --skill new-rule -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/new-rule .github/skills/new-rule && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .github/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SonarSource/sonar-java --skill new-rule -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SonarSource/sonar-java new-rule --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonar-java.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/new-rule .opencode/skills/new-rule && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "new-rule" agent skill from https://github.com/SonarSource/sonar-java/tree/master/.claude/skills/new-rule into .opencode/skills/new-rule/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "new-rule", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
new-ruleSets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change.
The skill lists sonar-java-specific do's and don'ts for writing a new rule. Metadata comes from the rule-api tool run against an up-to-date RSPEC repository checkout and the rule branch, which generates HTML and JSON files under the sonar-java-plugin resources and updates the Sonar way profile. The rule class lives in java-checks with a matching test class, and ruling test expectation files under its/ruling are updated by merging an automatically generated PR when CI checks fail.
MethodMatchers are the tool for matching method calls by type, name and signature. Tests must not add external library dependencies; mock-ups or non-compiling test samples take their place, as the Spring examples show. The don'ts are firm: no log files or temporary files in version control, no pom.xml edits unless the rule needs them, and no architectural changes, since new rules should follow similar existing ones.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d34c9c3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
javaFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
New Rule for sonar-java loads about 833 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 282 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 282 words (~833 tokens).
“This skill provides sonar-java-specific guidelines for implementing new rules.”
Just SKILL.md in .claude/skills/new-rule of SonarSource/sonar-java.
Open the folder on GitHubat commit d34c9c3
New Rule for sonar-java next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| New Rule for sonar-java this skillSonarSource/sonar-java | 1.2k | — | ~833 | Automated safety check: Pass | Custom licence | |
| 111 Java Maven Dependenciesjabrena/plinth | 445 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Code Review Skillawesome-skills/code-review-skill | 2.1k | — | ~2.8k | Automated safety check: Notes | MIT | |
| Cross-Language Coding Standardszereight/gitlab-mcp | 2k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Code Qualitypiomin/claude-ai-spring-boot | 1.3k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Skylosduriantaco/skylos | 843 | — | ~581 | Automated safety check: Pass | Apache-2.0 |
jabrena/plinth
A skill your agent uses when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone +…
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
zereight/gitlab-mcp
Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.
piomin/claude-ai-spring-boot
Comprehensive code review for Java - clean code principles, API contracts, null safety, exception handling, and performance.
duriantaco/skylos
Run, interpret, or modify Skylos safely. An agent skill from duriantaco/skylos.
wordpress-mobile/WordPress-Android
Runs detekt, checkstyle, and Android lint together, reads their reports, and proposes approved fixes grouped by file.
Works with
Categories
Sets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change. The skill lists sonar-java-specific do's and don'ts for writing a new rule. Metadata comes from the rule-api tool run against an up-to-date RSPEC repository checkout and the rule branch, which generates HTML and JSON files under the sonar-java-plugin resources and updates the Sonar way profile.
New Rule for sonar-java fits situations like: implementing a new Java static-analysis rule in sonar-java; generating rule metadata with rule-api from an RSPEC branch; writing test samples for a rule that involves external libraries; matching method calls in a check with MethodMatchers.
Run `npx skills add SonarSource/sonar-java --skill new-rule -a claude-code`. Or copy the skill folder (.claude/skills/new-rule in SonarSource/sonar-java) into .claude/skills/new-rule in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SonarSource/sonar-java --skill new-rule -a codex`. Or copy the skill folder (.claude/skills/new-rule in SonarSource/sonar-java) into .agents/skills/new-rule in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SonarSource/sonar-java --skill new-rule -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-rule, .gemini/skills/new-rule, .github/skills/new-rule and .opencode/skills/new-rule in your project.
Going by SKILL.md and its folder, New Rule for sonar-java needs the command-line tools its instructions call (java). Our summary lists: A local RSPEC repository checkout; The rule-api jar; Java and Maven.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
New Rule for sonar-java has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 833 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with New Rule for sonar-java: 111 Java Maven Dependencies (jabrena/plinth, 445 stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars) and Code Quality (piomin/claude-ai-spring-boot, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SonarSource (a GitHub organization, an official publisher) maintains it in SonarSource/sonar-java, which has 1,220 GitHub stars. The repository was last updated on October 7, 2026.
Source: SonarSource/sonar-java on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.