agentleFS
MicrosoftKnown publishermicrosoft/azure-devops-rust-api/SKILL.md

SKILL.md

Skill76 starsChanged 3 months agoMITView on GitHub

All changes for the release (dependency updates, bug fixes, etc.) should already be merged to main. Edit azure_devops_rust_api/Cargo.toml: - Update version = "X.Y.0" Edit azure_devops_rust_api/README.md: - Update the example Cargo.toml snippet: azure_devops_rust_api = { version = "X.Y.0", ... } Edit CHANGELOG.md: - Insert ## [X.Y.0] between ## [Unreleased] and the existing ### Changes section (the changes stay, they just move under the new version heading) - At the bottom of the file, update the version comparison links: - Change [Unreleased]…

  • Commits and pushes

200 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 119 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All changes for the release (dependency updates, bug fixes, etc.) should already be merged to main.

    line 7
  2. Very specific:

    Update the example Cargo.toml snippet: azure_devops_rust_api = { version = "X.Y.0", ...

    line 25
  3. Very specific:

    Add a new link: [X.Y.0]: https://github.com/microsoft/azure-devops-rust-api/compare/PREV.0...X.Y.0

    line 33
  4. Distinctive:

    Create a PR to main. After merging, the crate can be published to crates.io.

    line 45
  5. Distinctive:

    Check crates.io for the latest versions.

    line 59
  6. Distinctive:

    If there are no compilation errors, you're done with code changes.

    line 78
  7. Distinctive:

    If there are errors, fixes may be needed in two places:

    line 80
  8. Very specific:

    After fixing codegen, regenerate with ./build.sh, then re-check.

    line 88
  9. Very specific:

    Add an entry under ## [Unreleased]:

    line 97
  10. Distinctive:

    If code changes were needed, list them (see the 0.33.0 entry for a detailed example).

    line 105

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

Skills

Creating a release

1. Ensure changes are on main

All changes for the release (dependency updates, bug fixes, etc.) should already be merged to main.

2. Create a release branch

git checkout main
git pull
git checkout -b release-X.Y.0

3. Bump the crate version

Edit azure_devops_rust_api/Cargo.toml:

  • Update version = "X.Y.0"

4. Update the README version

Edit azure_devops_rust_api/README.md:

  • Update the example Cargo.toml snippet: azure_devops_rust_api = { version = "X.Y.0", ... }

5. Update the CHANGELOG

Edit CHANGELOG.md:

  • Insert ## [X.Y.0] between ## [Unreleased] and the existing ### Changes section (the changes stay, they just move under the new version heading)
  • At the bottom of the file, update the version comparison links:
    • Change [Unreleased] to compare from the new version: compare/X.Y.0...HEAD
    • Add a new link: [X.Y.0]: https://github.com/microsoft/azure-devops-rust-api/compare/PREV.0...X.Y.0

6. Commit and push

git add CHANGELOG.md azure_devops_rust_api/Cargo.toml azure_devops_rust_api/README.md
git commit -m "Release X.Y.0"
git push -u origin release-X.Y.0

7. Create a PR and merge

Create a PR to main. After merging, the crate can be published to crates.io.


Updating azure_core and azure_identity

Overview

The azure_devops_rust_api crate depends on azure_core (runtime) and azure_identity (dev/examples). These are updated periodically to track the latest Azure SDK for Rust releases.

Process

1. Find the latest versions

Check crates.io for the latest versions. They are released in lockstep and should use the same version.

Watch out for yanked versions (e.g. 0.30.0 was yanked, 0.30.1 replaced it).

2. Update version strings

Edit azure_devops_rust_api/Cargo.toml:

  • azure_core = { version = "X.Y", ... } in [dependencies]
  • azure_identity = "X.Y" in [dev-dependencies]

3. Build and fix

cargo check --all-features
cargo check --all-features --examples

If there are no compilation errors, you're done with code changes.

If there are errors, fixes may be needed in two places:

Code generator (for generated code errors — do NOT edit generated files directly):

  • autorust/codegen/src/codegen_operations/create_client_and_builder.rs — Pipeline, Transport, RetryOptions usage
  • autorust/codegen/src/codegen_operations/request_builder_send.rs — Pipeline::send() calls, api-version parameter
  • autorust/codegen/src/codegen_operations/request_builder_into_future.rs — into_body()/into_model() calls
  • autorust/codegen/src/codegen_operations/response_code.rs — Response type definitions

After fixing codegen, regenerate with ./build.sh, then re-check.

Hand-written source (fix directly):

  • azure_devops_rust_api/src/auth.rs — TokenCredential, error handling
  • azure_devops_rust_api/src/date_time.rs — error handling
  • azure_devops_rust_api/src/telemetry.rs — Policy trait, Response types

4. Update CHANGELOG.md

Add an entry under ## [Unreleased]:

### Changes

- Update `azure_core` and `azure_identity` to X.Y.

If code changes were needed, list them (see the 0.33.0 entry for a detailed example).

5. Branch, commit, push

git checkout -b azure_core-X.Y
git add CHANGELOG.md azure_devops_rust_api/Cargo.toml [any other changed files]
git commit -m "Update azure_core, azure_identity to X.Y"
git push -u origin azure_core-X.Y

The README (azure_devops_rust_api/README.md) version string is only updated at release time, not during dependency updates.

Key azure_core types used by this crate

These are the areas most likely to break across versions:

  • azure_core::http::Pipeline — HTTP pipeline for sending requests
  • azure_core::http::Request / RawResponse — request/response types
  • azure_core::http::RetryOptions / Transport — client configuration
  • azure_core::http::Context — request context
  • azure_core::http::policies::Policy — pipeline policies (telemetry.rs)
  • azure_core::credentials::TokenCredential — authentication (auth.rs)
  • azure_core::error::{Error, ErrorKind, Result} — error types

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.