Skip to content

Add package-specific skill for azure-identity#47266

Draft
JennyPng wants to merge 2 commits into
Azure:mainfrom
JennyPng:identity-package-skill
Draft

Add package-specific skill for azure-identity#47266
JennyPng wants to merge 2 commits into
Azure:mainfrom
JennyPng:identity-package-skill

Conversation

@JennyPng
Copy link
Copy Markdown
Member

@JennyPng JennyPng commented Jun 1, 2026

What

Add a package-specific skill for azure-identity and register it in the find-package-skill registry.

Why

azure-identity is entirely hand-authored (no TypeSpec, no code generation) with complex internal architecture: MSAL integration, managed identity environment dispatching, the DefaultAzureCredential chain, 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, GetTokenMixin flow
  • .../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

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>
@JennyPng JennyPng force-pushed the identity-package-skill branch from b563c01 to e17e3fd Compare June 2, 2026 22:43
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant