agentleFS
Microsoft AzureKnown publisherAzure/AppConfiguration-GoProvider/.github/skills/go-provider-release/SKILL.md

go-provider-release

Skill6 starsChanged 7 months agoMITView on GitHub

Release the Azure App Configuration Go Provider. Use when: releasing a new version, bumping version, tagging a release, publishing to Go proxy, creating release PRs.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    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
  1. Very specific:

    Write access to Azure/AppConfiguration-GoProvider

    line 19
  2. Distinctive:

    Every PR in this release follows the same three-phase cycle.

    line 23
  3. Distinctive:

    Create one agent task for the next PR in the sequence.

    line 27
  4. Very specific:

    Keep polling until the session state is Ready for review.

    line 39
  5. Distinctive:

    Follow these steps in order.

    line 57
  6. Distinctive:

    Use the Create → Monitor Task → Monitor PR cycle:

    line 61
  7. Distinctive:

    After the version bump PR is merged, fetch the release branch and create a git tag at the HEAD:

    line 81
  8. Distinctive:

    After user confirmation, run:

    line 110

≈ “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

Go Provider Release

When to Use

  • Release a new version of the Azure App Configuration Go Provider
  • Bump the module version and publish to the Go module proxy

Prerequisites

  • GitHub CLI (gh) ≥ 2.86.0
  • Authenticated via gh auth login with repo and read:org scopes
  • GitHub Copilot agent enabled for the repository
  • Write access to Azure/AppConfiguration-GoProvider

Cycle: Create → Monitor Task → Monitor PR

Every PR in this release follows the same three-phase cycle. The steps below reference this cycle.

A. Create the agent task

Create one agent task for the next PR in the sequence. Each command returns a URL in the format:

https://github.com/Azure/AppConfiguration-GoProvider/pull/<pr-id>/agent-sessions/<agent-session-id>

B. Monitor the agent task

Extract the agent-session-id from the URL returned in step A, then poll:

gh agent-task view <agent-session-id>

Keep polling until the session state is Ready for review. Print the PR URL for reference.

C. Monitor the PR until merged

Poll the PR every 10 minutes. Stop monitoring if:

  • PR state is MERGED → proceed to the next step (or finish if this was the last PR).
  • PR state is CLOSED or Abandoned → report and stop the release.
  • 24 hours elapsed → report current status and stop the release.
gh pr view <pr-id> --repo Azure/AppConfiguration-GoProvider --json state --jq '.state'

Procedure

Follow these steps in order. Each step depends on the previous one completing successfully.

Step 1 — Create Version Bump PR

Use the Create → Monitor Task → Monitor PR cycle:

A. Create the agent task:

gh agent-task create \
  "Please create a version bump PR for version <version>. \
  Checkout a new branch from release/v<version> (e.g. version-bump/v<version>), \
  update the moduleVersion in azureappconfiguration/version.go to <version>, \
  and open a PR targeting the release/v<version> branch with title 'Version bump v<version>'." \
  --repo Azure/AppConfiguration-GoProvider \
  --base release/v<version>

B. Monitor the agent task until session state is Ready for review.

C. Monitor the PR until it is merged. Do not proceed until the PR state is MERGED.

Step 2 — Tag the Release

After the version bump PR is merged, fetch the release branch and create a git tag at the HEAD:

git fetch origin release/v<version>
git tag azureappconfiguration/v<version> origin/release/v<version>

Step 3 — Push the Tag

Push the tag to the remote:

git push origin azureappconfiguration/v<version>

Step 4 — Publish to Go Module Proxy

Before executing the publish command, generate a summary report table for human review:

ItemDetail
Versionv<version>
Version fileazureappconfiguration/version.go updated to <version>
Tag pushedazureappconfiguration/v<version>
Publish commandGOPROXY=proxy.golang.org go list -m github.com/Azure/AppConfiguration-GoProvider/azureappconfiguration@v<version>
Next stepAfter publish, create merge-back PR (release branch → main)

Pause here. Present the table and wait for the user to confirm before proceeding.

After user confirmation, run:

GOPROXY=proxy.golang.org go list -m github.com/Azure/AppConfiguration-GoProvider/azureappconfiguration@v<version>

Step 5 — Create Merge-Back PR

Use the Create → Monitor Task → Monitor PR cycle:

A. Create the agent task:

gh agent-task create \
  "Please create a PR to merge release/v<version> back to main with title 'Merge release/v<version> to main'." \
  --repo Azure/AppConfiguration-GoProvider \
  --base main

B. Monitor the agent task until session state is Ready for review.

C. Monitor the PR until it is merged. The release is complete once this PR is merged.

Notes

  • The version in azureappconfiguration/version.go uses the format X.Y.Z (no v prefix) in the moduleVersion constant.
  • Tags use the format azureappconfiguration/vX.Y.Z (with v prefix and module path prefix).
  • The publish command only changes the version portion: @vX.Y.Z.

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.