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

release

Skill183 starsChanged 3 months 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    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

19 rules. 0 are common, 7 are distinctive, and 12 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 12

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

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

    line 38
  7. Distinctive:

    After the user approves the changelog:

    line 50
  8. Very specific:

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

    line 52
  9. Very specific:

    Update provider version (without -dev) in:

    line 54
  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 56
  11. Very specific:

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

    line 58
  12. Very specific:

    Delete the .changelog/*.txt files that were consolidated

    line 59
  13. Very specific:

    Commit with message: Prepare X.Y.Z release

    line 60
  14. Distinctive:

    Ask the user before creating the PR.

    line 64
  15. Very specific:

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

    line 66
  16. Distinctive:

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

    line 70
  17. Distinctive:

    Ensure you're on master with the merge commit

    line 71
  18. 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 72
  19. Very specific:

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

    line 74

“Common” is measured: kept by at least 6 in 10 of the 172 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 if it has a .changelog/ entry. Flag PRs that look user-facing but have no changelog entry.

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 the .changelog/*.txt files that were consolidated
  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

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.