You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A variation of skill to setup release for DevEx repos using ide-automated-release. Mostly reverse engineered from existing skill + ide-automated-release + existing implementation on SLCore.
hashicorp-vault-sonar-prodBot
changed the title
Add a skill to set up release for DevEx repos.
GHA-281 Add a skill to set up release for DevEx repos.
Apr 28, 2026
This PR adds a new Claude Code skill (devex-release-setup) that guides users through setting up automated release workflows for SonarSource Development Experience projects (SonarLint Core, SonarLint for IntelliJ, etc.).
The skill is a comprehensive, interactive prompt template that:
Gathers required information (Jira project key, project name, version bump options)
Updates the existing release.yml workflow to use workflow_dispatch inputs
Creates a new full-release.yml workflow using the ide-automated-release reusable workflow
Provides 5 workflow variants to handle different configurations (with/without version bump, Maven/Gradle/custom build systems)
Confirms Jira prerequisites before the user proceeds
It is distinct from the existing automated-release-setup skill, which targets full SonarSource analyzer projects with releasability checks and external analyzer update PRs. This new skill is purpose-built for simpler DevEx projects that only need the ide-automated-release workflow.
What reviewers should know
Start with: The main skill file (.claude/skills/devex-release-setup/SKILL.md) is the core deliverable — 403 lines of step-by-step guidance. The README changes are just documentation.
Key sections to review:
Step 1 (Auto-detection): The skill proactively gathers repo config before asking questions — build system via pom.xml/gradle.properties, workflow style, Slack channel from existing workflows, and SHA pinning strategy for Renovate bot compatibility.
Variants A–E (Step 5): Five workflow templates handle different scenarios. Variant C (Maven + dry-run) and D (Gradle + dry-run) are most common. Note Variant E for custom build systems is less polished but provides escape hatch.
Jira integration: The skill explicitly states no Vault permission changes are needed (unlike the full analyzer setup) and prompts for Jira sandbox access if dry-run is enabled.
Workflow dispatch mechanics (Step 3): The skill is careful about removing the old release: published trigger — the new ide-automated-release workflow is invoked directly via workflow_dispatch by the publish-github-release action, not by a GitHub event.
Non-obvious decisions:
The skill uses "check before acting" as a principle — at each file modification step, it verifies current state and asks for user confirmation before changing anything.
SHA pinning format (@<sha> # <version>) is intentional for Renovate bot tracking.
PM email defaults to the DevEx PM and is documented as a fallback.
Watch for:
The skill relies entirely on Claude's ability to run interactive prompts (AskUserQuestion) and execute repo commands (git, bash). It does not make commits or push changes itself — that is deferred to the user.
Variant E (custom build systems) requires the user to provide a shell command and the skill to hand-craft the bump-version job. This is inherently less robust than Variants C–D.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A variation of skill to setup release for DevEx repos using
ide-automated-release. Mostly reverse engineered from existing skill + ide-automated-release + existing implementation on SLCore.Depends on #139