agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-net/.github/skills/refresh-arm-sdk-release/SKILL.md

refresh-arm-sdk-release

Skill6.1k starsChanged 8 months agoMITView on GitHub

**WORKFLOW SKILL** — Prepares Azure.ResourceManager SDK refresh pull requests in azure-sdk-for-net. WHEN: \"prepare sdk refresh\", \"refresh Azure.ResourceManager package\", \"update ARM SDK from autorest tag\", \"refresh changelog dependencies\". INVOKES: git and GitHub pull request tools for branch, commit, push, and PR creation. FOR SINGLE OPERATIONS: Use git or GitHub tools directly.

Trending

Quiet this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Azure/azure-sdk-for-net repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Azure/azure-sdk-for-net

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub, Bluesky and Hacker News (9 times).

On GitHub · 4

On Bluesky · 4

On Hacker News · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. About 0 are common, 14 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill only for refresh-style updates (for example regenerated surface alignment, changelog maintenance, dependency version …

    line 12
  2. Distinctive:

    Do not use this skill for broad or feature-driven package releases, release planning across multiple packages, or non-refresh release …

    line 13
  3. Distinctive:

    Create a new branch from origin/main.

    line 25
  4. Distinctive:

    Use a branch name that identifies package and date.

    line 26
  5. Distinctive:

    Before doing any further work on a package, check the CHANGELOG.md and skip the package (do not refresh it) if either of the following is …

    line 29
  6. Distinctive:

    When skipping a package, log it clearly as SKIPPED with the reason, and move on to the next package in the batch.

    line 34
  7. Very specific:

    Check metadata.json in the package root.

    line 37
  8. Distinctive:

    If present, use apiVersions value.

    line 38
  9. Very specific:

    If metadata.json is missing, check src/autorest.md for an uncommented tag.

    line 39
  10. Very specific:

    If tag is missing there, use the require value in src/autorest.md to open the referenced readme.md and read tag under Basic Information.

    line 40
  11. Distinctive:

    If API version source indicates preview, use beta flow.

    line 43
  12. Very specific:

    If the latest released version is stable (e.g., 1.1.1): increment its patch to get the new version (e.g., 1.1.2).

    line 51
  13. Very specific:

    If the latest released version is beta (e.g., 1.1.0-beta.7): strip the pre-release suffix to get the new version (e.g., 1.1.0).

    line 52
  14. Very specific:

    If no released version exists at all (every entry is Unreleased or the changelog is empty): use 1.0.0.

    line 53
  15. Distinctive:

    Update the unreleased entry's heading to reflect the new stable version.

    line 54
  16. Distinctive:

    Remove empty sections under the latest entry when present:

    line 55
  17. Distinctive:

    If stable flow, set Version in src/Azure.ResourceManager.XXX.csproj to the new stable version matching the changelog entry.

    line 65
  18. Distinctive:

    If beta flow, keep beta versioning and do not apply a version bump.

    line 66
  19. Very specific:

    Add the line This is the first stable release of this library.

    line 70
  20. Very specific:

    If it contains --prerelease, remove that flag so the command installs the stable package.

    line 72
  21. Distinctive:

    Commit with a refresh-focused message.

    line 76
  22. Distinctive:

    Create PR with title format:

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Refresh ARM SDK Release Skill

When to Use This Skill

Activate only when the user wants an Azure.ResourceManager package refresh PR driven by API-version/tag resolution and dependency/changelog refresh updates.

Scope Boundaries

  • Use this skill only for refresh-style updates (for example regenerated surface alignment, changelog maintenance, dependency version refresh, and refresh PR creation).
  • Do not use this skill for broad or feature-driven package releases, release planning across multiple packages, or non-refresh release orchestration.

Prerequisites

  • Repository: azure-sdk-for-net
  • Target package path is known, for example sdk/dns/Azure.ResourceManager.Dns
  • Access to remote origin and GitHub PR creation
  • Current date available in yyyy-mm-dd format

Workflow

Step 1: Create Branch

  • Fetch latest origin/main.
  • Create a new branch from origin/main.
  • Use a branch name that identifies package and date.

Step 2: Eligibility Check — Skip Conditions

Before doing any further work on a package, check the CHANGELOG.md and skip the package (do not refresh it) if either of the following is true:

  1. Already released: The latest changelog entry does NOT contain (Unreleased) — it already has a release date (e.g., ## 1.2.0 (2026-04-17)). This means a release was already prepared and no new (Unreleased) entry exists to stamp.
  2. Dependencies already up to date: Any changelog entry (across all released versions, not just the latest) already contains upgrade lines for both the current Azure.Core and Azure.ResourceManager versions (resolved from eng/centralpackagemanagement/Directory.Packages.props). If these exact versions were already shipped in any prior release, adding them again provides no value, so skip.

When skipping a package, log it clearly as SKIPPED with the reason, and move on to the next package in the batch.

Step 3: Determine API Version Source in Order

  • Check metadata.json in the package root.
  • If present, use apiVersions value.
  • If metadata.json is missing, check src/autorest.md for an uncommented tag.
  • If tag is missing there, use the require value in src/autorest.md to open the referenced readme.md and read tag under Basic Information.

Step 4: Decide SDK Versioning Mode

  • If API version source indicates preview, use beta flow.
  • Otherwise use stable flow.

Step 5: Update CHANGELOG.md

  • Confirm the newest heading exists and has the latest package version.
  • During release finalization, replace Unreleased with current date using yyyy-mm-dd.
  • For stable flow only, determine the new stable version using this logic:
    1. Find the latest released version in the CHANGELOG — the first entry that does NOT have (Unreleased).
    2. If the latest released version is stable (e.g., 1.1.1): increment its patch to get the new version (e.g., 1.1.2).
    3. If the latest released version is beta (e.g., 1.1.0-beta.7): strip the pre-release suffix to get the new version (e.g., 1.1.0). This handles promotion when the most recent work was done as beta.
    4. If no released version exists at all (every entry is Unreleased or the changelog is empty): use 1.0.0.
  • Update the unreleased entry's heading to reflect the new stable version.
  • Remove empty sections under the latest entry when present:
    • Features Added
    • Breaking Changes
    • Bugs Fixed
  • Under Other Changes, add:
    • Upgraded dependent Azure.Core to 1.X.X.
    • Upgraded dependent Azure.ResourceManager to 1.X.X.
  • Always resolve these exact versions from eng/centralpackagemanagement/Directory.Packages.props at the time of refresh — do not hardcode or cache version numbers, as they may change between batches.

Step 6: Update Project Version for Stable Flow Only

  • If stable flow, set Version in src/Azure.ResourceManager.XXX.csproj to the new stable version matching the changelog entry.
  • If beta flow, keep beta versioning and do not apply a version bump.

Step 6b: Update README for First Stable Release

  • This applies only when there is no prior stable release in the CHANGELOG (only beta entries exist).
  • Add the line This is the first stable release of this library. immediately after the version heading (before any sections).
  • Open README.md in the package root and find the dotnet add package installation command.
  • If it contains --prerelease, remove that flag so the command installs the stable package.
  • Example: dotnet add package Azure.ResourceManager.XXX --prerelease → dotnet add package Azure.ResourceManager.XXX

Step 7: Commit, Push, and Create PR

  • Commit with a refresh-focused message.
  • Push branch to origin.
  • Create PR with title format:
    • Prepare release for Azure.ResourceManager.XXX Version 1.x.x
  • Include summary of API source decision, refresh changes, and versioning mode.

Copyable Checklist

Refresh PR progress:

  • Branch created from origin/main
  • Eligibility checked — packages with no Unreleased entry or already-current deps skipped
  • API version source resolved using required precedence
  • Beta or stable mode decided
  • Changelog latest entry updated
  • Unreleased replaced with current date yyyy-mm-dd
  • Dependency upgrade lines added using central package versions
  • Csproj version updated if stable flow
  • README --prerelease flag removed if first stable release (version 1.0.0)
  • Commit and push completed
  • PR created with required title format

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.