agentleFS
Google CloudKnown publisherGoogleCloudPlatform/genai-factory/skills/release-process/SKILL.md

release-process

Skill173 starsChanged 2 months agoApache-2.0View on GitHub

Guide for cutting a new release of the GenAI Factory repository. Use this skill when asked to create, prepare, or draft a new release.

  • Commits and pushes

6 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Wrote their own version · 5

    1. github/gh-aw★ 5.3ksame name
    2. microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
    3. google/capsem★ 79same name
    4. lizTheDeveloper/shipping-skills★ 8same name
    5. niksavis/basicly★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 7

    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:

    Start from the master branch and ensure you are up to date:

    line 22
  2. Distinctive:

    If anything is red, fix it (or wait for the fix to merge) before proceeding.

    line 42
  3. Distinctive:

    Read the merged PR titles and summarize what's in the bodies: those are what the release notes must surface.

    line 61
  4. Distinctive:

    Every factory pins the same Fabric tag.

    line 70
  5. Distinctive:

    Verify the pin and make sure the compatibility statement in the main README.md matches it:

    line 72
  6. Very specific:

    Write the notes in the style of the previous releases (gh release view $LATEST_RELEASE to see one).

    line 92
  7. Very specific:

    Tag: Create a new tag matching the new version (e.g., v2.1.0), targeting master.

    line 137
  8. Distinctive:

    Title: Use the exact same version string as the tag.

    line 138
  9. Distinctive:

    Check that the tag points at the intended commit and that the notes render as expected.

    line 150

“Common” is measured: kept by at least 6 in 10 of the 6 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

GenAI Factory Release Process

This skill guides maintainers through the process of cutting a new release for the GenAI Factory repository.

CRITICAL: Release names and tags MUST ALWAYS be prefixed with v (e.g., v2.0.0, v2.1.0).

GenAI Factory has no CHANGELOG.md and no changelog tooling: releases are GitHub releases whose notes combine a short hand-written summary with GitHub's auto-generated commit list.

Prerequisites

  • Permissions: You must have write/release permissions on the repository.
  • GitHub CLI: An authenticated gh (check with gh auth status).
  • Environment: Python dependencies installed with uv sync --all-groups, plus terraform and gcloud if you intend to run the tests locally.

1. Preparation

Start from the master branch and ensure you are up to date:

git checkout master
git pull

Identify the latest released version:

LATEST_RELEASE=$(git tag --sort=-v:refname | head -n 1)
echo "Latest release is: $LATEST_RELEASE"

Confirm master is green before releasing — the nightly Linting, Tests, and Integration Tests workflows all gate the release:

gh run list --branch master --limit 10

If anything is red, fix it (or wait for the fix to merge) before proceeding.

2. Review the Changes Since the Last Release

Collect what went in, which also determines the bump type:

git log --oneline $LATEST_RELEASE..HEAD
gh pr list --state merged --base master --limit 50 \
  --json number,title,mergedAt,url \
  --jq '.[] | "\(.number)\t\(.title)"'

Choose the bump:

  • major — very important refactoring, which usually involve deep refactoring of the user deployments or that cause lots of recreate states.
  • minor — new version of Cloud Foundation Fabric referenced by all modules of the factories, new factories, new sample applications, new features on existing stages.
  • patch — fixes, dependency and security upgrades, documentation only.

Read the merged PR titles and summarize what's in the bodies: those are what the release notes must surface.

NEW_RELEASE="v2.1.0"   # set to the version you decided on
echo "New release is: $NEW_RELEASE"

3. Check the Cloud Foundation Fabric Compatibility Statement

Every factory pins the same Fabric tag.

Verify the pin and make sure the compatibility statement in the main README.md matches it:

grep -rho "ref=v[0-9.]*" --include="*.tf" . | sort -u
grep -n "Cloud Foundation Fabric" README.md | head

If the statement is stale, update it in a normal PR (or a small commit on master) before cutting the release, so the tag points at accurate documentation. The pinned ref itself is bumped by the nightly integration workflow, which opens an [GH Actions] Update Fabric to <tag> PR; do not bump it by hand as part of the release.

4. Run the Checks Locally

uv run pre-commit run --all-files
uv run pytest -n4 tests

Both must pass on the exact commit you are about to tag.

5. Draft the Release Notes

Write the notes in the style of the previous releases (gh release view $LATEST_RELEASE to see one). The structure is:

## What's Changed

<one or two sentences describing the theme of the release>


**New Factories**
* ...

**New Features**
* ...

**Compatibility with Cloud Foundation Fabric**
* Compatible with Cloud Foundation Fabric <tag>.

**Fixes, security upgrades**
* ...

CRITICAL: Show the drafted notes to the user and wait for their approval before creating the release.

6. Create the GitHub Release

You can create the release either automatically via the GitHub CLI or manually via the GitHub UI.

Option A: Automated via GitHub CLI (Recommended)

Write the approved notes to a file using your file-writing tool (not a heredoc or shell redirection: backticks in the notes would be evaluated by the shell), then create the release. --generate-notes appends GitHub's auto-generated commit and contributor list, including the "Full Changelog" link, after your hand-written notes.

gh release create "$NEW_RELEASE" \
  --target master \
  --title "$NEW_RELEASE" \
  --notes-file /tmp/release-notes.md \
  --generate-notes

gh creates the tag on --target for you, so there is no separate git tag step.

Option B: Manual via GitHub UI

Go to the GitHub Releases UI and configure the release:

  1. Tag: Create a new tag matching the new version (e.g., v2.1.0), targeting master.
  2. Title: Use the exact same version string as the tag.
  3. Release Notes: Click the "Generate release notes" button, then paste your hand-written notes at the top of the generated content.

Click Publish release.

7. Verify

gh release view "$NEW_RELEASE"
git fetch --tags

Check that the tag points at the intended commit and that the notes render as expected.

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.