sonarqube-new-code-warning-fixer
Installation
SKILL.md
SonarQube New Code Warning Fixer
Overview
Use SonarQube MCP to inspect only newly updated code, report warnings in a clear list, fix them, and finish with passing tests. Scope selection supports uncommitted changes and branch diffs.
Workflow
- Determine update scope. Run:
python3 scripts/list_newly_updated_files.py --mode auto --only code
auto: use uncommitted changes when present; otherwise use branch diff.- branch diff base: prefer
develop, thenmaster, thenmain. - if no changed code files are found, report no warnings and stop.