Sonar cli

From bkircher/skills · View interactive version

Sonar cli is an AI agent skill from the GitHub repository bkircher/skills. Read and explain SonarQube analysis results and issues with its CLI.

How to use this skill

Skill file

Authentication

Knauf-Group accounts are hosted in the SonarQube Cloud EU region.

# Log in (opens browser for interactive auth)
sonar auth login -o knauf-group -s https://sonarcloud.io

# Check authentication status
sonar auth status

Find projects and issues

# List all projects
sonar list projects | jq

# List issues for a project
sonar list issues -p Knauf-Group_pas-frontend --severities HIGH,BLOCKER --statuses OPEN

Secret scanning

Run secret scanning only on individual files, not directories or full repositories.

# Scan a file for hard-coded secrets
sonar analyze secrets ./Dockerfile
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.