← All skills
Tencent SkillHub · Data Analysis

Sonarqube Analyzer

Analisa projetos SonarQube self-hosted, obtém issues filtradas, verifica Quality Gate e sugere soluções automatizadas com opção de auto-fix.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Analisa projetos SonarQube self-hosted, obtém issues filtradas, verifica Quality Gate e sugere soluções automatizadas com opção de auto-fix.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
CHANGELOG.md, CONTRIBUTING.md, README.md, SKILL.md, openclaw.plugin.json, package.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

SonarQube Analyzer Skill

Analisa projetos no SonarQube self-hosted, obtém issues e sugere soluções automatizadas.

sonar_get_issues

Obtém lista de issues de um projeto/PR no SonarQube. Parâmetros: projectKey (string, obrigatório): Chave do projeto pullRequest (string, opcional): Número da PR para análise específica severities (string[], opcional): Severidades a filtrar (BLOCKER, CRITICAL, MAJOR, MINOR, INFO) status (string, opcional): Status das issues (OPEN, CONFIRMED, FALSE_POSITIVE, etc.) limit (number, opcional): Limite de issues (padrão: 100) Exemplo: { "projectKey": "openclaw-panel", "pullRequest": "5", "severities": ["CRITICAL", "MAJOR"], "limit": 50 }

sonar_analyze_and_suggest

Analisa issues e sugere soluções com base nas regras do SonarQube. Parâmetros: projectKey (string, obrigatório): Chave do projeto pullRequest (string, opcional): Número da PR autoFix (boolean, opcional): Tentar aplicar correções automáticas (padrão: false) Exemplo: { "projectKey": "openclaw-panel", "pullRequest": "5", "autoFix": false }

sonar_quality_gate

Verifica o status do Quality Gate de um projeto. Parâmetros: projectKey (string, obrigatório): Chave do projeto pullRequest (string, opcional): Número da PR Exemplo: { "projectKey": "openclaw-panel", "pullRequest": "5" }

Configuração

O skill usa as seguintes configurações do ambiente: SONAR_HOST_URL=http://127.0.0.1:9000 # URL do SonarQube SONAR_TOKEN=admin # Token de autenticação

Analisar uma PR específica:

node scripts/analyze.js --project=my-project --pr=5

Gerar relatório de issues:

node scripts/report.js --project=my-project --format=markdown

Verificar Quality Gate:

node scripts/quality-gate.js --project=my-project --pr=5

sonar_get_issues

{ "total": 12, "issues": [ { "key": "...", "severity": "MAJOR", "component": "apps/web/src/ui/App.tsx", "line": 346, "message": "Extract this nested ternary...", "rule": "typescript:S3358", "status": "OPEN", "solution": "Extract nested ternary into a separate function..." } ], "summary": { "BLOCKER": 0, "CRITICAL": 0, "MAJOR": 2, "MINOR": 10, "INFO": 0 } }

sonar_analyze_and_suggest

{ "projectKey": "openclaw-panel", "analysis": { "totalIssues": 12, "fixableAutomatically": 8, "requiresManualFix": 4 }, "suggestions": [ { "file": "apps/web/src/ui/App.tsx", "line": 346, "issue": "Nested ternary operation", "suggestion": "Extract into independent component", "codeExample": "...", "autoFixable": false } ], "nextSteps": [ "Run lint:fix for auto-fixable issues", "Refactor nested ternaries in App.tsx", "Replace || with ?? operators" ] }

Soluções Automáticas Disponíveis

RegraProblemaSolução AutomáticaS6606Use || instead of ??✅ Substituir por ??S3358Nested ternary❌ Requer refatoração manualS6749Redundant fragment✅ Remover fragmentS6759Non-readonly props✅ Adicionar readonlyS3776Cognitive complexity❌ Requer extração de componentesS6571any in union type✅ Remover redundância

Requisitos

Node.js 18+ Acesso ao SonarQube (localhost:9000) Token de autenticação configurado

Integração com Workflows

  • Exemplo de uso em GitHub Actions:
  • name: Analyze with SonarQube Skill
  • run: |
  • npm install -g @felipeoff/sonarqube-analyzer
  • sonarqube-analyzer \
  • --project=my-project \
  • --pr=${{ github.event.pull_request.number }} \
  • --suggest-fixes
Category context

Data access, storage, extraction, analysis, reporting, and insight generation.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs2 Config
  • SKILL.md Primary doc
  • CHANGELOG.md Docs
  • CONTRIBUTING.md Docs
  • README.md Docs
  • openclaw.plugin.json Config
  • package.json Config