Skip to main content

code-quality-checks

Enforce code quality with SonarCloud, CheckStyle, SpotBugs, and maintain quality gates

Quellinformationen

Repository
Hack23/cia
Letzte Quellaktivität
1. Februar 2026 um 00:05
Erkannte Sprache von SKILL.md
Englisch
Sterne
241
Forks
56

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
code-quality-checks
description
Enforce code quality with SonarCloud, CheckStyle, SpotBugs, and maintain quality gates
license
Apache-2.0
# Code Quality Checks Skill ## Purpose Maintain high code quality through automated static analysis and quality gates. ## When to Use - ✅ Before committing code - ✅ In CI/CD pipeline - ✅ During code reviews - ✅ Regular quality audits ## SonarCloud Quality Gates ```yaml # sonar-project.properties sonar.projectKey=Hack23_cia sonar.organization=hack23 sonar.qualitygate.wait=true # Quality Gate Thresholds sonar.coverage.minimum=80 sonar.duplications.maximum=3 sonar.maintainability.rating=A sonar.reliability.rating=A sonar.security.rating=A ``` ## CheckStyle Configuration ```xml <module name="Checker"> <module name="LineLength"> <property name="max" value="120"/> </module> <module name="TreeWalker"> <module name="NeedBraces"/> <module name="AvoidStarImport"/> <module name="UnusedImports"/> </module> </module> ``` ## Maven Quality Plugin ```xml <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>3.10.0.2594</version> </plugin> ``` ## References - SonarCloud: https://sonarcloud.io/ - CheckStyle: https://checkstyle.org/
Auf GitHub ansehen