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

release

Skill7 starsChanged 8 months 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

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 172 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 172 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.