azure/dev-setup
Set up the local development environment for APIView Copilot. Use for: dev setup, environment setup, install dependencies, create venv, configure env, permissions, get started, onboarding, new developer, RBAC setup, .env file.
npx skills add https://github.com/Azure/azure-sdk-tools --skill dev-setup
# Windows
python -m venv .venv
.venv\Scripts\activate
# Linux/macOS
python -m venv .venv
source .venv/bin/activate
# Runtime + dev + eval dependencies
pip install -r dev_requirements.txt
# Runtime only
pip install -r requirements.txt
.env fileCreate a .env file in the project root with:
ENVIRONMENT_NAME="staging"
All other settings (Cosmos DB, Search, Key Vault, etc.) are resolved from App Configuration at runtime.
avc ops grant
This grants your identity the required roles:
avc-appconfig-stagingavc-cosmos-stagingavc-vault-stagingazsdk-engsys-openaiazsdk-engsys-aiPass --assignee-id <ID> to grant to a specific user instead of yourself.
# Run unit tests
pytest tests
# Generate a review (needs a test API view file in scratch/apiviews/<lang>/)
avc review generate -l python -t scratch/apiviews/python/test.txt
# Health check the deployed service
avc ops check
avc, pytest, pylint, etc.)avc not found? Use .\avc on Windows PowerShell, or ensure the project root is in your PATHModuleNotFoundError: prompty — You're running outside the venv. Activate it first.az login first, then avc ops grant to set up RBAC.env defaults to staging. To use production, swap to the production App Config endpoint and set ENVIRONMENT_NAME="production"Take azure/dev-setup from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
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.
The instructions reference pip.
Without those the skill loads but fails at the first command.