agentleFS
aws-solutions-library-samplesaws-solutions-library-samples/accelerated-intelligent-document-processing-on-aws/.claude/skills/release/SKILL.md

release

Skill329 starsChanged 6 days agoMIT-0View on GitHub

Use for 'release <x.y.z>' or 'ship the release' after prep-develop-for-release: merge develop to main, tag, publish the artifacts, create the GitHub Release, deploy the docs and start the next cycle on develop, with make release.

  • Reads credentials

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 (adding to the [Unreleased] section) or cutting a release (moving [Unreleased] under a new version heading).

    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

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    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

  • m13vSkill

    test-release

    Use when the user says "test the release", "smoke test", "verify the build works", "test staging", "test the new version", or after promoting a release to staging/beta/stable. Smoke-tests the shipped Fazm production app via Sparkle auto-update on local + MacStadium, sends test queries via distributed notifications, checks logs. Does NOT build anything.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use this skill once prep-develop-for-release has been done and committed, and develop is pushed to both remotes.

    line 8
  2. Distinctive:

    Run it from a terminal that already holds the publishing account's temporary credentials.

    line 19
  3. Very specific:

    Every stop prints STOPPED: with the reason, and nothing after the failing step has run.

    line 66
  4. Very specific:

    Do not delete or move a pushed tag, and do not force-push main or develop.

    line 78

“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 — GenAI IDP Accelerator

Use this skill once prep-develop-for-release has been done and committed, and develop is pushed to both remotes. It drives scripts/release.py (make release), which does the mechanical steps of docs/release-runbook.md in a fixed order and checks each step's preconditions first. The script is the authority. This file says when to run each phase and what to tell the user.

Trigger phrases: "release 0.6.17", "ship the release", "do the release now".

What make release does

Run it from a terminal that already holds the publishing account's temporary credentials. make release CONFIRM=<x.y.z> (phase all, the default) runs every check before it changes anything, including aws sts get-caller-identity, so wrong or expired credentials stop the release before the merge. It then asks once, naming the version, the account and the role, and runs the phases below in order. Each phase can also be run on its own with PHASE=, which is how a stopped release is resumed.

PhaseCommandSteps
gitmake release PHASE=gitPreflight: VERSION final, tree clean, develop and main identical locally and on both remotes, main an ancestor of develop, no v<x.y.z> tag or GitHub Release yet, the CHANGELOG section's Templates block naming every Region scripts/aws-release.sh publishes, and make solution-profile-check passing. Then it merges develop into main with --no-ff and the message Merge branch 'develop' v<x.y.z>, tags v<x.y.z>, and pushes main and the tag to both remotes
publishmake release PHASE=publishPreflight: HEAD is the tag on both remotes, tree clean, idp-cli --version matches, and the account and role of the credentials, which the confirmation names. With RELEASE_ACCOUNT_ID set, a different account is refused. Then it runs scripts/aws-release.sh (log in scratch/release-<x.y.z>-publish.log), printing each Region's start and finish with its duration, a heartbeat every minute with the publisher's latest status line, and a warning after five minutes with no output. While that runs it creates the GitHub Release as a draft, titled v<x.y.z>, with the CHANGELOG section from its heading through its Templates block as the notes. It then verifies, without credentials, every Region's versioned template, floating template, idp-main-latest.json and template Description, and only then publishes the release as latest. After that it runs phase post
postmake release PHASE=postmake docs-deploy from the tag. Then it switches to develop, fast-forwards it to main, runs make version V=<x.y.z+1>.dev1, commits Start <x.y.z+1>.dev1 development, and pushes develop to both remotes. SKIP_DOCS=1 or SKIP_BUMP=1 leaves out one half

DRY_RUN=1 prints every command and runs only the read-only checks; with a dirty tree or before the tag exists it reports those as warnings instead of stopping. At a terminal the confirmation can be typed instead of passing CONFIRM=; the Bash tool and ! commands have no terminal, so they must pass it.

The publish took 17 minutes for 0.6.16: about 6 for the first Region, which builds, and 3 to 5 for each later one, which reuses that build and only uploads. Isengard credentials can expire during a long run; start with a fresh session.

Procedure

  1. Dry run. make release DRY_RUN=1. Report any STOPPED: line and stop there.
  2. Credentials. Each ! command and each Bash tool call starts a new shell, so exported credentials do not carry over. Recommend the user runs the release in their own terminal: paste the credentials, then make release CONFIRM=<x.y.z>. To run it from the session instead, ask them to write the export lines to scratch/release-creds.env from a terminal (umask 077; cat > scratch/release-creds.env), run source scratch/release-creds.env && make release CONFIRM=<x.y.z> in the background, and delete the file afterwards. Never ask for credentials in the chat, and never write the account id into a tracked file: the repository is public and scripts/check_account_ids.py refuses it.
  3. Check the account the preflight prints before the confirmation is given, and stop if it is not the publishing account.
  4. Report. Give the release URL (gh release view v<x.y.z> --json url), the per-Region durations and verification results, the docs deploy result, and the new develop version and commit. Check that the Solution profile release asset workflow succeeded (gh run list --workflow solution-profile-release.yml --limit 1) and that the release carries its tarball and .sha256. New docs pages return 404 until the GitHub Pages build that docs-deploy starts has finished, a few minutes later.
  5. Hand over the live validation battery, which this skill does not run: release-validation.

When a phase stops

Every stop prints STOPPED: with the reason, and nothing after the failing step has run.

  • A preflight check fails. Nothing was changed. Fix the cause and rerun the phase.
  • aws-release.sh fails. The GitHub Release stays a draft. Read the log's last lines, fix the cause, and rerun PHASE=publish: it reuses the draft and republishes every Region, which overwrites the same keys.
  • Verification fails. The release stays a draft. Report each failing Region. Do not publish the release by hand until every check passes.
  • docs-deploy or the develop bump fails. The release is already out. Rerun PHASE=post, with SKIP_DOCS=1 if the docs were deployed.

Do not delete or move a pushed tag, and do not force-push main or develop. If a published release turns out to be broken, follow section 3.2 of the runbook.

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.