agentleFS
Microsoft AzureKnown publisherAzure/azure-service-operator/.agents/skills/create-release/SKILL.md

create-release

Skill914 starsChanged 5 months agoMITView on GitHub

Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-review.

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.
  • AWSSkill

    pr-review

    AWS CDK CLI general PR reviewer. Use when reviewing any pull request to aws/aws-cdk-cli — the CLI (packages/aws-cdk), toolkit-lib, cloud-assembly-schema, cdk-assets, cloudformation-diff, integ-runner, or the projen/monorepo config. Precision-first: flags only concrete defects the PR introduces, across compatibility, architecture, error handling, testing, correctness, and PR scope.

    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

16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the latest tag is v2.19.0, the new version is v2.20.0 (increment the minor version).

    line 16
  2. Distinctive:

    All three pre-checks MUST pass before proceeding.

    line 20
  3. Distinctive:

    Check the pre-release upgrade tests workflow:

    line 24
  4. Distinctive:

    Check the scan controller image workflow:

    line 33
  5. Distinctive:

    Check the experimental release:

    line 42
  6. Distinctive:

    If any pre-check fails, report which check failed, why, and provide the relevant URL.

    line 49
  7. Very specific:

    Use the scripts/v2/create-release.sh script to create a draft release:

    line 66
  8. Distinctive:

    Create a local branch and make the following changes:

    line 75
  9. Very specific:

    Update supportedResourcesReport.currentRelease to the new version in both:

    line 79
  10. Distinctive:

    Run the code generators to update the resource documentation (moves resources from "Next Release" to "Released"):

    line 85
  11. Distinctive:

    Check if the milestone referenced by the new future version in the ROADMAP exists:

    line 103
  12. Distinctive:

    If the milestone does not exist, create it following the pattern of existing milestones:

    line 108
  13. Very specific:

    Create a branch named <user>/X.XX-docs (e.g.

    line 115
  14. Very specific:

    Commit all changes with message Update docs for <major>.<minor> (e.g.

    line 116
  15. Distinctive:

    After publishing, verify the release GitHub Action completes successfully

    line 144
  16. Distinctive:

    Create a blog post

    line 147

“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

Create ASO Release

This skill automates the end-to-end process of creating a new Azure Service Operator release. It runs pre-checks, generates release notes, creates a draft GitHub release, updates documentation, and opens a docs PR.

Determine the version

Determine the new version number by examining the latest release tag:

git describe --tags $(git rev-list --tags='v2*' --max-count=1) --match 'v2*'

If the latest tag is v2.19.0, the new version is v2.20.0 (increment the minor version).

Step 1: Pre-checks

All three pre-checks MUST pass before proceeding. If any check fails, STOP and report the failure. Do not continue with release creation.

1a. Pre-release upgrade tests

Check the pre-release upgrade tests workflow:

gh run list --workflow=pre-release-tests.yaml --limit=1 -R Azure/azure-service-operator --json status,conclusion,createdAt,url
  • Must be: conclusion: success
  • Must be within: the last 7 days

1b. Controller CVE scan

Check the scan controller image workflow:

gh run list --workflow=scan-controller-image.yaml --limit=1 -R Azure/azure-service-operator --json status,conclusion,createdAt,url
  • Must be: conclusion: success
  • Must be within: the last 7 days

1c. Experimental release

Check the experimental release:

gh release view experimental -R Azure/azure-service-operator --json tagName,createdAt,isDraft,isPrerelease,assets
  • Must be: published (not draft), all expected assets uploaded (9 assets: 5 asoctl binaries, CRD yaml, operator yaml, multitenant-cluster yaml, multitenant-tenant yaml)
  • Must be recent (within a few days of HEAD)

If any pre-check fails, report which check failed, why, and provide the relevant URL. Do not proceed.

Step 2: Generate release notes

Invoke the create-release-notes skill (defined in .agents/skills/create-release-notes/SKILL.md) to generate polished release notes. This involves:

  1. Running scripts/v2/generate-raw-changelog.sh to get the raw changelog
  2. Running scripts/v2/generate-raw-changelog.sh --api-only to identify API group changes
  3. Formatting the changelog into sections: New resources, Features, Bug fixes, Documentation

Save the release notes to a temp file:

/tmp/aso-<VERSION>-release-notes.md

Step 3: Create draft GitHub release

Use the scripts/v2/create-release.sh script to create a draft release:

scripts/v2/create-release.sh <VERSION> /tmp/aso-<VERSION>-release-notes.md

This creates a draft release on GitHub targeting the main branch. The release must be reviewed and published manually by a human.

Step 4: Update documentation and ROADMAP

Create a local branch and make the following changes:

4a. Update currentRelease in config files

Update supportedResourcesReport.currentRelease to the new version in both:

  • v2/azure-arm.yaml
  • hack/crossplane/azure-crossplane.yaml

4b. Regenerate documentation

Run the code generators to update the resource documentation (moves resources from "Next Release" to "Released"):

./hack/tools/task controller:generate-types
./hack/tools/task crossplane:generate-types
./hack/tools/task doc:crd-api

Note: controller:generate-types takes ~5-7 minutes. doc:crd-api also runs controller:generate-types internally and takes ~10 minutes total. Set generous timeouts (900000ms+).

4c. Update ROADMAP.md

In ROADMAP.md:

  1. Add the new version to the "Official Releases" table with today's date
  2. Remove the new version from the "Release Cadence & Planning" table
  3. Add a new future version to the end of the planning table (2 months after the last entry)

4d. Create the next milestone

Check if the milestone referenced by the new future version in the ROADMAP exists:

gh api repos/Azure/azure-service-operator/milestones --jq '.[] | "\(.number) \(.title)"'

If the milestone does not exist, create it following the pattern of existing milestones:

gh api repos/Azure/azure-service-operator/milestones -f title="v2.XX.0" -f description="" -f due_on="YYYY-MM-DDT00:00:00Z" -f state="open"

4e. Commit and open PR

  1. Create a branch named <user>/X.XX-docs (e.g. matthchr/2.20-docs)
  2. Commit all changes with message Update docs for <major>.<minor> (e.g. Update docs for 2.20)
  3. Push the branch
  4. Open a PR against main in Azure/azure-service-operator with:
    • Title: Update docs for <major>.<minor>
    • Body:
      - [x] this PR contains documentation
      - [ ] this PR contains tests
      - [ ] this PR contains YAML Samples

Final Report

At the end of the run, produce a summary report including:

  1. Pre-check results:
    • Pre-release upgrade tests: PASS/FAIL, date, [link to run]
    • Controller CVE scan: PASS/FAIL, date, [link to run]
    • Experimental release: PASS/FAIL, date, [link to release]
  2. Release:
    • Draft release URL (if created)
  3. Documentation PR:
    • PR URL (if created)
  4. Remaining manual steps:
    • Review and publish the draft release on GitHub
    • After publishing, verify the release GitHub Action completes successfully
    • Catalog any breaking changes (see docs/hugo/content/contributing/create-a-new-release.md)
    • Perform smoke testing (see same doc)
    • Create a blog post
    • Post a message in the Slack channel

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.