Skip to content

Sync eng/common directory with azure-sdk-tools for PR 15210#48874

Open
azure-sdk wants to merge 1 commit intomainfrom
sync-eng/common-fix/azsdk-common-skill-rename-sync-15210
Open

Sync eng/common directory with azure-sdk-tools for PR 15210#48874
azure-sdk wants to merge 1 commit intomainfrom
sync-eng/common-fix/azsdk-common-skill-rename-sync-15210

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#15210 See eng/common workflow

Re-creates PR #15062 on a fresh branch off current upstream/main to avoid
sync-pipeline CI issues on the original branch. Original branch
squad/15049-sync-shared-skills and PR #15062 are preserved unchanged for
comparison.

Makes skills the single source of truth by consolidating instruction file
content into the corresponding skill SKILL.md files, then deleting the
redundant instruction files. Also renames 5 shared skill directories with
the 'azsdk-common-' prefix required by the sync pipeline.

7 instruction files deleted (content merged into skills):
- local-sdk-workflow.instructions.md -> azsdk-common-generate-sdk-locally
- create-release-plan.instructions.md -> azsdk-common-prepare-release-plan
- sdk-details-in-release-plan.instructions.md -> azsdk-common-prepare-release-plan
- verify-namespace-approval.instructions.md -> azsdk-common-prepare-release-plan
- check-package-readiness.instructions.md -> azsdk-common-sdk-release
- check-package-validation.instructions.md -> azsdk-common-generate-sdk-locally
- copilot/sdk-release.instructions.md -> azsdk-common-sdk-release

3 skills enriched with details from instruction files:
- generate-sdk-locally: commit checkpoints, language selection, config file
  identification, SDK project path, metadata update tools, validation params
- prepare-release-plan: critical LLM instructions (NextSteps field), Release
  Planner Tool link, per-language package name extraction rules,
  valid/invalid examples table, JSON structure, namespace approval flow
- sdk-release: readiness check details, interaction flow, do-not-ask-for-PR
  guard, case-sensitive language note

5 shared skill directories renamed with 'azsdk-common-' prefix:
  apiview-feedback-resolution, generate-sdk-locally,
  pipeline-troubleshooting, prepare-release-plan, sdk-release

typespec-to-sdk orchestrator updated to reference skills directly. Removed
all related_skill frontmatter and blockquotes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 20, 2026 17:40
@azure-sdk azure-sdk requested a review from a team as a code owner April 20, 2026 17:40
@azure-sdk azure-sdk requested a review from l0lawrence April 20, 2026 17:40
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Apr 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the eng/common Copilot/azsdk-tools instruction content with the corresponding changes from azure-sdk-tools PR 15210, primarily by removing several instruction files and updating the TypeSpec-to-SDK workflow guidance to point at “skills”.

