Install any skill in seconds. Free to start, no credit card required.
Get Started Free →microsoft/python-development
Coding standards, conventions, and patterns for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files in the python/ directory.
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
and 10 more in the full report
9 fixed13 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the maximum line length limit for Python files in our repository, and what is the policy regarding formatting untouched existing files during a pull request?
| Checked | Without skill | With skill |
|---|---|---|
| The maximum line length is specified as 120 characters. | Missed | Passed |
| The response states that formatting should only apply to changed files. | Passed | Passed |
The instructions your model reads when the skill loads.
Every .py file must start with:
# Copyright (c) Microsoft. All rights reserved.
Type | None instead of Optional[Type]from __future__ import annotations to enable postponed evaluationT for TypeVar names: ChatResponseT = TypeVar("ChatResponseT", bound=ChatResponse)Mapping instead of MutableMapping for read-only input parameters# type: ignore[...] over unnecessary casts, or isinstance checks, when these are internally called and executed methods
But make sure the ignore is specific for both mypy and pyright so that we don't miss other mistakesagent_framework* modules when intentional; use a targeted
# pyright: ignore[reportPrivateUsage] instead of making the helper public just to satisfy pyright.*) for optional parametersdef create_agent(name: str, tool_mode: Literal['auto', 'required', 'none'] | ChatToolMode) -> Agent:
if isinstance(tool_mode, str):
tool_mode = ChatToolMode(tool_mode)
next_handler instead of next)**kwargs unless needed for subclass extensibility; prefer named parameterstest cases passed, vs 13 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.