.github/skills/bump-and-release/SKILL.md
Bump dependency "@typespec/http-client-python" and release new versions for Azure/autorest.python repo. Use when user wants to bump, update, or upgrade the @typespec/http-client-python dependency, create a release PR, or publish new versions of autorest.python and typespec-python packages.
npx skillsauth add azure/autorest.python bump-and-releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bump the "@typespec/http-client-python" dependency and create a release PR for the Azure/autorest.python repository.
Before starting, verify that npm-check-updates is available:
npx npm-check-updates --version
If the command fails or prompts for installation, install it globally:
npm install -g npm-check-updates
Navigate to the root folder of "Azure/autorest.python" repo.
If BASE_BRANCH is "main":
git reset HEAD && git checkout . && git checkout origin/main && git pull origin main && git checkout -b publish/release-{{CURRENT_DATE}}
If BASE_BRANCH is not "main":
git reset HEAD && git checkout . && git fetch origin {{BASE_BRANCH}} && git checkout {{BASE_BRANCH}}
Get the latest VERSION of "@typespec/http-client-python" from npm:
npm view @typespec/http-client-python version
Update the version of "@typespec/http-client-python" to ~{{VERSION}} in both files:
packages/autorest.python/package.jsonpackages/typespec-python/package.jsonSkip Steps 3, 4, and 5 if BASE_BRANCH is not "main".
Run npm-check-updates for packages/typespec-python/package.json:
npx npm-check-updates -u --filter @typespec/*,@azure-tools/* --packageFile packages/typespec-python/package.json
Update peerDependencies in packages/typespec-python/package.json:
">=0.a.b <1.0.0": Update only the 0.a.b portion, keep the range format unchanged"^1.a.b": Update to the latest versionVerify devDependencies versions for specs in packages/typespec-python/package.json:
@typespec/http-specs and @azure-tools/azure-http-specspackage.json is newer than the updated value, keep the original versionx.y.z-alpha.N-dev.M (e.g., 0.1.0-alpha.37-dev.3).Example:
@typespec/http-specs: 0.1.0-alpha.12-dev.5, updated by step 3 to 0.1.0-alpha.11 → keep 0.1.0-alpha.12-dev.5.@typespec/http-specs: 0.1.0-alpha.12-dev.5, updated by step 3 to 0.1.0-alpha.12 → keep 0.1.0-alpha.12 (step 3 works as expected).@azure-tools/azure-http-specs: 0.1.0-alpha.12-dev.2, updated to 0.1.0-alpha.11 → keep 0.1.0-alpha.12-dev.2.@azure-tools/azure-http-specs: 0.1.0-alpha.12-dev.2, updated to 0.1.0-alpha.12 → keep 0.1.0-alpha.12 (step 3 works as expected).Run the change version command:
pnpm change version
Verify at least 4 files are changed:
packages/autorest.python/package.jsonpackages/autorest.python/CHANGELOG.mdpackages/typespec-python/package.jsonpackages/typespec-python/CHANGELOG.mdThe version tool calculates the next version but may choose patch instead of minor incorrectly.
git diff to inspect updated CHANGELOG.md filespackages/autorest.python/package.jsonpackages/autorest.python/CHANGELOG.mdpackages/typespec-python/package.jsonpackages/typespec-python/CHANGELOG.mdpnpm install && pnpm build && git add -u
git commit -m "bump version"
git push origin HEAD
If no existing PR exists for the current branch, create a new pull request targeting the BASE_BRANCH.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.