sonarqube
Skill by FlorianBruniaux
Analyzes SonarCloud quality issues for a specific pull request and produces a report with metrics, top files, top rules and an action plan. It is aimed at developers reviewing PRs in SonarCloud.
Install sonarqube
Built from the published package, never by AI.
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-ultimate-guide /tmp/claude-code-ultimate-guide && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-ultimate-guide/examples/skills/sonarqube ~/.claude/skills/sonarqubeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-ultimate-guide /tmp/claude-code-ultimate-guide && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-ultimate-guide/examples/skills/sonarqube ~/.gemini/antigravity-cli/skills/sonarqubeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The sonarqube skill analyzes SonarCloud quality issues for a specific pull request. It calls the SonarCloud API for open and confirmed issues that are new in the PR, then groups them by severity, type, file and rule.
The skill generates a formatted report with an executive summary, the top 10 files with issues, the top 5 violated rules and an action plan sorted by priority. It is analysis-only and does not change code. It needs a SONARQUBE_TOKEN environment variable and a SonarCloud organization and project key. Temporary files are removed after each run. It is intended for developers and teams who want to review SonarCloud findings on a PR.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch PR issuesCalls the SonarCloud API for open and confirmed issues new in a pull request.
- Group issuesGroups results by severity, type, file and rule.
- Generate reportProduces a structured report with totals, top files and top violated rules.
- Action planSorts issues into priority levels with suggested actions for each.
- CleanupRemoves the temporary files created during the analysis.
What you need
- SonarCloud account and API token
- SONARQUBE_TOKEN environment variable
- SonarCloud organization and project key
- Bash, curl and Node.js
Try asking
- Analyze SonarCloud issues for PR 170
- Summarize the SonarCloud findings on this pull request
- Create an action plan for the SonarCloud issues in PR 234
Good to know
- Analysis only, with no code changes or auto-fixes
- Requests return up to 500 issues; the skill warns when this limit is reached
- SonarCloud free tier allows 10,000 API requests per day
Security check
B- Makes downloaded files executableIn
examples/skills/sonarqube/SKILL.md:chmod +x /tmp/
Checked automatically: examples/skills/sonarqube/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sonarqube
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sonarqube: common questions
Does the sonarqube skill change my code?
No. The source describes it as analysis-only, with no code modifications or automatic fixes.
Which SonarCloud issues does it report?
It reports open and confirmed issues that are new in the PR, using the sinceLeakPeriod parameter. Resolved issues are excluded.
What happens if a PR has more than 500 issues?
The source says the page size is capped at 500, so the data may be incomplete. The skill warns about this and suggests filtering.
How do I install sonarqube?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sonarqube free?
The code is published under the CC-BY-SA-4.0 licence. The service it connects to may have its own pricing.
Is sonarqube safe to use?
It scores 79 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (makes downloaded files executable). Review the code before you install. How grades work.
What are alternatives to sonarqube?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
