mcpbeat

Create API Review

azure/create-api-review

Create an API review PR for an Azure SDK package using API Review Hub. **UTILITY SKILL**. USE FOR: "create API review", "open API review", "compare package versions", "APIView PR". DO NOT USE FOR: fixing APIView comments, SDK code generation, pipeline debugging. INVOKES: azure-sdk-mcp:azsdk_apireviewhub_request_review_pr.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
5584
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Azure/azure-sdk-for-python --skill create-api-review

The instruction itself

8 sections, as written by the author

Create API Review

This skill creates an API review pull request through API Review Hub for a package API surface comparison.

Triggers

USE FOR: create API review, open API review, compare package versions, APIView PR

WHEN: "create API review", "open API review", "compare package versions", "APIView PR"

DO NOT USE FOR: fixing APIView comments, SDK code generation, pipeline debugging

Rules

  • Requires azure-sdk-mcp version 0.6.32 or later.
  • Use azure-sdk-mcp:azsdk_apireviewhub_request_review_pr to create the review PR.
  • CLI equivalent is azsdk api-review create.
  • Language is fixed to python for this repository.
  • Required user inputs: packageName, targetBranch.
  • baseTag defines the baseline version. Use package tag format: <packageName>_<version>.
  • If baseTag is omitted, ask the user to choose one of:
  • Use the latest GA (non-beta) release tag for packageName.
  • Provide a specific tag or version to use as baseline.
  • Direct MCP calls require targetRepo: azure-sdk-for-python; targetOwner defaults to Azure unless explicitly provided (for example, a fork), so pass both explicitly when overriding defaults.
  • The CLI may supply repository defaults, but the MCP method does not.
  • targetOwner, targetRepo, and targetBranch define where the review PR branch is created.
  • Wait behavior mapping: --no-wait corresponds to waitForCompletion: false.
  • Poll behavior mapping: --poll-interval-seconds corresponds to pollIntervalSeconds (default 30).
  • Optionally provide a ready-to-run azsdk api-review create command for the user with resolved values.

MCP Tools

| Tool | Purpose |

| ----------------------------------------------------- | ------------------------------- |

| azure-sdk-mcp:azsdk_apireviewhub_request_review_pr | Create API review PR request |

| azure-sdk-mcp:azsdk_upgrade | Check/upgrade MCP server version |

Steps

  • Collect Inputs - Get required packageName and targetBranch. Optionally collect baseTag.
  • Prompt For Baseline - If baseTag is not provided, ask the user to choose latest GA (non-beta) or provide a specific tag/version.
  • Resolve Baseline - If the user chooses latest GA, resolve and use the latest GA (non-beta) release tag for packageName. If the user provides a tag/version, use that value.
  • Validate MCP Version - Ensure azure-sdk-mcp is 0.6.32+.
  • Set Wait Mode - Default to wait for completion. Use waitForCompletion: false only when user asks for no-wait behavior.
  • Set Poll Interval - If waiting for completion, use pollIntervalSeconds (default 30, override only if requested).
  • Request Review PR - Run azure-sdk-mcp:azsdk_apireviewhub_request_review_pr with language: python, targetRepo: azure-sdk-for-python, and targetOwner (default Azure unless explicitly provided), plus collected inputs.
  • Return Result - Provide review PR URL and operation status.
  • Optional CLI Output - If useful or requested, provide the equivalent azsdk api-review create command with all resolved arguments.

CLI Command Template

azsdk api-review create `
  --language python `
  --package-name <packageName> `
  --base-tag <baseTag> `
  --target-branch <targetBranch> `
  --target-owner <targetOwner> `
  --target-repo <targetRepo>

Optional flags:

  • --no-wait
  • --poll-interval-seconds 30
  • --output plain|json

Example

For azure-storage-blob comparing 1.0.0 to the latest on main:

  • packageName: azure-storage-blob
  • baseTag: azure-storage-blob_1.0.0
  • targetOwner: Azure
  • targetRepo: azure-sdk-for-python
  • targetBranch: main

Troubleshooting

  • If tool is missing or unsupported, run azure-sdk-mcp:azsdk_upgrade with checkOnly: true to verify current version.
  • If baseTag is invalid, confirm the exact release tag name in the repository.
  • If baseTag is omitted, confirm the user's baseline choice before requesting the review PR.
  • If the generated review does not reflect expected changes, confirm targetBranch contains the intended newer API surface.

How to use it

Copy the folder

Take azure/create-api-review from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.