agentleFS
MicrosoftKnown publishermicrosoft/powerquery-language-services/.github/skills/prepare-release/SKILL.md

prepare-release

Skill51 starsChanged 25 days agoMITView on GitHub

Prepare a shared Power Query package release by choosing and applying the version, auditing consumer-facing changes since the previous release, finalizing every package changelog, and validating the release artifacts. Use when asked to prepare, stage, or review a release.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use publish-release, sync-docs and 8 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.
  • Model Context ProtocolSkill

    publish-release

    Publish a GitHub release for the C# MCP SDK after a prepare-release PR has been merged. Refreshes release notes to include any PRs merged since preparation, warns about version or breaking change impacts from late-arriving PRs, and creates a draft GitHub release. Use when asked to publish a release, finalize a release, create release notes, or complete a release after the prepare-release PR has been merged.

    Also in 4 projects that use this

  • MichaelRyanWoodSkill

    sync-docs

    Audit and update AI support documentation (ARCHITECTURE.md, SECURITY.md, CLAUDE.md, diagrams/) to reflect recent code changes. Run after completing a feature, fix, or refactor to keep docs accurate.

    Also in 4 projects that use this

  • thlaureSkill

    review-change

    Use this skill when the user asks for a code review, a correctness pass, a check before PR, or asks whether a Signalist change follows project conventions.

    Also in 3 projects that use this

  • DockerSkill

    fix-issue

    Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".

    Also in 4 projects that use this

  • kiminmonacoSkill

    implement-feature

    Guide for implementing features in ClaudeBar following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. Use this skill when: (1) Adding new functionality to the app (2) Creating domain models that follow user's mental model (3) Building SwiftUI views that consume domain models directly (4) User asks "how do I implement X" or "add feature Y" (5) Implementing any feature that spans Domain, Infrastructure, and App layers

    Also in 3 projects that use this

  • SentrySkill

    write-docs

    Create or update documentation pages for the Abacus docs site. Use when adding new documentation, updating existing pages, or ensuring docs stay in sync with code changes. Ensures pages follow Starlight patterns and build correctly.

    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

15 rules. 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All three public packages share one version and use exact internal dependencies.

    line 11
  2. Distinctive:

    Check the worktree status and preserve unrelated changes.

    line 17
  3. Very specific:

    Before editing, copy every entry currently under each Unreleased heading.

    line 31
  4. Distinctive:

    Add a missing entry only for an observable downstream-consumer or user-facing change.

    line 44
  5. Distinctive:

    After reviewing the full change set, assess the SemVer level independently of the selected target.

    line 50
  6. Very specific:

    Use exactly one existing category prefix for every added consumer-facing entry: Added, Changed, Deprecated, Removed, Fixed, or Security.

    line 55
  7. Very specific:

    If a package has no direct consumer-facing change but its published package dependencies changed, add - Changed: Updated package …

    line 69
  8. Very specific:

    If the package has neither consumer-facing changes nor package dependency changes, add - Version change only

    line 71
  9. Very specific:

    Remove the Unreleased heading for the prepared release.

    line 73
  10. Distinctive:

    Keep prior release sections unchanged and in descending version order.

    line 74
  11. Very specific:

    After editing, compare the final entries with the saved Unreleased entries and confirm that every saved entry remains present under the new …

    line 76
  12. Very specific:

    Run npm run version:patch when the user did not provide an exact version.

    line 88
  13. Distinctive:

    every public package has the target version.

    line 91
  14. Distinctive:

    no unrelated dependency or metadata changes were introduced.

    line 95
  15. Distinctive:

    Use the repository's release sequence:

    line 99

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

Prepare a release

Prepare the repository for review. Do not commit, create a Git tag, push, publish packages, or create a GitHub release unless the user explicitly requests that separate release action.

All three public packages share one version and use exact internal dependencies. Run release commands from the repository root and use the existing release tooling rather than editing package manifests or the lockfile by hand.

Establish the release

  1. Check the worktree status and preserve unrelated changes.
  2. Find the latest release tag reachable from HEAD, using tags named v<SemVer>. Confirm that it is an annotated tag and use its target as the change-review baseline.
  3. Determine the target version. Use a version supplied by the user. Otherwise increment the shared patch version.
  4. Confirm that the target is valid full SemVer, is greater than the current shared package version, and does not already have a local or remote v<version> tag.

