[Skills] Directory-based package skill discovery (drop registry table)#49478
Merged
samvaity merged 1 commit intoJun 12, 2026
Merged
Conversation
Switch package-specific skill discovery from a hand-maintained registry table to directory-based discovery, mirroring the approach in azure-sdk-for-js#38913 and azure-sdk-for-net. Changes: - find-package-skill/SKILL.md: replace registry table with directory-based discovery instructions (check for .github/skills/ inside the package dir) - create-package-skill/SKILL.md: update description, Phase 4 label - phases/03-validate.md: update Phase 4 reference wording - phases/04-register.md -> 04-finalize.md: no central table to update, placement is registration Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bc01532 to
78bb708
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure SDK for Java GitHub Skills documentation to switch package-skill discovery from a centralized, hand-maintained registry table to directory-based discovery (skills are discovered by being placed under a package’s sdk/<service>/<package>/.github/skills/ directory).
Changes:
- Replaces
find-package-skill’s static “Package Skills” registry table with step-by-step directory-based discovery instructions. - Updates
create-package-skillwizard messaging and phase naming to reflect automatic discovery (Phase 4: “Register” → “Finalize”). - Renames and rewrites the Phase 4 instructions to confirm discoverability rather than editing a central table.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/skills/find-package-skill/SKILL.md |
Replaces registry-table lookup with directory-based discovery steps. |
.github/skills/create-package-skill/SKILL.md |
Updates wizard description and Phase 4 label/link to “Finalize”. |
.github/skills/create-package-skill/phases/03-validate.md |
Updates Phase 3 prompt and “Next” link to point to Finalize. |
.github/skills/create-package-skill/phases/04-register.md |
Removes old “Register” phase content that edited the central table. |
.github/skills/create-package-skill/phases/04-finalize.md |
Adds new “Finalize” phase to confirm location-based discovery and provide summary. |
xirzec
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Switches package-specific skill discovery from a hand-maintained registry table to directory-based discovery, mirroring the approach used in
azure-sdk-for-js#38913andazure-sdk-for-net.Before
find-package-skill/SKILL.mdcontained a staticPackage Skillstable mapping each package name to itsSKILL.mdpath. Every new package skill required adding a row to this central table (thecreate-package-skillwizard had a dedicated "Register" phase for exactly this).After
find-package-skillnow instructs the agent to:.github/skills/directory inside that package directory.SKILL.md(+ adjacentreferences/) found there.Placement is registration — no central table to maintain.
Changes
find-package-skill/SKILL.md— replace the registry table with directory-based discovery instructions.create-package-skill/SKILL.md— update description to reflect automatic discovery; Phase 4 label updated.phases/03-validate.md— update Phase 4 reference from "Register" to "Finalize".phases/04-register.md→04-finalize.md— no longer edits a table, just confirms the skill sits in the discoverable location.Cross-language alignment