Add package-specific skill for azure-identity#47266
Draft
JennyPng wants to merge 2 commits into
Draft
Conversation
3d508f9 to
b563c01
Compare
Create SKILL.md with architecture overview, token API guidance (get_token vs get_token_info), MSAL three-tier integration model, sync/async split rules, DefaultAzureCredential chain details, managed identity backends, and common pitfalls. Includes reference docs for credential taxonomy, authentication flows, cross-cutting behaviors, and testing patterns. Registers azure-identity in the find-package-skill registry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
b563c01 to
e17e3fd
Compare
Align the skill with create-package-skill guidance by keeping the top-level instructions concise, correcting identity-specific details, and adding package validation guidance. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Add a package-specific skill for
azure-identityand register it in thefind-package-skillregistry.Why
azure-identityis entirely hand-authored (no TypeSpec, no code generation) with complex internal architecture: MSAL integration, managed identity environment dispatching, theDefaultAzureCredentialchain, and strict async parity requirements. AI agents applying generic SDK patterns to this package make common mistakes (e.g., missing async mirrors, breaking the DAC chain order, bypassing MSAL, hardcoding authority URLs).This skill encodes the tribal knowledge agents need to work on the package correctly.
Files
sdk/identity/azure-identity/.github/skills/azure-identity/SKILL.md— Main skill: architecture overview, 8 common pitfalls,GetTokenMixinflow.../references/architecture.md— Credential taxonomy, MSAL integration, managed identity backends, DAC chain, async parity rules.../references/testing.md— Test commands, patterns, environment setup.github/skills/find-package-skill/SKILL.md— Registry entry added