Claude-skill-registry fix-sonarqube
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/fix-sonarqube" ~/.claude/skills/majiayu000-claude-skill-registry-fix-sonarqube && rm -rf "$T"
manifest:
skills/data/fix-sonarqube/SKILL.mdsource content
Fix SonarQube
SonarQube integration via MCP (Model Context Protocol) for Java code quality analysis.
When to use this skill
- Finding and fixing SonarQube issues
- Checking quality gate status
- Analyzing code for quality issues
- Understanding SonarQube rules
- Prioritizing issue remediation
- When asked to "fix sonarqube issues" or "add sonarqube mcp"
Skill Contents
Sections
- When to use this skill (L23-L31)
- Quick Start (L55-L67)
- MCP Tools Available (L68-L78)
- Common Workflows (L79-L102)
- Supported IDEs (L103-L116)
- References (L117-L123)
- Related Rules (L124-L129)
- Related Skills (L130-L135)
Available Resources
📚 references/ - Detailed documentation
Quick Start
The SonarQube MCP server runs remotely at
https://sonarqube-mcp.bitso.io/mcp and is automatically configured in all supported IDEs.
No setup required - just use natural language:
"Find HIGH severity issues in my-project" "Show me details about rule java:S1128" "What's the quality gate status for my-service?" "Analyze this code for SonarQube issues"
MCP Tools Available
| Tool | Purpose |
|---|---|
| List all SonarQube projects |
| Get issues for a project |
| Get details for a specific issue |
| Get rule documentation |
| Check quality gate status |
| Analyze code snippet |
Common Workflows
1. Fix Issues by Severity
"Find all BLOCKER issues in payment-service" "Get details for issue AYx123..." "Show me the rule java:S2259"
2. Check Quality Gate
"What's the quality gate status for my-service?" "List all projects I have access to"
3. Understand Rules
"Explain rule java:S1128 (unused imports)" "What are the CRITICAL rules for Java?"
Supported IDEs
The MCP is automatically available in:
| IDE | Configuration |
|---|---|
| Cursor | |
| VS Code + Copilot | |
| Claude Code | |
| IntelliJ IDEA | See manual setup |
| Copilot CLI | See manual setup |
For IntelliJ and Copilot CLI, see:
java/commands/add-sonarqube-mcp-to-intellij-and-copilot-cli.md
References
| Reference | Description |
|---|---|
| references/mcp-tools.md | Full MCP tool reference |
| references/common-rules.md | Common Java rules |
Related Rules
- java-sonarqube-setup - Setup guide
- java-sonarqube-mcp - MCP tool reference
- fix-sonarqube-issues - Fix command
Related Skills
| Skill | Purpose |
|---|---|
| java-coverage | JaCoCo coverage for SonarQube |
| gradle-standards | SonarQube Gradle plugin |