sonar-samples

Sample Vortex Software Factory — Git skill for Claude Code

Git community

Follow-along skeleton for the Sonar Vortex agentic software factory blueprint: a GitHub Actions workflow where Claude Code implements labeled issues, Vortex checks the work, and SonarQube Cloud gates.

How to install Sample Vortex Software Factory

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sonar-samples/vortex-software-factory and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sample Vortex Software Factory does

Follow-along skeleton for the Sonar Vortex agentic software factory blueprint: a GitHub Actions workflow where Claude Code implements labeled issues, Vortex checks the work, and SonarQube Cloud gates the merge.

Alternatives in Git

  • GitHub Review Comments — Use when a PR has unresolved review comments that need responses -- evaluates each comment, implements valid f 1.5k ★
  • Auteur — The Claude Code skill that directs a website like a film 1k ★
  • GitHub Workflow Adaptation Plan — Project: Claude Code Skills Factory Blueprint Source: /Users/rezarezvani/projects/claudecode-github-bluprint D 617 ★

README

Vortex software factory

A skeleton for an agentic software factory on GitHub Actions with [Sonar Vortex](https://www.sonarsource.com/blog/introducing-sonar-vortex/) built in. Label an issue `factory:run`; an agent implements it on an ephemeral runner, Vortex guides and checks the work, a separate job opens the pull request, and the SonarQube Cloud quality gate decides whether a human can merge.

There is no application code here. Copy the files into your repository.

Tiers

Tier Where Holds Cannot
Intake factory.yml job intake issues: read write anything
Worker job worker, environment factory-worker Claude token, SonarQube user token, contents: read push, open PRs, edit ctl/
Publisher job publish, environment factory-publish factory GitHub App token (no workflows permission) run the model, read Sonar or Claude secrets
Verifier ci.yml on pull_request and push: main SONAR_TOKEN be edited by the agent
Merge a human, under the main ruleset their own identity n/a

The worker checks out the base commit twice: `ws/` is the agent's project, `ctl/` holds the scripts and stays outside it. The agent leaves a patch; the publisher verifies its SHA-256, rejects protected paths and edits to analysis or coverage configuration, applies it on the base commit, and pushes as the App.

Requirements

  • SonarQube Cloud on an Enterprise plan or annual Team plan with Vortex enabled for the organization, and Architecture analysis if you want get-constraints to return anything.
  • The project analyzed in CI on its default branch (ci.yml does this) with automatic analysis off. Vortex restores analyzer context from that analysis.
  • A GitHub plan that supports environments with secrets and rulesets on your repository.

Set up

  1. Copy .github/, tests/, and .sonar-config.json into your repository. Create