Skip to main content

generate-api-markdown

Generate an API markdown file and token file using ApiView. Use this when the user wants to generate an API markdown file and review API changes.

Source facts

Repository
Azure/azure-sdk-for-python
Last source activity
June 19, 2026 at 16:03
Detected SKILL.md language
English
Stars
5,587
Forks
3,348

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
generate-api-markdown
description
Generate an API markdown file and token file using ApiView. Use this when the user wants to generate an API markdown file and review API changes.
# Generate API Markdown ## Prerequisites 1. Activate your virtual environment. 2. Install the required dependencies: ```bash cd <repo_root> pip install -e ./eng/tools/azure-sdk-tools ``` ## Instructions 1. Navigate to the desired package directory 2. Run the command: ```bash azpysdk apistub . ``` 3. The command generates `api.md` and `api.metadata.yml` in the package directory, which are the files needed to pass the API consistency check. Provide these files to the user for review. 4. If the user explicitly asks for the raw APIView token file, run `azpysdk apistub . --token-file` instead.
View on GitHub