{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sonarqube-analyzer",
    "name": "Sonarqube Analyzer",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/FelipeOFF/sonarqube-analyzer",
    "canonicalUrl": "https://clawhub.ai/FelipeOFF/sonarqube-analyzer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sonarqube-analyzer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sonarqube-analyzer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG.md",
      "CONTRIBUTING.md",
      "README.md",
      "SKILL.md",
      "openclaw.plugin.json",
      "package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sonarqube-analyzer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sonarqube-analyzer",
    "agentPageUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "SonarQube Analyzer Skill",
        "body": "Analisa projetos no SonarQube self-hosted, obtém issues e sugere soluções automatizadas."
      },
      {
        "title": "sonar_get_issues",
        "body": "Obtém lista de issues de um projeto/PR no SonarQube.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR para análise específica\nseverities (string[], opcional): Severidades a filtrar (BLOCKER, CRITICAL, MAJOR, MINOR, INFO)\nstatus (string, opcional): Status das issues (OPEN, CONFIRMED, FALSE_POSITIVE, etc.)\nlimit (number, opcional): Limite de issues (padrão: 100)\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\",\n  \"severities\": [\"CRITICAL\", \"MAJOR\"],\n  \"limit\": 50\n}"
      },
      {
        "title": "sonar_analyze_and_suggest",
        "body": "Analisa issues e sugere soluções com base nas regras do SonarQube.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR\nautoFix (boolean, opcional): Tentar aplicar correções automáticas (padrão: false)\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\",\n  \"autoFix\": false\n}"
      },
      {
        "title": "sonar_quality_gate",
        "body": "Verifica o status do Quality Gate de um projeto.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\"\n}"
      },
      {
        "title": "Configuração",
        "body": "O skill usa as seguintes configurações do ambiente:\n\nSONAR_HOST_URL=http://127.0.0.1:9000  # URL do SonarQube\nSONAR_TOKEN=admin                      # Token de autenticação"
      },
      {
        "title": "Analisar uma PR específica:",
        "body": "node scripts/analyze.js --project=my-project --pr=5"
      },
      {
        "title": "Gerar relatório de issues:",
        "body": "node scripts/report.js --project=my-project --format=markdown"
      },
      {
        "title": "Verificar Quality Gate:",
        "body": "node scripts/quality-gate.js --project=my-project --pr=5"
      },
      {
        "title": "sonar_get_issues",
        "body": "{\n  \"total\": 12,\n  \"issues\": [\n    {\n      \"key\": \"...\",\n      \"severity\": \"MAJOR\",\n      \"component\": \"apps/web/src/ui/App.tsx\",\n      \"line\": 346,\n      \"message\": \"Extract this nested ternary...\",\n      \"rule\": \"typescript:S3358\",\n      \"status\": \"OPEN\",\n      \"solution\": \"Extract nested ternary into a separate function...\"\n    }\n  ],\n  \"summary\": {\n    \"BLOCKER\": 0,\n    \"CRITICAL\": 0,\n    \"MAJOR\": 2,\n    \"MINOR\": 10,\n    \"INFO\": 0\n  }\n}"
      },
      {
        "title": "sonar_analyze_and_suggest",
        "body": "{\n  \"projectKey\": \"openclaw-panel\",\n  \"analysis\": {\n    \"totalIssues\": 12,\n    \"fixableAutomatically\": 8,\n    \"requiresManualFix\": 4\n  },\n  \"suggestions\": [\n    {\n      \"file\": \"apps/web/src/ui/App.tsx\",\n      \"line\": 346,\n      \"issue\": \"Nested ternary operation\",\n      \"suggestion\": \"Extract into independent component\",\n      \"codeExample\": \"...\",\n      \"autoFixable\": false\n    }\n  ],\n  \"nextSteps\": [\n    \"Run lint:fix for auto-fixable issues\",\n    \"Refactor nested ternaries in App.tsx\",\n    \"Replace || with ?? operators\"\n  ]\n}"
      },
      {
        "title": "Soluções Automáticas Disponíveis",
        "body": "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"
      },
      {
        "title": "Requisitos",
        "body": "Node.js 18+\nAcesso ao SonarQube (localhost:9000)\nToken de autenticação configurado"
      },
      {
        "title": "Integração com Workflows",
        "body": "Exemplo de uso em GitHub Actions:\n\n- name: Analyze with SonarQube Skill\n  run: |\n    npm install -g @felipeoff/sonarqube-analyzer\n    sonarqube-analyzer \\\n      --project=my-project \\\n      --pr=${{ github.event.pull_request.number }} \\\n      --suggest-fixes"
      }
    ],
    "body": "SonarQube Analyzer Skill\n\nAnalisa projetos no SonarQube self-hosted, obtém issues e sugere soluções automatizadas.\n\nFerramentas Registradas\nsonar_get_issues\n\nObtém lista de issues de um projeto/PR no SonarQube.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR para análise específica\nseverities (string[], opcional): Severidades a filtrar (BLOCKER, CRITICAL, MAJOR, MINOR, INFO)\nstatus (string, opcional): Status das issues (OPEN, CONFIRMED, FALSE_POSITIVE, etc.)\nlimit (number, opcional): Limite de issues (padrão: 100)\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\",\n  \"severities\": [\"CRITICAL\", \"MAJOR\"],\n  \"limit\": 50\n}\n\nsonar_analyze_and_suggest\n\nAnalisa issues e sugere soluções com base nas regras do SonarQube.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR\nautoFix (boolean, opcional): Tentar aplicar correções automáticas (padrão: false)\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\",\n  \"autoFix\": false\n}\n\nsonar_quality_gate\n\nVerifica o status do Quality Gate de um projeto.\n\nParâmetros:\n\nprojectKey (string, obrigatório): Chave do projeto\npullRequest (string, opcional): Número da PR\n\nExemplo:\n\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"pullRequest\": \"5\"\n}\n\nConfiguração\n\nO skill usa as seguintes configurações do ambiente:\n\nSONAR_HOST_URL=http://127.0.0.1:9000  # URL do SonarQube\nSONAR_TOKEN=admin                      # Token de autenticação\n\nUso\nAnalisar uma PR específica:\nnode scripts/analyze.js --project=my-project --pr=5\n\nGerar relatório de issues:\nnode scripts/report.js --project=my-project --format=markdown\n\nVerificar Quality Gate:\nnode scripts/quality-gate.js --project=my-project --pr=5\n\nEstrutura de Resposta\nsonar_get_issues\n{\n  \"total\": 12,\n  \"issues\": [\n    {\n      \"key\": \"...\",\n      \"severity\": \"MAJOR\",\n      \"component\": \"apps/web/src/ui/App.tsx\",\n      \"line\": 346,\n      \"message\": \"Extract this nested ternary...\",\n      \"rule\": \"typescript:S3358\",\n      \"status\": \"OPEN\",\n      \"solution\": \"Extract nested ternary into a separate function...\"\n    }\n  ],\n  \"summary\": {\n    \"BLOCKER\": 0,\n    \"CRITICAL\": 0,\n    \"MAJOR\": 2,\n    \"MINOR\": 10,\n    \"INFO\": 0\n  }\n}\n\nsonar_analyze_and_suggest\n{\n  \"projectKey\": \"openclaw-panel\",\n  \"analysis\": {\n    \"totalIssues\": 12,\n    \"fixableAutomatically\": 8,\n    \"requiresManualFix\": 4\n  },\n  \"suggestions\": [\n    {\n      \"file\": \"apps/web/src/ui/App.tsx\",\n      \"line\": 346,\n      \"issue\": \"Nested ternary operation\",\n      \"suggestion\": \"Extract into independent component\",\n      \"codeExample\": \"...\",\n      \"autoFixable\": false\n    }\n  ],\n  \"nextSteps\": [\n    \"Run lint:fix for auto-fixable issues\",\n    \"Refactor nested ternaries in App.tsx\",\n    \"Replace || with ?? operators\"\n  ]\n}\n\nSoluções Automáticas Disponíveis\nRegra\tProblema\tSolução Automática\nS6606\tUse || instead of ??\t✅ Substituir por ??\nS3358\tNested ternary\t❌ Requer refatoração manual\nS6749\tRedundant fragment\t✅ Remover fragment\nS6759\tNon-readonly props\t✅ Adicionar readonly\nS3776\tCognitive complexity\t❌ Requer extração de componentes\nS6571\tany in union type\t✅ Remover redundância\nRequisitos\nNode.js 18+\nAcesso ao SonarQube (localhost:9000)\nToken de autenticação configurado\nIntegração com Workflows\n\nExemplo de uso em GitHub Actions:\n\n- name: Analyze with SonarQube Skill\n  run: |\n    npm install -g @felipeoff/sonarqube-analyzer\n    sonarqube-analyzer \\\n      --project=my-project \\\n      --pr=${{ github.event.pull_request.number }} \\\n      --suggest-fixes"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/FelipeOFF/sonarqube-analyzer",
    "publisherUrl": "https://clawhub.ai/FelipeOFF/sonarqube-analyzer",
    "owner": "FelipeOFF",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sonarqube-analyzer",
    "downloadUrl": "https://openagent3.xyz/downloads/sonarqube-analyzer",
    "agentUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sonarqube-analyzer/agent.md"
  }
}