loerei/myskills/sonarcloud-ci-workflow
Claude Code and agent skill by loerei/myskills
Trust tier 2
- community
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-workflowSKILL.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
- Configure GitHub Secret: Ask the user for their SonarCloud token and run
gh secret set SONAR_TOKEN --body "<token>". - Configure `sonar-project.properties`: Save as UTF-8 without BOM in the project root:
- Set
sonar.sourcesand exclusions to prevent false-positive duplication checks on test and build files. - Add
sonar.coverage.exclusions=**/*on free plans to bypass coverage gate requirements.
- Write `.github/workflows/sonarcloud.yml`:
- Match the repository's default branch trigger (
mainormaster). - Static Analysis (Fast): Omit dependency installation; run checkout (
fetch-depth: 0) andSonarSource/sonarqube-scan-action@v6. NEVER use deprecatedSonarSource/sonarcloud-github-actionor outdatedv5scanner actions. - Coverage Analysis: Enable Node caching (
cache: 'npm'), run builds before tests in monorepos, and usenpm installinstead ofnpm ciwhen platform-specific native binaries causeEBADPLATFORMerrors.
- Disable Automatic Analysis: In SonarCloud Administration -> Analysis Method, toggle Automatic Analysis OFF.
- Verify & Troubleshoot:
- Follow
sonar-remediationfor 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
- SKILL.md in the repositoryCheckingquality/sonarcloud-ci-workflow/SKILL.md
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
[](https://verified-skill.com/skills/loerei/myskills/sonarcloud-ci-workflow)