Sync eng/common directory with azure-sdk-tools for PR 12531 (#6815)

* prompt

* this

* line

* update bens suggestions

* update

* remove try to find pkg path logic

* Update eng/common/instructions/azsdk-tools/check-package-validation.instructions.md

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* path

* updates

* list numbering incorrect

* linting

---------

Co-authored-by: l0lawrence <llawrence@microsoft.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
This commit is contained in:
Azure SDK Bot 2025-11-03 12:12:49 -08:00 committed by GitHub
parent e6f6921e08
commit 074d372c96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,23 @@
---
description: 'Run the package validation checks for the SDK package.'
---
## Goal
Run the validation checks for the SDK package by collecting the required information from the user and executing the `azsdk_package_run_check` tool.
## Instructions
1. **Collect Required Information**:
- Prompt the user for the absolute package path to the package directory for the SDK package they want to check.
- Prompt the user to specify values for each of the parameters required by the azsdk_package_run_check tool. Present the user with options to pick from for the allowed values specified by the parameter schema.
2. **Execute Check**:
- Use the `azsdk_package_run_check` tool with the package path and check type.
3. **Present Results**:
- If the package has passed all validation checks, highlight and finish
- If the package is not ready, display the specific check types that need to be fixed for each language.
## Expected User Interaction Flow
1. Ask: "What is the exact path of the package you want to check for validation?"
2. Ask: "Please specify the check type you want to run (e.g., 'all', 'linting', 'format', etc.)"
3. Execute the check using the provided information
4. Display results and next steps