← ClaudeAtlas

sonarqube-reviewlisted

Use when fixing SonarQube code quality issues automatically across any language or framework — issue analysis, fix generation, unit tests, and coverage. Supports Community, Enterprise, and custom SonarQube deployments via environment variables. Do NOT use for general code review without SonarQube (use code-review-and-quality), for whole-repo quality interventions without SonarQube (use quality-test-implementation), or for non-SonarQube static analysis tools. Part of the afonsoft/skills collection.
afonsoft/skills · ★ 2 · AI & Automation · score 78
Install: claude install-skill afonsoft/skills
# SonarQube Review Skill ## Purpose Automatically fix issues reported by SonarQube, **regardless of language or framework**, following a structured process with: - Issue analysis - Fix checklist - Unit tests and coverage (stack-agnostic) - Review documentation - .gitignore update ## ⚙️ Environment Variable Configuration The skill supports multiple SonarQube editions through environment variables. Detection is automatic based on the availability of the variables (in priority order): > **⚠️ IMPORTANT:** For security, NEVER read, print, or inspect the value of environment variables that contain tokens. The most you may know is which variable the token is stored in. Use the variables directly in commands without accessing their contents. ### Available Variables #### For Custom URL (Highest Priority) - `SONARQUBE_CUSTOM_URL`: Base URL of the custom SonarQube - `SONARQUBE_CUSTOM_TOKEN`: Authentication token for the custom SonarQube - `SONARQUBE_CUSTOM_EDITION`: Edition of the custom SonarQube (`open` or `enterprise`, default: `open`) #### For SonarQube Enterprise - `SONARQUBE_ENTERPRISE_TOKEN`: Authentication token for SonarQube Enterprise - `SONARQUBE_ENTERPRISE_URL`: Base URL of SonarQube Enterprise (required, no fallback) #### For SonarQube Open (Default) - `SONARQUBE_OPEN_TOKEN`: Authentication token for SonarQube Open (preferred) - `SONAR_TK`: Authentication token for SonarQube Open (fallback for compatibility, used only if SONARQUBE_OPEN_TOKEN is not set) - `SONARQUB