loerei/myskills/sonarcloud-ci-workflow

Claude Code and agent skill by loerei/myskills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when configuring, optimizing, or troubleshooting SonarCloud CI workflows in GitHub Actions.

Install

npx vskill@latest install loerei/myskills/sonarcloud-ci-workflow

SKILL.md

The same SKILL.md was published earlier as loerei/myskills/sonarcloud-ci-workflow.

SonarCloud CI Workflow

For property templates, workflow YAML, PR check commands, and CI troubleshooting, see REFERENCE.md.

Workflow

  1. Configure GitHub Secret: Ask the user for their SonarCloud token and run gh secret set SONAR_TOKEN --body "<token>".
  2. Configure `sonar-project.properties`: Save as UTF-8 without BOM in the project root:
  • Set sonar.sources and exclusions to prevent false-positive duplication checks on test and build files.
  • Add sonar.coverage.exclusions=**/* on free plans to bypass coverage gate requirements.
  1. Write `.github/workflows/sonarcloud.yml`:
  • Match the repository's default branch trigger (main or master).
  • Static Analysis (Fast): Omit dependency installation; run checkout (fetch-depth: 0) and SonarSource/sonarqube-scan-action@v6. NEVER use deprecated SonarSource/sonarcloud-github-action or outdated v5 scanner actions.
  • Coverage Analysis: Enable Node caching (cache: 'npm'), run builds before tests in monorepos, and use npm install instead of npm ci when platform-specific native binaries cause EBADPLATFORM errors.
  1. Disable Automatic Analysis: In SonarCloud Administration -> Analysis Method, toggle Automatic Analysis OFF.
  2. Verify & Troubleshoot:
  • Follow sonar-remediation for pre-push code quality checks.
  • On CI failures, check Section 6 of REFERENCE.md for race conditions, CRLF line endings, and BOM errors.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/loerei/myskills/sonarcloud-ci-workflow/badge)](https://verified-skill.com/skills/loerei/myskills/sonarcloud-ci-workflow)

Something wrong with this skill or its page? Tell us.