agentleFS
ElasticKnown publisherelastic/terraform-provider-ec/.agents/skills/release/SKILL.md

release

Skill183 starsChanged 20 days agoApache-2.0View on GitHub

Prepare and publish a new release of terraform-provider-ec. Bumps version, consolidates changelog, creates prep PR, and optionally tags.

  • Commits and pushes

196 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 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    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 a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    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

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 0 are common, 7 are distinctive, and 13 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 13

    Very specific

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

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

    If the user provided an explicit version like X.Y.Z, use that.

    line 15
  2. Distinctive:

    If no argument is given, analyze the changes to decide:

    line 18
  3. Distinctive:

    patch: only bug fixes since last release

    line 19
  4. Distinctive:

    No major releases — the project doesn't do major bumps yet

    line 21
  5. Very specific:

    Check existing .changelog/*.txt files in the repo.

    line 39
  6. Very specific:

    IMPORTANT: Verify each .changelog/*.txt file's content matches upstream, not just the local copy.

    line 40
  7. Distinctive:

    After the user approves the changelog:

    line 52
  8. Very specific:

    Create a new branch: prep-X.Y.Z

    line 54
  9. Very specific:

    Update provider version (without -dev) in:

    line 56
  10. Very specific:

    All files under examples/ that declare the ec provider You can use ./scripts/update-provider-version.sh X.Y.Z for this.

    line 58
  11. Very specific:

    Write the new changelog section to CHANGELOG.md (prepend before the previous release)

    line 60
  12. Very specific:

    Delete all .changelog/*.txt files, including release-note:none fragments (they are not rendered into CHANGELOG.md but would otherwise …

    line 61
  13. Very specific:

    Commit with message: Prepare X.Y.Z release

    line 64
  14. Distinctive:

    Ask the user before creating the PR.

    line 68
  15. Very specific:

    Create PR with title Prepare X.Y.Z release targeting master

    line 70
  16. Very specific:

    Changelog follow-up (required): after the PR number is known, write .changelog/{PR}.txt with a release-note:none fence, commit it, and push.

    line 71
  17. Distinctive:

    Only when the user explicitly asks to tag (typically after the PR is merged):

    line 83
  18. Distinctive:

    Ensure you're on master with the merge commit

    line 84
  19. Very specific:

    Run make tag — it creates the vX.Y.Z tag (the VERSION minus its -dev suffix) and pushes it to the remote pointing at …

    line 85
  20. Very specific:

    Do not gh release edit. make release (Buildkite) fills the GitHub release body from this version's CHANGELOG.md section …

    line 87

“Common” is measured: kept by at least 6 in 10 of the 186 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 terraform-provider-ec

Prepare a new release for the Terraform Provider for Elastic Cloud.

Determine version

If the user provided an explicit version like X.Y.Z, use that. Otherwise determine the bump type:

  • $ARGUMENTS can be patch, minor, or an explicit version like 0.13.0
  • If no argument is given, analyze the changes to decide:
    • patch: only bug fixes since last release
    • minor: any new features, enhancements, or breaking changes
    • No major releases — the project doesn't do major bumps yet
  • Tell the user what version you're targeting and why before proceeding.

Step 1: Identify changes since last release

  1. Find the last release tag: git describe --tags $(git rev-list --tags --max-count=1)
  2. Get its date: git log -1 --format=%ai <tag>
  3. Fetch all PRs merged since that date:
    gh pr list --repo elastic/terraform-provider-ec --state merged --search "merged:>YYYY-MM-DD" --json number,title,mergedAt --limit 100
  4. Filter out dependency updates (fix(deps):, chore(deps):), CI changes (chore: actions/checkout, actions/setup-go, etc.), and the previous release prep PR.
  5. For each remaining PR, check its .changelog/ entry. Flag PRs that look user-facing but have only release-note:none (or no entry at all — pre-check PRs). release-note:none is the correct signal for non-user-facing work; it must not appear under FEATURES/ENHANCEMENTS/BUG FIXES.

Step 2: Build changelog

  1. Check existing .changelog/*.txt files in the repo.
  2. IMPORTANT: Verify each .changelog/*.txt file's content matches upstream, not just the local copy. Use git show upstream/master:.changelog/NNN.txt or check GitHub.
  3. Draft the full changelog section using the format from scripts/changelog.tmpl:
    • BREAKING CHANGES (release-note:breaking-change)
    • NOTES (release-note:note)
    • FEATURES (release-note:feature, release-note:new-resource, release-note:new-data-source)
    • ENHANCEMENTS (release-note:enhancement)
    • BUG FIXES (release-note:bug)
  4. Include entries for user-facing PRs that are missing .changelog/ files.
  5. Present the changelog draft to the user for review before writing any files.

Step 3: Apply changes

After the user approves the changelog:

  1. Create a new branch: prep-X.Y.Z
  2. Bump version in Makefile and ec/version.go to X.Y.Z-dev (keep the -dev suffix)
  3. Update provider version (without -dev) in:
    • README.md
    • All files under examples/ that declare the ec provider You can use ./scripts/update-provider-version.sh X.Y.Z for this.
  4. Write the new changelog section to CHANGELOG.md (prepend before the previous release)
  5. Delete all .changelog/*.txt files, including release-note:none fragments (they are not rendered into CHANGELOG.md but would otherwise accumulate on master). Release-prep PRs also need their own .changelog/{PR}.txt with release-note:none.
  6. Commit with message: Prepare X.Y.Z release

Step 4: Create PR

Ask the user before creating the PR. When approved:

  • Push the branch
  • Create PR with title Prepare X.Y.Z release targeting master
  • Changelog follow-up (required): after the PR number is known, write .changelog/{PR}.txt with a release-note:none fence, commit it, and push. Step 3 deletes every fragment before the number exists, so without this follow-up commit Check PR changelog stays red. Example body:

    ```release-note:none
    ```

Step 5: Tag (after merge)

Only when the user explicitly asks to tag (typically after the PR is merged):

  1. Ensure you're on master with the merge commit
  2. Run make tag — it creates the vX.Y.Z tag (the VERSION minus its -dev suffix) and pushes it to the remote pointing at elastic/terraform-provider-ec, which triggers the Buildkite release pipeline.
  3. Equivalently, tag and push by hand: git tag vX.Y.Z then git push <remote> vX.Y.Z, where <remote> is the one pointing at elastic/terraform-provider-ec (often upstream).
  4. Do not gh release edit. make release (Buildkite) fills the GitHub release body from this version's CHANGELOG.md section (scripts/extract-release-notes.sh → GoReleaser --release-notes; changelog.disable in .goreleaser.yml would ignore that file). After the pipeline finishes, confirm gh release view vX.Y.Z --repo elastic/terraform-provider-ec shows that section (not an empty body).

Important rules

  • Don't post anything to GitHub until the user explicitly asks.
  • Always present the changelog for review before writing files.
  • Keep -dev suffix in Makefile and ec/version.go.
  • Verify .changelog/ file contents against upstream.
  • Check all merged PRs, not just those with .changelog/ entries.
  • Do not gh release edit for notes. make release copies CHANGELOG.md into the GitHub release via --release-notes (requires the GoReleaser changelog pipe to stay enabled).

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.