agentleFS
MicrosoftKnown publishermicrosoft/multiclouddb-sdk-for-java/.github/skills/release/SKILL.md

release

Skill7 starsChanged 55 days agoMITView on GitHub

Manages releases for multiclouddb-sdk-for-java modules. Validates release readiness, updates POM versions and changelogs, prepares a release branch for a PR against upstream/main, and after merge creates and pushes per-module version tags that trigger the automated release pipeline.

  • Commits and pushes

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 6 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • parcadeiSkill

    agent-context-isolation

    Agent Context Isolation

    Also in 3 projects that use this

  • +3 more from Grinv

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the list-modules script to show current state:

    line 65
  2. Distinctive:

    Run the validation script for the target module:

    line 76
  3. Distinctive:

    If validation fails (non-zero exit), show all failures and stop.

    line 82
  4. Distinctive:

    Create a feature branch on the fork with all release preparation changes:

    line 87
  5. Distinctive:

    Create and switch to a new branch:

    line 89
  6. Very specific:

    Commit: all changes with message: release: prepare <VERSION> — update POM versions and changelogs

    line 107
  7. Distinctive:

    After the release PR is merged into upstream/main:

    line 124
  8. Distinctive:

    Create and push tags one at a time for each module being released.

    line 131
  9. Distinctive:

    After each tag is pushed:

    line 150
  10. Distinctive:

    When releasing multiple modules, enforce dependency order:

    line 160
  11. Distinctive:

    All modules can share a single release branch and PR (Phase 3)

    line 164
  12. Distinctive:

    If the API version changed and providers depend on the new version, the provider POM properties must be updated in the same release PR …

    line 172
  13. Very specific:

    Read <THIS_SKILL_DIRECTORY>/references/release-process.md for detailed troubleshooting guidance covering version mismatches, dependency …

    line 177

“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release

Orchestrates the release of multiclouddb-sdk-for-java modules through a PR-based workflow: prepare a release branch with version bumps and changelog updates, merge via PR, then create tags to trigger the release pipeline.

Core scripts are in <THIS_SKILL_DIRECTORY>/scripts/ for deterministic behavior. Reference material is in <THIS_SKILL_DIRECTORY>/references/release-process.md.

Path note: All script paths are relative to this skill directory (this SKILL.md file), not the repository root.

Prerequisites

  • git configured with push access to the fork (origin) and upstream repository
  • Working directory is the repository root
  • On the main branch with a clean working tree, up to date with origin/main

Workflow

Execute these phases in order. Stop and report if any phase fails.

Phase 1: List Modules

Run the list-modules script to show current state:

<THIS_SKILL_DIRECTORY>/scripts/list-modules.sh

Present the output to the user. If the user hasn't specified a module or version, use this information to help them decide.

Phase 2: Validate Release Readiness

Run the validation script for the target module:

<THIS_SKILL_DIRECTORY>/scripts/validate-release.sh --module <MODULE> --version <VERSION>

If validation fails (non-zero exit), show all failures and stop. Provide the fix instructions from the output. Do NOT proceed to Phase 3 until all checks pass.

Phase 3: Create Release Branch and PR

Create a feature branch on the fork with all release preparation changes:

  1. Create and switch to a new branch:
    git checkout -b release/<VERSION>
  2. Update POM versions — If the version in root pom.xml properties differs from the target release version, update the module-specific property in root pom.xml using the <module-name>.version naming scheme (for example, <multiclouddb-api.version> or <multiclouddb-provider-cosmos.version>). The module POMs inherit via ${property}.
  3. Update changelogs — For each module being released: a. Read <MODULE>/CHANGELOG.md b. Find the ## [Unreleased] header line c. Replace it with ## [<VERSION>] — <DATE> (use the provided date or today) d. Insert a new ## [Unreleased] section above the renamed section with an empty line after it
  4. Commit all changes with message: release: prepare <VERSION> — update POM versions and changelogs
  5. Push the branch to origin (fork):
    git push origin release/<VERSION>
  6. Generate PR description and copy to clipboard. The user will create the PR manually against upstream/main.
  7. Wait for PR merge — Do NOT proceed to Phase 4 until the user confirms the PR has been merged. The release tags must point to a commit on upstream/main that includes the version and changelog updates.

Phase 4: Create and Push Tags

After the release PR is merged into upstream/main:

  1. Switch to main and sync:
    git checkout main && git fetch upstream && git rebase upstream/main
  2. Create and push tags one at a time for each module being released. Push to upstream, not origin:

    <THIS_SKILL_DIRECTORY>/scripts/create-release-tag.sh --module <MODULE> --version <VERSION>

    Or manually:

    git tag -a "<MODULE>-v<VERSION>" -m "Release <MODULE> v<VERSION>"
    git push upstream "<MODULE>-v<VERSION>"

    Critical: Push each tag with a separate git push command. Pushing multiple tags in a single command silently fails to trigger GitHub Actions.

  3. Wait for the workflow run to appear in the Actions tab before pushing the next tag.

Phase 5: Monitor and Report

After each tag is pushed:

  1. Report:
    • The tag name and commit SHA
    • Link to the Actions workflow run
    • Remind the user that the production environment requires manual approval: Actions → Release → (the run) → Review deployments → Approve

Multi-Module Release

When releasing multiple modules, enforce dependency order:

  1. Release multiclouddb-api FIRST if it is in the release set
  2. Then release providers in any order (they are independent of each other)
  3. All modules can share a single release branch and PR (Phase 3)
  4. In Phase 4, push tags one at a time in dependency order

Critical: Push each tag individually with a separate git push upstream <tag> command. Pushing multiple tags in a single git push silently fails to trigger GitHub Actions workflows. Wait for each workflow run to appear in the Actions tab before pushing the next tag.

If the API version changed and providers depend on the new version, the provider POM properties must be updated in the same release PR before merging.

Troubleshooting

Read <THIS_SKILL_DIRECTORY>/references/release-process.md for detailed troubleshooting guidance covering version mismatches, dependency versions, pipeline trigger failures, and approval issues.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.