ClaudeSuperPower

sonar-analyze

Skill

Analyze a file or code snippet for quality and security issues using SonarQube

Install

git clone https://github.com/SonarSource/sonarqube-agent-plugins.git ~/.claude/skills/sonar-analyze

What is sonar-analyze?

Analyze a file or code snippet for quality and security issues using SonarQube

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

~20 tokens of context used while enabled, before you invoke anything

All declared tools (3)
BashGlobRead

Documentation

README · ~5 min read

SonarQube — Code Analysis

Analyze code for quality and security issues using the SonarQube MCP Server.

Usage

sonar-analyze                        # analyze the file currently in context
sonar-analyze src/auth/login.py      # analyze a specific file

Prerequisites

This skill requires the SonarQube MCP Server to be configured and at least one of the tools mcp__sonarqube__run_advanced_code_analysis, mcp__sonarqube__analyze_code_snippet, or mcp__sonarqube__analyze_file_list to be available in your session.

Before proceeding, verify at least one of these tools is accessible. If none are, try the CLI fallback in Step 3 before giving up — don't invent other CLI commands (e.g. sonar mcp call does not exist).

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.

Skillssimilar to this one

All skills