sonarqube-reviewlisted
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