fix-sonar-task

Orchestrate SonarQube issue remediation for 1C projects through analysis, implementation, testing, and rescanning.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill fix-sonar-task
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-sonar-task
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/.claude/skills/fix-sonar-task
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill fix-sonar-task

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a safe, repeatable way to fix SonarQube defects in 1C code without ad-hoc edits, reducing the risk of false positives, regressions, and missed verification steps.

Core Features & Use Cases

  • Pipeline orchestration: Pull Sonar issues, triage them, cluster real bugs, and route each cluster through analysis, implementation, testing, and rescanning.
  • 1C-specific remediation: Focuses on custom BSL and configuration code, while explicitly excluding false positives, placeholders, extensions, and third-party BСП code.
  • Quality-gated delivery: Uses per-cluster state, evidence capture, and final quality-gate checks to ensure fixes are complete and reproducible.
  • Use case: When a Sonar scan reports a critical broken call in a custom module, use this Skill to verify whether it is a real defect, generate the analysis report, implement the fix, run tests, and confirm the issue is gone after rescanning.

Quick Start

Use the fix-sonar-task skill to process the current SonarQube blocker and critical issues through the full 1C remediation pipeline.

Frequently Asked Questions about fix-sonar-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix SonarQube issues in 1C BSL code without causing regressions?

Fix SonarQube issues in 1C BSL code safely by using a controlled analysis-to-fix pipeline that triages blockers, clusters real defects, and separates false positives before applying fixes. This pipeline requires sequential analyze, implement, test, and re-scan steps with per-cluster state and quality-gate verification.

What is the best way to triage SonarQube false positives in custom 1C modules?

Triage SonarQube false positives in custom 1C modules through pipeline orchestration that explicitly excludes placeholders, extensions, and third-party BSP code. It separates deterministic formatting issues from real bugs by capturing evidence and maintaining per-cluster state during the analysis phase.

How do I automate SonarQube remediation for 1C projects?

Automate SonarQube remediation for 1C projects by routing Sonar issues through a structured pipeline that pulls issues, triages them, and processes each cluster through implementation, testing, and rescanning. Quality-gated delivery ensures fixes are complete and reproducible.

Can I use a quality gate to verify SonarQube fixes in BSL configuration code?

Yes, you can verify SonarQube fixes in BSL configuration code using per-cluster state, evidence capture, and final quality-gate checks. The pipeline confirms issues are gone after rescanning to ensure remediation is complete and reproducible.

Does SonarQube remediation work with third-party 1C BSP code?

No, SonarQube remediation through this pipeline explicitly excludes third-party BSP code, extensions, and placeholders. It focuses specifically on custom BSL and configuration code to target real defects and avoid false positives.

Why should I use a pipeline to fix Sonar defects instead of ad-hoc edits?

Use a remediation pipeline instead of ad-hoc edits to reduce the risk of false positives, regressions, and missed verification steps. It provides a safe, repeatable way to fix SonarQube defects by enforcing sequential analyze, implement, test, and re-scan stages with evidence capture.