create-package-skill
Skill5.6k starsChanged 21 months agoMITView on GitHub
Interactive wizard that walks service teams through creating a package-specific skill for their Azure SDK package. Scans the package, detects customization patterns, scaffolds a SKILL.md with references, and validates with vally lint. The skill is placed inside the package''s .github/skills/ directory so find-package-skill discovers it automatically. WHEN: create package skill; add service skill; bootstrap skill for package; new package skill; skill for my SDK package; write skill for search; write skill for cosmos.
2 other projects use a version of this, 2 of them edited.
Trending
Quiet since April.thin dataabout the whole repository
Most recently taken up by
- Azure/azure-sdk-for-javaedited, first seen Mar 18, 2025
- Azure/azure-sdk-for-jsedited, first seen Mar 18, 2025
Who's talking about Azure/azure-sdk-for-python
- apache/airflow“Add Python 3.11 support”GitHub · Oct 25, 2022 · 24 reactions
- Azure/azure-sdk-for-net“[FEATURE REQ] Custom Events in Application Insights using azure-monitor-opentelemetry”GitHub · Feb 23, 2024 · 14 reactions
- hashicorp/terraform-provider-azurerm“custom_domain configuration for azurerm_storage_account not working as expected, when using Indirect CNAME …”GitHub · Jul 26, 2021 · 13 reactions
- Azure/azure-rest-api-specs“[BUG] [API Management] polling response didn't respect the format in new api version”GitHub · May 30, 2025 · 8 reactions
- Azure/azure-cli“az vm create --no-wait fails with "Extra data: line 1 column 4 (char 3)"”GitHub · Apr 8, 2026 · 6 reactions
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub, Hacker News and Bluesky (13 times).
On GitHub · 11
- Oct 25, 2022Add Python 3.11 support — apache/airflow24 reactions · 31 comments
- Feb 23, 2024[FEATURE REQ] Custom Events in Application Insights using azure-monitor-opentelemetry — Azure/azure-sdk-for-net14 reactions · 17 comments
- Jul 26, 2021custom_domain configuration for azurerm_storage_account not working as expected, when using Indirect CNAME validation — hashicorp/terraform-provider-azurerm13 reactions · 6 comments
- May 30, 2025[BUG] [API Management] polling response didn't respect the format in new api version — Azure/azure-rest-api-specs8 reactions · 1 comment
- Apr 8, 2026az vm create --no-wait fails with "Extra data: line 1 column 4 (char 3)" — Azure/azure-cli6 reactions · 8 comments
6 more on GitHub
- Aug 16, 2022Ignore existing resources within a subscription — Azure/azure-rest-api-specs6 reactions · 6 comments
- Dec 4, 2020Fix azure service bus integration with service bus library 7.0 — celery/kombu6 reactions
- Dec 12, 2023[CostManagement] `x-ms-pageable` not enabled for `Query_Usage` — Azure/azure-rest-api-specs5 reactions · 2 comments
- May 20, 2020Could not install package via pip. Dependency error. — michiya/azure-storage-logging5 reactions
- Mar 26, 2020Add a common AzureKeyCredential to Azure Core — Azure/azure-sdk5 reactions · 8 comments
- Jul 17, 2023Resources of type `"Microsoft.Network/publicIPAddresses"` does not include the `"zones"` field. — Azure/azure-rest-api-specs4 reactions · 1 comment
On Hacker News · 1
- May 3, 2024Azure SDK is over 500 MB and growing on each release4 points · 3 comments
On Bluesky · 1
- Sep 11, 2025📦 Azure / azure-sdk-for-python ⭐ 5,071 (+1) 🗒 Python This repository is for active development of the Azure SDK for Python. For consumers… — @github-trending.bsky.social1 likes and repost
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- Azure/azure-sdk-for-java★ 2.6k75% same
- Azure/azure-sdk-for-js★ 2.3k73% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agentic-workflowsSkill
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-breaking-changeSkill
- azsdk-common-sdk-releaseSkill
- create-api-reviewSkill
- find-package-skillSkill
- fix-blackSkill
- fix-mypySkill
- fix-pylintSkill
- fix-sphinxSkill
- generate-api-markdownSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
ASK exactly one question: "Create now (recommended), edit first, or skip?"
- Distinctive: line 21
ASK one specific question appropriate to the decision.
- Distinctive: line 28
Run each phase in order. Progressive loading: Read only the current phase file.
- Distinctive: line 41
Every line must be non-obvious and package-specific.
- Very specific: line 44
Never duplicate what's already in .github/copilot-instructions.md or shared skills.
- Distinctive: line 50
Never paraphrase an MCP tool's entire contract.
- Distinctive: line 56
Use semicolons to separate trigger phrases in description (YAML-safe).
- Distinctive: line 59
Never embed secrets or credentials in skill content.
- Distinctive: line 60
Never instruct agents to bypass CI, pylint, mypy, pyright, or other gating tools.
- Very specific: line 61
Never instruct agents to edit files inside _generated/ (or any file with the "Code generated by Microsoft (R) Python Code Generator" …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Package Skill Wizard
Minimal beats comprehensive. Human-written beats auto-generated. Scaffold and iterate.
Skills encode tribal knowledge — the "I wish someone had told me" stuff that's hard to learn from just reading code. Focus on what's non-obvious and package-specific.
Interaction Protocols
CONFIRM Protocol (asset-producing steps — creating files):
- PRESENT the proposed assets and explain why.
- ASK exactly one question: "Create now (recommended), edit first, or skip?"
- ACT immediately. Create → write files this turn. Edit → refine, re-ask. Skip → move on.
DECIDE Protocol (informational/correction steps — no files created):
- PRESENT the information or findings.
- ASK one specific question appropriate to the decision.
- PROCEED based on the answer.
One question at a time. Respect "skip" — never re-ask or defer.
Wizard Flow
Run each phase in order. Progressive loading: Read only the current phase file.
| Phase | Description | Instructions |
| Phase 0 | 🧭 Scan Package — detect architecture, customizations, key files | phases/00-scan-package.md |
| Phase 1 | 📝 Scaffold SKILL.md — generate skill with step-by-step post-regen workflow (Option A) or reference-manual structure (Option B) | phases/01-scaffold-skill.md |
| Phase 2 | 📚 Generate References — create customizations.md (required) and optionally architecture.md | phases/02-generate-references.md |
| Phase 3 | Validate -- run vally lint | phases/03-validate.md |
| Phase 4 | 📋 Finalize — confirm discoverable location, summarize | phases/04-finalize.md |
Guardrails
Content:
- Every line must be non-obvious and package-specific. No generic Python/SDK boilerplate.
- SKILL.md should be under 500 tokens (soft limit). Move details to references/.
- References under 1000 tokens each. Split if larger.
- Never duplicate what's already in
.github/copilot-instructions.mdor shared skills.
Relationship to existing SDK tools:
- Package skills complement the Azure SDK MCP tools (
azsdk_package_generate_code,azsdk_package_build_code,azsdk_customized_code_update, etc.) — they do NOT replace them. - MCP tools handle deterministic operations (generate, build, test). Package skills provide the reasoning context an agent needs to use those tools correctly for a specific package, plus the package-specific verification commands the tools do not know about.
- Reference the existing tools for the overall workflow (e.g., "Run
tsp-client updateorazsdk_package_generate_code"), but DO include the copy-pasteable verification commands an agent needs: import smoke tests (python -c "from ... import ..."),ApiVersionreconciliation (grep,python -c "import json; ..."), diff commands (git diff --name-only | grep ...), and the package validation invocation (azsdk_package_run_check with checkType="All"). - Never paraphrase an MCP tool's entire contract. Do include the one-line invocations the agent will run.
Structure:
- Skill directory:
sdk/<service>/<package-name>/.github/skills/<package-name>/ - Directory name MUST match
namefield in frontmatter (vally lint enforces this). nameis the distribution package name, e.g.azure-search-documents,azure-ai-projects,azure-mgmt-appconfiguration.- Use semicolons to separate trigger phrases in description (YAML-safe).
Security:
- Never embed secrets or credentials in skill content.
- Never instruct agents to bypass CI, pylint, mypy, pyright, or other gating tools.
- Never instruct agents to edit files inside
_generated/(or any file with the"Code generated by Microsoft (R) Python Code Generator"header) — always route through_patch.pyor sibling hand-written modules.
Key Principles (from eval data)
Our eval showed that skill structure matters more than volume:
| Pattern | Impact |
| Numbered step-by-step post-regen workflow (Option A) | Agent executes verification top-to-bottom without inventing steps |
Copy-pasteable verification commands (import smoke tests, ApiVersion reconciliation, git diff of generated operations/models) | Agent actually runs the checks instead of guessing whether customizations still work |
"Expose new generated methods through _patch.py" step (mixin inheritance / override / polymorphic / create-or-update / list / __all__ re-export) | Agent wires new generated operations into the public surface instead of leaving them unreachable |
"Check _patch.py FIRST" directives | Changes agent default from "fix the error location" to "check the customization layer" |
Per-file Depends On / Defines / After Regeneration, Verify inventory in customizations.md | Agent can pinpoint exactly which generated symbol a breakage maps to |
| Generated-file detection guidance (directory OR header comment) | Agent correctly identifies auto-generated files under both _generated/ and inline layouts |
| Async parity checklist | Agent remembers to mirror sync changes into aio/ |
| CHANGELOG / README update step | Prevents "silent" releases that ship new operations without docs |
References (load on demand)
- references/skill-template.md -- SKILL.md template with required sections
- references/validation-tools.md -- vally lint, CI workflow setup
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

