Add release-cel2sql4j skill#12
Merged
richardwooding merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
Captures the cel2sql4j release workflow: tag-driven, no CHANGELOG maintenance (release notes are auto-generated by softprops/action-gh-release from PR titles), publish via the vanniktech publish plugin to Maven Central. The skill covers: - Picking a semver bump (patch/minor/major) for cel2sql4j's pre-1.0 line. - Common slip-ups: lightweight tag instead of annotated, stale gradle.properties version (intentional — release.yml overrides it), pre-release qualifier shape, forgetting to merge security PRs first. - The four required org-level secrets (Maven Central + GPG; GPG key must be RSA, not Ed25519). - Post-tag verification. Includes scripts/release_preflight.sh that: - Validates branch (must be main), working-tree cleanliness, and sync with origin/main (hard errors). - Lists commits since the previous tag (release-notes preview). - Checks the CI workflow status on origin/main HEAD via gh — only the `CI` workflow is release-blocking; `submit-gradle` failures are advisory because that workflow flakes on transient GitHub 5xx. - Lists open Dependabot PRs as a soft warning (security ones should land before tagging). - Validates the version-string format and prints the exact tag commands if a version is supplied. SKILL.md is 104 lines (under the 200-line target) and lints clean against .claude/skills/skill-authoring/scripts/lint_skill.py. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a project-local skill that captures the cel2sql4j release workflow — tag-driven, no CHANGELOG maintenance (release notes are auto-generated from PR titles), publishes to Maven Central via the vanniktech plugin.
Skill content
SKILL.mdcovers:0.x.gradle.properties(intentional —release.ymloverrides viaORG_GRADLE_PROJECT_VERSION_NAME), pre-release qualifier shape (v1.0.0-rc1), forgetting to merge security Dependabot PRs first.Preflight script
scripts/release_preflight.sh [<version>]:main), working-tree clean, in sync withorigin/main(hard errors).origin/mainHEAD viagh. Only theCIworkflow is release-blocking; theAutomatic Dependency Submission (Gradle)workflow flakes on transient GitHub 5xx and is reported as(advisory).vX.Y.ZorvX.Y.Z-qualifier) and prints the exactgit tag -a/git pushcommands.Smoke-tested behaviour
Running
./release_preflight.sh v0.2.0from this branch correctly reports:That is, the script flags the real preconditions while correctly not blocking on the known submit-gradle flake.
Lint
SKILL.mdis 104 lines (under the 200-line target) and passespython3 .claude/skills/skill-authoring/scripts/lint_skill.pycleanly.Test plan
./gradlew build)🤖 Generated with Claude Code