# Fix Black

> Automatically fix black code formatting issues in any Azure SDK for Python package

- Skill: `azure-azure-sdk-for-python/fix-black` (Agent Skill)
- Install (CLI): `npx skillmds@latest add azure-azure-sdk-for-python/fix-black`
- Raw SKILL.md: https://api.skillmd.com/api/skills/azure-azure-sdk-for-python/fix-black/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: Azure (https://skillmd.com/u/azure-azure-sdk-for-python)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/azure-azure-sdk-for-python/fix-black

---


# Fix Black Formatting Issues Skill

This skill automatically fixes black code formatting issues in any Azure SDK for Python package.

## Instructions

1. Activate virtual environment FIRST
2. Install `eng/tools/azure-sdk-tools[build]`
3. Navigate to the package path
4. Run `azpysdk --isolate black .`
5. Review the changes with `git diff`
6. Commit the changes

## Notes

- The Azure SDK uses `eng/black-pyproject.toml` for repo-wide configuration

