python-development

Every .py file must start with:

npx skills add https://github.com/microsoft/agent-framework --skill python-development

Python Development Workflow

The canonical engineering rules are in python/CODING_STANDARD.md. Read and apply that document before changing Python source. Do not create or maintain a competing copy of the standards in this skill.

Before Editing

  1. Read python/AGENTS.md and the nearest package AGENTS.md.
  2. Identify whether the change affects package source, tests, samples, public exports, package governance, or more than one of those surfaces.
  3. Read the task-specific skill when applicable:
    • python-testing for test design, integration markers, and test commands.
    • python-code-quality for formatting, linting, and type checking.
    • python-package-management for package creation, dependencies, public lazy exports, and package lifecycle.
    • python-feature-lifecycle for staged API decorators and promotion.

Implementing Changes

  • Follow established patterns in the owning package unless they conflict with python/CODING_STANDARD.md.
  • Keep the common public path import-light and review public API changes for compatibility and ergonomics.
  • Update source, typing surfaces, tests, samples, and documentation together when they represent the same contract.
  • For root agent_framework export changes, follow the synchronized runtime, __all__, and .pyi workflow in python-package-management.
  • Do not broaden a change into unrelated cleanup solely because nearby code predates the current standard.

Validation

Run the smallest relevant commands from python/. Use python-code-quality and python-testing to select package-scoped syntax, typing, and test commands before escalating to broader checks.

When a convention, command, or workflow changes, update the canonical document or owning task-specific skill rather than duplicating the new guidance here.

More skills from microsoft

oss-growth
microsoft
OSS growth hacker persona
agent-framework-azure-ai-py
microsoft
Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.
development
airunway-aks-setup
microsoft
Set up AI Runway on AKS — from bare cluster to running model. Covers cluster verification, controller install, GPU assessment, provider setup, and first deployment. WHEN: "setup AI Runway", "onboard AKS cluster", "install AI Runway", "airunway setup", "deploy model to AKS", "GPU inference on AKS", "KAITO setup on AKS", "run LLM on AKS", "vLLM on AKS", "set up model serving on AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
devops
applicationinsights-web-ts
microsoft
Instrument browser/web apps with the Application Insights JavaScript SDK (@microsoft/applicationinsights-web). Use for Real User Monitoring (RUM) — page views, clicks, AJAX/fetch dependencies, exceptions, custom events, and browser-side GenAI agent traces correlated to backend OpenTelemetry traces. Covers SDK Loader Script and npm setup, framework extensions (React, React Native, Angular), Click Analytics, telemetry initializers, and OTel GenAI semantic conventions for agent/tool/model spans emitted from the browser.
devops
azure-ai-anomalydetector-java
microsoft
Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate/multivariate anomaly detection, time-series analysis, or AI-powered monitoring.
development
azure-ai-language-conversations-py
microsoft
Implement Conversational Language Understanding (CLU) using the azure-ai-language-conversations Python SDK. Use when working with ConversationAnalysisClient to analyze conversation intent and entities, building NLP features, or integrating language understanding into applications.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python. Use for ML workspaces, jobs, models, datasets, compute, and pipelines. Triggers: "azure-ai-ml", "MLClient", "workspace", "model registry", "training jobs", "datasets".
development