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
- niksavis/basiclytheir own version, first seen Oct 5, 2026
- google/capsemtheir own version, first seen Sep 18, 2026
- lizTheDeveloper/shipping-skillstheir own version, first seen Aug 10, 2026
- github/gh-awtheir own version, first seen May 27, 2026
- microsoft/Generative-AI-for-beginners-dotnettheir own version, first seen Mar 16, 2026
- GoogleCloudPlatform/cloud-foundation-fabricedited, first seen Dec 4, 2025
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- GoogleCloudPlatform/cloud-foundation-fabric★ 2.1k20% same
Wrote their own version · 5
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- google/capsem★ 79same name
- lizTheDeveloper/shipping-skills★ 8same name
- 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
- Distinctive: line 22
Start from the master branch and ensure you are up to date:
- Distinctive: line 42
If anything is red, fix it (or wait for the fix to merge) before proceeding.
- Distinctive: line 61
Read the merged PR titles and summarize what's in the bodies: those are what the release notes must surface.
- Distinctive: line 70
Every factory pins the same Fabric tag.
- Distinctive: line 72
Verify the pin and make sure the compatibility statement in the main README.md matches it:
- Very specific: line 92
Write the notes in the style of the previous releases (gh release view $LATEST_RELEASE to see one).
- Very specific: line 137
Tag: Create a new tag matching the new version (e.g., v2.1.0), targeting master.
- Distinctive: line 138
Title: Use the exact same version string as the tag.
- Distinctive: line 150
Check that the tag points at the intended commit and that the notes render as expected.
“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.
Files
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 withgh auth status). - Environment: Python dependencies installed with
uv sync --all-groups, plusterraformandgcloudif 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 pullIdentify 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 10If 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 | headIf 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 testsBoth 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-notesgh 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:
- Tag: Create a new tag matching the new version (e.g.,
v2.1.0), targetingmaster. - Title: Use the exact same version string as the tag.
- 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 --tagsCheck that the tag points at the intended commit and that the notes render as expected.
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
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.

