sonarcloud-tools

Execute SonarCloud API queries to monitor code quality and security metrics.

2|Updated Aug 25, 2025
One-click install
npx skills add https://github.com/bsamiee/Parametric_Forge --skill sonarcloud-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonarcloud-tools
Source: https://github.com/bsamiee/Parametric_Forge/tree/main/.claude/skills/sonarcloud-tools
Command: npx skills add https://github.com/bsamiee/Parametric_Forge --skill sonarcloud-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) components.

What problem does it solve?

Executes SonarCloud API queries via unified Python CLI. Use when checking quality gates, searching issues, and viewing analyses.

Core Features & Use Cases

  • Zero-arg commands for quick checks (issues, hotspots, quality-gate, measures, analyses, projects).
  • Filterable queries by severity, type, and status.
  • Structured outputs suitable for dashboards and automation.

Quick Start

Run a quick quality gate: sonarcloud-tools quality-gate

Frequently Asked Questions about sonarcloud-tools

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

FAQPage Schema
How do I check if my code meets quality gates in SonarCloud?

Quality gate checks via SonarCloud API monitor whether your code meets defined standards. Run `sonarcloud-tools quality-gate` with zero arguments to execute the check against your configured project and organization using your SONAR_TOKEN environment variable.

Can I integrate SonarCloud quality checks into my CI pipeline?

Yes, SonarCloud API queries work across CI pipelines and local development. Execute zero-argument CLI commands to check quality gates, retrieve metrics, and list issues—all suitable for automation and dashboard integration with structured outputs.

What code quality metrics can I retrieve from SonarCloud?

SonarCloud metrics include coverage, complexity, and custom measures. The API supports metric selection and filtering by severity, type, and status to retrieve exactly what your analysis needs.

How do I search and filter SonarCloud issues programmatically?

Execute SonarCloud API queries to list and filter issues by severity, type, and status. Results return in structured format suitable for automation, reporting, and dashboard population without manual UI navigation.

Do I need to configure project and organization details each time?

No. Commands accept zero arguments with defaults for project and organization. Authentication requires only the SONAR_TOKEN environment variable, enabling quick checks without repetitive configuration.

Can I view SonarCloud analysis history and trends?

Yes. The `analyses` command retrieves analysis history via SonarCloud API. Pagination support allows you to review past results for trend tracking and historical quality monitoring.