agentleFS
MicrosoftKnown publishermicrosoft/DirectXMesh/.github/skills/release/SKILL.md

Release Process

Skill860 starsChanged 4 months agoMITView on GitHub

Guide for performing the DirectXMesh release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports.

2 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 2

    1. microsoft/DirectXTex★ 2.2k92% same
    2. microsoft/DirectXMath★ 1.8k66% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 4 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All changes merged into the main branch with all tests passing.

    line 10
  2. Very specific:

    Run the PowerShell script build\preparerelease.ps1 which will generate a topic branch for the release, update the version number in …

    line 24
  3. Very specific:

    Create a PR on MSCodeHub from the main branch to the release branch.

    line 36
  4. Very specific:

    Run the PowerShell script build\downloadbuild.ps1 to download the signed binaries from the Azure DevOps pipeline artifacts.

    line 38
  5. Distinctive:

    Run minisign on the .zip to generate a signature file, and upload the signature file to the release assets.

    line 44
  6. Very specific:

    Run the PowerShell script build\promotenuget.ps1 -Version <version> -Release to promote the version to the Release view on the …

    line 49
  7. Distinctive:

    Run the MSCodeHub pipeline to publish the NuGet packages to nuget.org.

    line 50
  8. Very specific:

    Run the PowerShell script build\updatevcpkg.ps1 to update the DirectXMesh port in VCPKG with the new release version.

    line 55
  9. Very specific:

    If the port includes patches, review them to determine if they should be removed or updated for the new release (the updatevcpkg.ps1 script …

    line 56
  10. Very specific:

    Test the VCPKG port using the script at assets/vcpkgdxmesh.cmd (in this skill folder).

    line 57
  11. Very specific:

    Run .\vcpkg x-add-version directxmesh to update the VCPKG versioning history.

    line 58
  12. Very specific:

    If relevant changes were made to the meshconvert tool:

    line 63
  13. Very specific:

    Run the PowerShell script build\updatewinget.ps1 to update the winget manifests for the tool with the new release version.

    line 66
  14. Distinctive:

    When fully completed, be sure to update the GitHub release with links to the matching NuGet packages, the VCPKG port, and the winget …

    line 71

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

Release Process

Prerequisites

  • All changes merged into the main branch with all tests passing.
  • GPG signing configured for your GitHub account (for verified tags).
  • Access to the MSCodeHub mirror repository and Azure DevOps pipelines.
  • Local repositories:
    • VCPKG at d:\vcpkg (synced with main branch)
    • WinGet at D:\winget-pkgs (synced with master branch, only if tool updates needed)
  • PATs will be needed for scripts that access GitHub and ADO.
<!-- markdownlint-disable MD029 -->

Steps

Phase 1: Prepare Release

  1. Git pull the local repository to ensure it is up to date with the main branch.
  2. Run the PowerShell script build\preparerelease.ps1 which will generate a topic branch for the release, update the version number in CMakeLists.txt, the README.md file, the release notes in the nuspec files, and create a stub in the CHANGELOG.md file for the new release.
  3. Edit the CHANGELOG.md file to update it with a summary of changes.
  4. Submit the topic branch for review and merge into main once approved. Allow the GitHub Actions workflows and the Azure DevOps pipelines to complete successfully before proceeding.

Phase 2: Tag and Create GitHub Release

  1. Run the PowerShell script build\completerelease.ps1 which will set a tag on the project repo and the test repo, and create a release on GitHub with the release notes from CHANGELOG.md. Ensure you have set up GPG signing for your GitHub account so that the tags will be verified.
  2. Git pull the local repository to ensure it is up to date with the main branch. Be sure to include --tags.

Phase 3: MSCodeHub and Signed Binaries

  1. Push the main branch to the MSCodeHub mirror repository. Be sure to include --tags.
  2. Create a PR on MSCodeHub from the main branch to the release branch.
  3. Merge the PR on MSCodeHub to update the release branch, which will trigger the Azure DevOps pipeline to build signed binaries and the NuGet packages.
  4. Run the PowerShell script build\downloadbuild.ps1 to download the signed binaries from the Azure DevOps pipeline artifacts.
  5. Edit the GitHub release and upload the signed binaries to the release assets.

Phase 4: Source Archive Signing

  1. Download the GitHub source .zip archive from the release. Unzip and compare to the local repo to ensure it matches — keep in mind there may be some CR/LF differences.
  2. Run minisign on the .zip to generate a signature file, and upload the signature file to the release assets.

Phase 5: NuGet Validation and Publishing

  1. Validate the NuGet packages with https://github.com/walbourn/contentexporter by pushing the NuGet packages to a local Packages Source folder, updating the NuGet packages from that folder, and then build the project.
  2. Run the PowerShell script build\promotenuget.ps1 -Version <version> -Release to promote the version to the Release view on the project-scoped ADO feed. The -Version parameter is required and should match the NuGet package version (e.g., 2026.6.2.1).
  3. Run the MSCodeHub pipeline to publish the NuGet packages to nuget.org. The pipeline will automatically push the most recent package promoted to the Release view to nuget.org.

Phase 6: VCPKG Port Update

  1. Git pull a local repository of VCPKG to d:\vcpkg in sync with the main branch of the VCPKG repository.
  2. Run the PowerShell script build\updatevcpkg.ps1 to update the DirectXMesh port in VCPKG with the new release version. This will edit the files in ports\directxmesh. If the port includes patches, review them to determine if they should be removed or updated for the new release (the updatevcpkg.ps1 script will warn about this).
  3. Test the VCPKG port using the script at assets/vcpkgdxmesh.cmd (in this skill folder). Copy it to d:\vcpkg and run from there after bootstrapping VCPKG.
  4. Run .\vcpkg x-add-version directxmesh to update the VCPKG versioning history.
  5. Submit a PR to the VCPKG repository to update the DirectXMesh port back to the main GitHub repo. The PR will be reviewed and merged by the VCPKG maintainers.

Phase 7: WinGet Manifests (Conditional)

If relevant changes were made to the meshconvert tool:

  1. Git pull a local repository to D:\winget-pkgs in sync with the master branch of the WinGet repository.
  2. Run the PowerShell script build\updatewinget.ps1 to update the winget manifests for the tool with the new release version.
  3. Submit a PR to the winget repository to update the manifests for the tool.

Phase 8: Finalize

When fully completed, be sure to update the GitHub release with links to the matching NuGet packages, the VCPKG port, and the winget manifests for the tools.

Key Scripts

ScriptPurpose
build\preparerelease.ps1Creates topic branch, updates version numbers and changelog stub
build\completerelease.ps1Sets tags, creates GitHub release from changelog
build\downloadbuild.ps1Downloads signed binaries from Azure DevOps
build\promotenuget.ps1Promotes NuGet package to Release view on ADO feed
build\updatevcpkg.ps1Updates DirectXMesh VCPKG port files
assets\vcpkgdxmesh.cmdTests VCPKG port across all triplets and features
build\updatewinget.ps1Updates winget manifests for CLI tools

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.