diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index ce5b56587f72..fe95eec5e5ba 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -192,6 +192,18 @@ When facing issues, direct users to: - [GitHub Issues](https://github.com/Azure/azure-sdk-for-java/issues/new/choose) - [Stack Overflow with azure-java-sdk tag](https://stackoverflow.com/questions/tagged/azure-java-sdk) +## Local SDK Generation and Package Lifecycle (TypeSpec) + +### AUTHORITATIVE REFERENCE +For all TypeSpec-based SDK workflows (generation, building, validation, testing, versioning, and release preparation), 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. + +### REQUIRED CONFIRMATIONS +Ask the user for clarification if repository path or configuration file is ambiguous. + ## SDK release For detailed workflow instructions, see [SDK Release](../eng/common/instructions/copilot/sdk-release.instructions.md).