sonar-triage
Skill by Netcracker
Triages SonarCloud findings on a pull request. It reads the quality gate, sorts open issues into real defects and false positives, and helps close new-code coverage gaps. Built for developers on the Netcracker qubership-integration-platform repository.
Install sonar-triage
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Netcracker/qubership-integration-platform /tmp/qubership-integration-platform && mkdir -p ~/.claude/skills && cp -r /tmp/qubership-integration-platform/.apm/skills/sonar-triage ~/.claude/skills/sonar-triageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Netcracker/qubership-integration-platform /tmp/qubership-integration-platform && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/qubership-integration-platform/.apm/skills/sonar-triage ~/.gemini/antigravity-cli/skills/sonar-triageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The skill triages SonarCloud findings on a pull request. It reads the quality gate for each scanned module, pulls the open issues scoped to that pull request, and classifies each one as a real defect or a false positive. Real defects are fixed in place. False positives are reported as a list with rule key, file and reason, for the user to mark in the SonarCloud UI. It also finds the files behind new-code coverage gaps and duplication blocks.
It reads project keys from the repository's GitHub variables using the gh CLI and calls the SonarCloud read API with curl, which the source says needs no token. The skill is written for the Netcracker qubership-integration-platform repository. It should only run when the user asks about Sonar, SonarCloud, a quality gate, or pastes a sonarcloud.io link.
Written from the project's SKILL.md and checked against it.
What it can do
- Read the quality gateChecks the failing conditions and thresholds for a pull request in each module's project.
- Classify open issuesSorts open SonarCloud issues into real defects and false positives.
- Fix real defectsFixes genuine issues in place instead of leaving them for a later run.
- Find coverage gapsLists the files with new uncovered lines using the component tree API.
- Inspect duplicationsShows duplicated blocks and their partner files to separate real duplication from similar shapes.
- Report false positivesLists each false positive with its rule key, file and the reason it is safe.
What you need
- GitHub CLI (gh) to read repository variables
- curl to call the SonarCloud read API
- A pull request number
- Access to the Netcracker qubership-integration-platform repository
Try asking
- Triage the SonarCloud issues on pull request 123
- Why is the quality gate failing on this pull request?
- Find the files that cause the new code coverage gap
Good to know
- Marking false positives in SonarCloud needs the UI or a token, since the API cannot do it without one.
- Issue searches cap at 500 results per page.
- Jest sets no coverage threshold in vscode-extension, ui or schemas.
- Calls must be scoped to a pull request number, or they return the whole branch backlog.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .apm/skills/sonar-triage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sonar-triage
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sonar-triage: common questions
Does it need a SonarCloud token?
The source says the read API needs no token. The source also says the API cannot mark issues as false positives without a token, so that step is done in the SonarCloud UI.
When does the skill run?
The source says it should only be used when the user asks about Sonar, SonarCloud, a quality gate, or pastes a sonarcloud.io link, and not on unrelated turns.
Which modules does it cover?
The source lists six scanned modules, each with its own SonarCloud project: engine, micro-engine, runtime-catalog, sessions-management, ui and vscode-extension.
How do I install sonar-triage?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sonar-triage free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is sonar-triage safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sonar-triage?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
