Skip to content

skilldrop·docs·How-to

Use sonar-onboard

Scaffold a repo for Sonar compliance

Scaffold a repo for Sonar compliance — supports both SonarQube server (self-hosted) and SonarCloud (SaaS), user picks at setup time. Generates sonar-project.properties with language-correct source/test/coverage paths, a CI workflow that runs the scanner on every push and PR and blocks merge on quality-gate failure, and a README snippet documenting the gate. One-shot setup; pair with sonar-review for per-change feedback.

Reach for it when the user says "set up Sonar", "add SonarQube to this repo", "wire up SonarCloud", "set up the quality gate", or asks to make a project Sonar-compliant for the first time.

Install it

npx skilldrop-cli install sonar-onboard                 # Claude Code, your user folder
npx skilldrop-cli install sonar-onboard --project       # Claude Code, this repo
npx skilldrop-cli install sonar-onboard --ide cursor    # or kiro, codex, antigravity, copilot

It is part of the Dev team pack: --pack dev-team installs it with its neighbours.

Ask for it

Say it the way you would to a colleague. Requests like these route to it:

Requests like these belong to a different skill, so it shouldn't answer them:

If another skill answers instead, ask for this one by name: "use sonar-onboard".

Check what you get

A good result:

Use something else when

Next

Edit this page on GitHub · View source