sonar-status

Retrieve SonarQube quality gate status and key project metrics.

3|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/denniscalazans/denniscalazans-plugins --skill sonar-status
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonar-status
Source: https://github.com/denniscalazans/denniscalazans-plugins/tree/main/plugins/code-quality/skills/sonar-status
Command: npx skills add https://github.com/denniscalazans/denniscalazans-plugins --skill sonar-status

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a quick and easy way to check the health of your code quality, including the status of quality gates and key dashboard metrics, without needing to navigate the SonarQube web interface.

Core Features & Use Cases

  • Quality Gate Status: Instantly know if your project or a specific pull request has passed or failed its quality gate.
  • Key Metrics: View essential metrics like coverage, bugs, vulnerabilities, code smells, and lines of code.
  • Use Case: After a code commit, you can ask "how's code quality?" and get an immediate, summarized report of the quality gate status and key metrics for the main branch.

Quick Start

Check the quality gate status and dashboard metrics for the main branch of the 'your-project' project.

Frequently Asked Questions about sonar-status

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check SonarQube quality gate status without using the web interface?

You can check SonarQube quality gate status by retrieving project data and component measures via the SonarQube API, which provides an immediate summarized report of pass or fail results for your specified project or pull request.

Can I get code quality metrics for a specific pull request branch?

Yes, you can retrieve code quality metrics for a specific pull request branch by specifying the branch parameter in the SonarQube API request to fetch component measures like coverage, bugs, and vulnerabilities.

What SonarQube dashboard metrics can I retrieve for code analysis?

SonarQube code analysis allows you to retrieve essential dashboard metrics including coverage, bugs, vulnerabilities, code smells, and lines of code for a specified project or branch.

Does checking SonarQube code quality health require any specific environment setup?

Checking SonarQube code quality health requires SonarQube API integration to fetch project data and component measures, enabling you to access quality gate status and key metrics programmatically.

Why use an API to check quality gate status instead of the SonarQube dashboard?

Using the API to check quality gate status provides a quick, summarized report of project health and PR pass or fail results directly in your workflow, eliminating the need to manually navigate the SonarQube web interface.