sonarqube
Skill by claude-dev-suite
Guides setup of SonarQube and SonarCloud for continuous code quality checks, including quality gates and CI/CD integration. Built for developers and teams who track code quality, coverage and technical debt.
Install sonarqube
Built from the published package, never by AI.
git clone --depth 1 https://github.com/claude-dev-suite/claude-dev-suite /tmp/claude-dev-suite && mkdir -p ~/.claude/skills && cp -r /tmp/claude-dev-suite/skills/quality/sonarqube ~/.claude/skills/sonarqubeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/claude-dev-suite/claude-dev-suite /tmp/claude-dev-suite && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-dev-suite/skills/quality/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
This skill gives an AI assistant guidance on SonarQube and SonarCloud, platforms for continuous code quality checks. It covers setting up a project with sonar-project.properties, running SonarCloud from GitHub Actions, and running a self-hosted SonarQube server with Docker Compose.
It also explains default and custom quality gate conditions, such as coverage on new code of at least 80 percent, and lists API calls for project status, issues and metrics. The skill points users to other skills for linting, security scanning and test execution. It is aimed at developers and teams who want to track code quality, coverage and technical debt.
Written from the project's SKILL.md and checked against it.
What it can do
- SonarCloud setupExplains connecting a repository and creating a sonar-project.properties file.
- Self-hosted SonarQubeProvides a Docker Compose example for running SonarQube locally.
- Quality gatesLists default gate conditions and shows how to create a custom gate through the API.
- GitHub Actions integrationShows a workflow that runs the SonarCloud scan on push and pull requests.
- Maven integrationShows the sonar-maven-plugin setup and a mvn sonar:sonar command for Java projects.
- File exclusionsCovers exclusions for analysis, coverage and copy-paste detection.
- API examplesGives curl commands for project status, issues and metrics.
- TroubleshootingLists common problems such as failed gates, missing tokens and wrong coverage report paths.
What you need
- SonarCloud or SonarQube account
- SONAR_TOKEN for authentication
- Docker for self-hosted SonarQube
- Maven for Java projects
- GitHub Actions for CI integration
Try asking
- Create a sonar-project.properties file for my TypeScript project
- Write a GitHub Actions workflow that runs a SonarCloud scan
- Show me how to create a stricter SonarCloud quality gate
Good to know
- Allowed tools are Read, Grep and Glob only
- Does not cover linting, security scanning or test execution
- PR decoration needs the SonarCloud GitHub App
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/quality/sonarqube/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlob
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
What is the default quality gate in this skill?
It lists coverage on new code of at least 80 percent, duplicated lines of at most 3 percent, A ratings for maintainability, reliability and security, and 100 percent of security hotspots reviewed.
Which languages does the skill cover for rules?
The rules table lists JavaScript and TypeScript, Java, Python, C# and Go, with links to each rules repository.
Does the skill run SonarQube scans itself?
The skill is guidance. Its allowed tools are Read, Grep and Glob, and it shows commands and workflows for users to run.
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 MIT licence. The service it connects to may have its own pricing.
Is sonarqube safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. 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.
