sonarqube-autofix
Installation
SKILL.md
SonarQube Auto-Fix
When to Use
- User asks or mentions this skill in English (e.g., "use /sonarqube-autofix", "run sonarqube-autofix").
- O usuário pede ou menciona esta skill em português (ex.: "use /sonarqube-autofix", "execute sonarqube-autofix").
Purpose
Analyze issues reported by SonarQube, regardless of language or framework, classify them by type, and create approved SPEC SDDs that describe the fixes. The actual implementation of each SPEC is delegated to /execute-specs.
The process is:
- Issue analysis — download and inspect unresolved SonarQube issues.
- Classification — group issues by type:
bug,code smell, orsecurity. - SPEC generation — write one SPEC SDD per issue (or per small, related group) using
references/spec-sdd-template.md; if thewrite-specsskill is available, use it to author the SPECs. - GitHub issues — open the issues on GitHub, one per generated SPEC (or per related group), so every fix is trackable; if the
create-issuesskill is available, use it. - Hand-off — mark each SPEC as
Approvedand invoke/execute-specsto implement the fixes. - QA hand-off — when all fixes are done, invoke
/qa-analystto re-validate the applied corrections (see Phase 4, step 5).