Changes:

  • Removed multiple eng/common/instructions/** markdown instruction files related to SDK release planning, local generation workflow, and readiness/validation checks.
  • Updated typespec-to-sdk.instructions.md to reference .github/skills/* skills for local generation and release-plan preparation, and to mention additional troubleshooting/review-resolution skills.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
eng/common/instructions/copilot/sdk-release.instructions.md Deleted SDK release instruction content (now leaves a missing target for existing links).
eng/common/instructions/azsdk-tools/verify-namespace-approval.instructions.md Deleted management-plane namespace approval instructions.
eng/common/instructions/azsdk-tools/typespec-to-sdk.instructions.md Updated TypeSpec-to-SDK guidance to reference skills and added mentions of troubleshooting/review-resolution skills.
eng/common/instructions/azsdk-tools/sdk-details-in-release-plan.instructions.md Deleted instructions for updating SDK details in a release plan.
eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md Deleted local generation/build/test/version workflow instructions.
eng/common/instructions/azsdk-tools/create-release-plan.instructions.md Deleted release plan creation instructions (including critical LLM handling notes).
eng/common/instructions/azsdk-tools/check-package-validation.instructions.md Deleted package validation instruction content.
eng/common/instructions/azsdk-tools/check-package-readiness.instructions.md Deleted package readiness check instruction content.

Comment on lines +55 to +56
3. Display generated SDK PR links when available. If pipeline fails, inform user with error details and suggest to check pipeline logs for more information. Use the `azsdk-common-pipeline-troubleshooting` skill to diagnose and resolve pipeline failures.
4. If SDK pull request is available for all languages, ask user to review generated SDK pull request and mark them as ready for review when they are ready to get them reviewed and merged. If APIView feedback is received, use the `azsdk-common-apiview-feedback-resolution` skill to analyze and resolve review comments.
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guidance refers to azsdk-common-pipeline-troubleshooting and azsdk-common-apiview-feedback-resolution skills, but there are no such skills under .github/skills/ in this repo. Add those skills (or rename these references to the actual skill names present) to avoid dangling/undiscoverable instructions.

Suggested change
3. Display generated SDK PR links when available. If pipeline fails, inform user with error details and suggest to check pipeline logs for more information. Use the `azsdk-common-pipeline-troubleshooting` skill to diagnose and resolve pipeline failures.
4. If SDK pull request is available for all languages, ask user to review generated SDK pull request and mark them as ready for review when they are ready to get them reviewed and merged. If APIView feedback is received, use the `azsdk-common-apiview-feedback-resolution` skill to analyze and resolve review comments.
3. Display generated SDK PR links when available. If pipeline fails, inform user with error details and suggest checking pipeline logs to diagnose and resolve the failure.
4. If SDK pull request is available for all languages, ask user to review generated SDK pull request and mark them as ready for review when they are ready to get them reviewed and merged. If APIView feedback is received, analyze the feedback and help resolve the review comments.

Copilot uses AI. Check for mistakes.
4. If unsure, check if a release plan already exists for API spec pull request.
5. Prompt user to find the service id and product id in service tree `aka.ms/st` and provide them. Stress the importance of correct service id and product id for proper release plan creation.
6. If a new release plan is needed, refer to #file:create-release-plan.instructions.md to create a release plan using the spec pull request. API spec pull request is required to create a release plan.
6. If a new release plan is needed, refer to #file:.github/skills/azsdk-common-prepare-release-plan/SKILL.md to create a release plan using the spec pull request. API spec pull request is required to create a release plan.
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The #file reference to .github/skills/azsdk-common-prepare-release-plan/SKILL.md is broken because that path doesn't exist in this repo. Include the skill file(s) in this PR or adjust the reference to a file that exists so release-plan creation remains documented.

Suggested change
6. If a new release plan is needed, refer to #file:.github/skills/azsdk-common-prepare-release-plan/SKILL.md to create a release plan using the spec pull request. API spec pull request is required to create a release plan.
6. If a new release plan is needed, refer to #file:../copilot/sdk-release.instructions.md to create a release plan using the spec pull request. API spec pull request is required to create a release plan.

Copilot uses AI. Check for mistakes.
Comment on lines 1 to +4
---
description: 'Generate SDKs from TypeSpec'
---

Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR deletes local-sdk-workflow.instructions.md and copilot/sdk-release.instructions.md, but .github/copilot-instructions.md (and its duplicate under custom-instructions/repo/) still references those files. Update those references (or keep replacement stubs) to avoid broken documentation links for Copilot workflows.

Copilot uses AI. Check for mistakes.
**Message to user**: "Generating SDKs locally requires you to have the development environment set up for each language. Prompt the user to create a pull request for each language after completing the following steps successfully: generation, validation, build, test and update of metadata, change log, and version."
**Actions**:
Follow the steps in #file:local-sdk-workflow.instructions.md to generate and build SDKs locally from TypeSpec project.
Follow the steps in #file:.github/skills/azsdk-common-generate-sdk-locally/SKILL.md to generate and build SDKs locally from TypeSpec project.
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new #file reference points to .github/skills/azsdk-common-generate-sdk-locally/SKILL.md, but that file/directory doesn't exist in this repo. Either add the referenced skill as part of this sync, or update the reference to an existing instructions/skill file so the workflow remains usable.

Suggested change
Follow the steps in #file:.github/skills/azsdk-common-generate-sdk-locally/SKILL.md to generate and build SDKs locally from TypeSpec project.
Follow the steps in #file:../eng/common/instructions/azsdk-tools/local-sdk-workflow.instructions.md to generate and build SDKs locally from TypeSpec project.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants