diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index d81aaf7c8364..668cb5c4e754 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -112,6 +112,23 @@ This library is failing two release blocking checks - Mypy and Tests - CI. The l --- +## Local SDK Generation and Package Lifecycle (TypeSpec) + +### AUTHORITATIVE REFERENCE +For all TypeSpec-based SDK workflows (generation, building, validation, testing, versioning, and release), follow #file:../eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md + +### DEFAULT BEHAVIORS +- **Repository:** Use the current workspace as the local SDK repository unless the user specifies a different path. +- **Configuration:** Identify `tsp-location.yaml` from files open in the editor. If unclear, ask the user. + +### PYTHON-SPECIFIC RULES +- **Skip build step:** Python packages do not require compilation. After generation, proceed directly to validation and tests. + +### REQUIRED CONFIRMATIONS +Ask the user for clarification if repository path or configuration file is ambiguous. + +--- + ## SDK release For detailed workflow instructions, see [SDK Release](https://github.com/Azure/azure-sdk-for-python/blob/main/eng/common/instructions/copilot/sdk-release.instructions.md).