prep-develop-for-release
Skill329 starsChanged 6 days agoMIT-0View on GitHub
Use for 'prep develop for release <x.y.z>' or 'prepare the release': stamp the version, prune and cut the CHANGELOG, review the solution profile and run the offline gates, so develop is ready to merge to main and publish.
- Commits and pushes
In this repository42 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-modelSkill
- agent-capability-reviewSkill
- api-rbac-testSkill
- backend-lambdaSkill
- code-reviewSkill
- create-hf-dataset-prSkill
- curate-security-resultsSkill
- cut-release-changelogSkill
- dependabot-prsSkill
- documentationSkill
- extraction-pipelineSkill
- fix-single-issueSkill
- frontend-uiSkill
- full-test-batterySkill
- infrastructureSkill
- live-auth-checksSkill
- live-eval-and-costSkill
- prepare-changelogSkill
- product-demoSkill
- pr-review-ciSkill
- pr-reviewSkill
- releaseSkill
- release-validationSkill
- remove-classification-flat-keysSkill
- repo-quality-reviewSkill
- run-benchmarksSkill
- run-stack-testsSkill
- srt-security-scanSkill
- sync-pii-anonymizerSkill
- testing-qaSkill
- test-upgradeSkill
- transform-deploy-testSkill
- ui-i18nSkill
- update-solution-profileSkill
- ux-test-ciSkill
- ux-testSkill
- ux-test-stories-ciSkill
- ux-test-storiesSkill
- work-the-backlog-hazardsSkill
- work-the-backlogSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 8 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to take develop from a development build to a commit that is ready to merge to main, tag and publish.
- Distinctive: line 40
Use the first of these that applies, and say which rule chose it:
- Very specific: line 57
If a ## [<x.y.z>] section already exists, or a tag v<x.y.z> exists, this release was already cut: stop and ask.
- Very specific: line 69
Use make version and nothing else: it rewrites VERSION, the package version files, the seller entitlement service template, the idp_common …
- Distinctive: line 77
Follow the French section of prepare-changelog:
- Very specific: line 84
If check_ui_string_debt.py reports a skip because src/ui/node_modules is out of date, run npm ci in src/ui and repeat it.
- Very specific: line 91
Follow prepare-changelog over [Unreleased], putting the Step 3 figures in the entry about the web UI's languages.
- Very specific: line 94
Follow cut-release-changelog: the heading becomes ## [<x.y.z>] and the ## Templates block is added, one URL per Region, with the Regions …
- Distinctive: line 98
If the user asked for the whole preparation in one go, apply the prune and continue.
- Distinctive: line 103
Follow update-solution-profile against the section you just cut.
- Very specific: line 117
A migration page for every action item: If the section has ⚠️ Action: items, docs/migration-v<prev>-to-v<new>.md (dots removed, such as …
- Very specific: line 121
Links resolve: Run make check-markdown-links.
- Very specific: line 123
No counts in prose outside the CHANGELOG: Run python3 -m pytest -q scripts/tests/test_documented_counts.py.
- Very specific: line 128
Run these one after another, not in parallel.
- Distinctive: line 139
Read the SRT findings table, not only its exit code.
- Distinctive: line 157
Ask before you commit or push unless the user's request already said to.
- Distinctive: line 178
Verify the artifacts are public (Step 4 and section 5).
- Distinctive: line 180
Create the GitHub Release (Step 6).
- Very specific: line 185
After the release, make version V=<x.y.z+1>.dev1 turns the solution profile's release rules off again for the next cycle.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prep develop for a release — GenAI IDP Accelerator
Use this skill to take develop from a development build to a commit that is ready to
merge to main, tag and publish. It runs, in order, the steps that
docs/release-runbook.md lists before publishing
(its sections 1.1, 1.2 and Steps 1–2), using the existing skills for each. It stops
before publishing: nothing here uploads, tags, creates a GitHub Release or merges to
main.
Trigger phrases: "prep develop for release", "prepare the 0.6.17 release", "get develop ready to release".
Each sub-step has its own skill, which stays the authority for that step. Read each one when you reach it and follow it in full; this file only says the order, how the version is chosen, and what else has to be true before the merge.
Step 0 — Start from a synced, clean develop
git switch develop
git fetch origin && git fetch github
git rev-parse origin/develop github/develop HEAD # all three must match
git status --short # nothing unexpectedorigin is GitLab and github is GitHub. If the two remote develops differ, sync them
first, as .claude/rules/security-and-published-text.md describes (merge locally and
push develop to both with ALLOW_SHARED_BRANCH=1). A fetch from GitLab that fails
leaves a stale origin/develop that only looks in sync, so check that the fetch
succeeded before you compare. If the tree holds changes you did not make, stop and ask
whose they are.
Step 1 — Choose the version
Use the first of these that applies, and say which rule chose it:
- The version the user gave. It must be a final
X.Y.Z. - The base of
VERSION's pre-release, whenVERSIONis a development or release candidate build of a version that has not been released:0.6.17.dev3or0.6.17rc1gives0.6.17. - The previous release plus one patch, read from the first
## [x.y.z]heading below## [Unreleased]inCHANGELOG.md:0.6.16gives0.6.17.
Then check it:
cat VERSION
git describe --tags --abbrev=0 # the previous release; the new version must be greater
grep -n "^## \[" CHANGELOG.md | head -3 # the new version must not have a section yetIf a ## [<x.y.z>] section already exists, or a tag v<x.y.z> exists, this release was
already cut: stop and ask. If VERSION is already the final <x.y.z>, Step 2 is a
no-op, but run it anyway, because it is safe to repeat and it rewrites every file it
stamps.
Step 2 — Stamp the version
make version V=<x.y.z>
cat VERSION # exactly <x.y.z>Use make version and nothing else: it rewrites VERSION, the package version files,
the seller entitlement service template, the idp_common lockfile entry and the
solution profile manifest, and lists every path it changed. Do not edit any of them by
hand. Once VERSION is final, make solution-profile-check, and so make lint, stays
red until Step 5 is done. That is expected.
Step 3 — Catch up the French (Canada) translations, and take the figures
Follow the French section of prepare-changelog:
make ui-i18n-coverage # fr-CA missing and stale must be 0
python3 scripts/check_ui_string_debt.py --summary # hardcoded strings leftIf check_ui_string_debt.py reports a skip because src/ui/node_modules is out of
date, run npm ci in src/ui and repeat it. A skip is not a figure. If fr-CA has
missing or stale entries, the catch-up needs Bedrock credentials and a person to read
the review. Report that to the user and wait; do not cut the CHANGELOG without it.
Step 4 — Prune and cut the CHANGELOG
- Follow prepare-changelog over
[Unreleased], putting the Step 3 figures in the entry about the web UI's languages. Show the user every entry you dropped and every set you merged, as that skill requires. - Follow cut-release-changelog: the heading becomes
## [<x.y.z>]and the## Templatesblock is added, one URL per Region, with the Regions and bucket basenames taken fromscripts/aws-release.sh.
If the user asked for the whole preparation in one go, apply the prune and continue. The list of drops and merges is what they review afterwards.
Step 5 — Review the solution profile
Follow update-solution-profile against the
section you just cut. Add a changes.yaml entry whose action_required mirrors every
⚠️ and **Action:** item in the section, update the curated files the section
changes, and only then set reviewed_for_version. The check also reports evidence
anchors that a documentation change broke during the cycle. Fix those as well, because
the check fails on them.
make solution-profile-check # release rules ON, "valid", cross-checks passed
make solution-profile-build # run twice: the .sha256 must not changeStep 6 — Check what a reader of the release needs
- A migration page for every action item. If the section has
⚠️ **Action:**items,docs/migration-v<prev>-to-v<new>.md(dots removed, such asmigration-v0615-to-v0616.md) should exist and be linked from the section. If the items need one and it is missing, tell the user. Do not write it inside this skill. - Links resolve. Run
make check-markdown-links. The new section links many anchors, and an anchor renamed during the cycle breaks one quietly. - No counts in prose outside the CHANGELOG. Run
python3 -m pytest -q scripts/tests/test_documented_counts.py.
Step 7 — Run the offline gates on the release commit
Run these one after another, not in parallel. They share one checkout and one
node_modules, and two at once can fail each other.
make lint # includes solution-profile-check, the UI and i18n gates
make typecheck
make test
make dep-audit
make srt-setup && make srt-scan # before any publish: publish output is scanned tooRead the SRT findings table, not only its exit code. Report every failure with its
output. A failure that is already present on develop and not caused by this change is
still reported, labelled as pre-existing (.claude/skills/full-test-battery/SKILL.md
holds the known baseline). The gates are advisory: report the result and do not refuse
to continue on one.
Step 8 — Commit the release preparation
The release commit holds VERSION, the stamped version files, CHANGELOG.md,
solution-profile/ and any link or anchor fixes, and nothing else. Check with
git status --short.
git add -A -- VERSION CHANGELOG.md solution-profile lib feature-platform/seller-entitlement-service
git status --short # review: only release-preparation paths
git commit -m "Prepare release <x.y.z>"Ask before you commit or push unless the user's request already said to.
- Directly on
develop, if the user said so: prefix the commit and the push withALLOW_SHARED_BRANCH=1, then pushdevelopto both remotes (git push origin developandgit push github develop), so that GitLab and GitHub stay identical. Before the GitHub push, scan the commit for internal references. - Otherwise, commit on
release/<x.y.z>and open a pull request todevelop.
The commit message is published text: write it at summary level.
Step 9 — Report, and hand over what is next
Report the version and the rule that chose it, the CHANGELOG drops and merges, the
French figures, the solution profile changes, each gate's result, and the commit SHA and
where it was pushed. Then list what this skill does not do, which the maintainer runs
from docs/release-runbook.md, and which the
release skill runs with make release:
- Merge
developintomain. - Publish the artifacts with
scripts/aws-release.sh(runbook Step 3). The CHANGELOG template URLs return 404 until it lands. - Verify the artifacts are public (Step 4 and section 5).
- Tag
v<x.y.z>and push the tag (Step 5). - Create the GitHub Release (Step 6). The solution profile workflow attaches its tarball.
make docs-deploy(Step 7).- The live validation battery,
.claude/skills/release-validation/SKILL.md(Step 8).
After the release, make version V=<x.y.z+1>.dev1 turns the solution profile's release
rules off again for the next cycle.
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.