The expected source tag is v<version>. Report it in the final handoff, but do not create it during release preparation. A release tag must point to the finalized, validated release commit, not an earlier preparation commit.

Audit the changelogs

Before editing, copy every entry currently under each Unreleased heading. Move those entries into the new version section, preserving their wording and order. Append the originating GitHub pull request reference if it is missing; do not otherwise rewrite, combine, or silently drop an existing entry. Flag a questionable existing entry in the final handoff instead.

Review the commits and diff from the previous release tag through HEAD. Inspect the associated pull request or implementation when a title does not establish consumer impact. Classify each applicable change by the package whose published behavior or contract changed:

  • packages\powerquery-parser
  • packages\powerquery-formatter
  • packages\powerquery-language-services

Add a missing entry only for an observable downstream-consumer or user-facing change. Include public API and type behavior, parsing or formatting behavior, diagnostics and editor features, runtime requirements, security fixes, packaging, exports, and runtime dependency changes when applicable. Exclude tests, CI, documentation, refactoring, code style, development tooling, and dependency-only maintenance that does not change the published package.

After reviewing the full change set, assess the SemVer level independently of the selected target. Recommend a minor version for backward-compatible new functionality and a major version for breaking consumer changes. Explain the reason and ask before changing from the default patch version; do not silently promote the release.

Use exactly one existing category prefix for every added consumer-facing entry: Added, Changed, Deprecated, Removed, Fixed, or Security. Keep new text brief and describe the observable result rather than the implementation or pull request title. End every consumer-facing entry in the finalized version section with a clickable GitHub pull request Markdown link in the form ([#<number>](https://github.com/microsoft/powerquery-language-services/pull/<number>)), including entries moved from Unreleased. Trace copied entries to the commits and associated pull requests rather than requiring authors to know the PR number before creating it. The generated Updated package dependencies and Version change only entries are release bookkeeping rather than consumer-facing changes and do not need pull request references.

Finalize all three changelogs:

  • Replace ## Unreleased with ## <version> when it exists.
  • Otherwise insert ## <version> above the previous release.
  • If a package has no direct consumer-facing change but its published package dependencies changed, add - Changed: Updated package dependencies.
  • If the package has neither consumer-facing changes nor package dependency changes, add - Version change only
  • Remove the Unreleased heading for the prepared release.
  • Keep prior release sections unchanged and in descending version order.

After editing, compare the final entries with the saved Unreleased entries and confirm that every saved entry remains present under the new version in the original order, with only a pull request reference appended when needed.

Apply the shared version

For an explicit version, run:

npm run version:set -- <version>

Run npm run version:patch when the user did not provide an exact version. Review all package manifests and package-lock.json. Confirm that:

  • every public package has the target version;
  • internal package dependencies use that exact version;
  • stable releases use the latest npm dist-tag;
  • prereleases use the next npm dist-tag;
  • no unrelated dependency or metadata changes were introduced.

Validate and hand off

Use the repository's release sequence:

npm ci --ignore-scripts
npm audit --omit=dev --audit-level=low
npm audit --audit-level=high
npm run clean
npm run build
npm run lint
npm test
npm run validate:release

Require the production dependency audit to complete successfully with zero vulnerabilities at every severity. Require the full dependency audit to have no high or critical vulnerabilities, and review and report any lower-severity development-only findings. Do not run npm audit fix during release preparation because it can introduce unrelated or breaking dependency changes.

An audit service, registry, authentication, rate-limit, or network error is not a clean audit. Report the blocker and rerun through the approved registry before declaring the release ready.

Inspect dist\release-manifest.json and confirm the release version, source commit, package order, dist-tags, internal dependency closure, and three tarballs match the prepared release. Do not treat generated dist contents as source changes to commit.

Return the target version, previous release tag, expected new tag, changelog entries added or flagged, audit results, validation results, and the remaining release actions. The remaining actions normally include merging the preparation change, validating the final release commit, creating the annotated v<version> tag, and then using the approved publication and GitHub release process.

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.