npx skills add ...
npx skills add microsoft/agent-framework --skill python-samples
npx skills add microsoft/agent-framework --skill python-samples
Guidelines for creating and modifying sample code in the Agent Framework Python codebase. Use this when writing new samples or updating existing ones.
Every sample file follows this order:
# Copyright (c) Microsoft. All rights reserved."""This sample demonstrates..."""if __name__ == "__main__": asyncio.run(main())Use PEP 723 inline script metadata for external packages not in the dev environment:
Do not add sample-only dependencies to the root pyproject.toml dev group.
Samples should be over-documented:
step<number>_<name>.py