본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

sonarqube-analyzer

felipeoff 제작

Self-Hosted & Automation
1.1kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

Connects to a self-hosted SonarQube instance to fetch code issues, check quality gate status, and generate fix suggestions for a project or pull request. Supports filtering by severity and status, and can attempt automatic fixes for certain rule violations.

Brings SonarQube issue triage and fix suggestions directly into an agent workflow without manually navigating the SonarQube UI.

사용 시점

  • Check if a PR passes the quality gate before merging
  • List all CRITICAL and BLOCKER issues in a project
  • Get fix suggestions for nested ternary warnings in a TypeScript file
  • Automate SonarQube analysis in a GitHub Actions workflow
  • Generate a markdown report of open issues by severity

예시 워크플로

입력

User asks: 'What issues are in PR #5 of the openclaw-panel project, and how do I fix them?'

에이전트
  1. 1

    Call sonar_get_issues with projectKey 'openclaw-panel' and pullRequest '5'

  2. 2

    Review returned issues grouped by severity

  3. 3

    Call sonar_analyze_and_suggest with the same project and PR to get fix recommendations

  4. 4

    Identify which issues are auto-fixable vs require manual refactoring

  5. 5

    Return a summary with next steps

출력

A list of 12 issues (2 MAJOR, 10 MINOR) with per-file suggestions and a note that 8 can be fixed automatically

요구 사항

  • SONAR_HOST_URL environment variable pointing to your SonarQube instance
  • SONAR_TOKEN environment variable with a valid SonarQube authentication token
  • Self-hosted SonarQube instance

설치

clawhub install felipeoff/sonarqube-analyzer

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크