review_sonar
Inspect PRs/MRs with Sonar quality gates, coverage, duplication, issues, and hotspots, then explain failures and guide code fixes using local editing and testing tools.
Instructions
Inspect a PR/MR and its Sonar quality gate, coverage, duplication, issues and hotspots together. The assistant explains failures and, when asked, fixes code using its local editing/testing tools. Supply ruleKey for remediation details or filePath for source context. This tool reads evidence; a new Sonar analysis is needed to confirm a fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| target | Yes | ||
| project | No | Sonar project key; defaults to configuration | |
| ruleKey | No | ||
| filePath | No | Optional repository-relative file to inspect at the PR head |