agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-java/.github/skills/create-package-skill/SKILL.md

create-package-skill

Skill2.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 this year.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Azure/azure-sdk-for-java repository that our weekly crawl found: only 12 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about Azure/azure-sdk-for-java

The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 12

Talked about on GitHub (12 times).

On GitHub · 12

7 more on GitHub

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    ASK exactly one question: "Create now (recommended), edit first, or skip?"

    line 16
  2. Distinctive:

    ASK one specific question appropriate to the decision.

    line 21
  3. Distinctive:

    Run each phase in order. Progressive loading: Read only the current phase file.

    line 28
  4. Distinctive:

    Every line must be non-obvious and package-specific.

    line 41
  5. Very specific:

    Never duplicate what's already in .github/copilot-instructions.md or shared skills.

    line 44
  6. Very specific:

    Never redefine how generation, building, or testing works — reference the existing tools instead (e.g., "Run tsp-client update", not custom …

    line 49
  7. Distinctive:

    If a workflow step is already handled by an MCP tool or shared skill, just reference it — don't re-document it.

    line 50
  8. Distinctive:

    Use semicolons to separate trigger phrases in description (YAML-safe).

    line 55
  9. Distinctive:

    Never embed secrets or credentials in skill content.

    line 58
  10. Distinctive:

    Never instruct agents to bypass CI, linters, or checkstyle rules.

    line 59
  11. Distinctive:

    Never instruct agents to edit generated files directly — always route through customizations.

    line 60

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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):

  1. PRESENT the proposed assets and explain why.
  2. ASK exactly one question: "Create now (recommended), edit first, or skip?"
  3. ACT immediately. Create → write files this turn. Edit → refine, re-ask. Skip → move on.

DECIDE Protocol (informational/correction steps — no files created):

  1. PRESENT the information or findings.
  2. ASK one specific question appropriate to the decision.
  3. 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.

PhaseDescriptionInstructions
Phase 0🧭 Scan Package — detect architecture, customizations, key filesphases/00-scan-package.md
Phase 1📝 Scaffold SKILL.md — generate skill with common pitfalls, architecture, workflowphases/01-scaffold-skill.md
Phase 2📚 Generate References — create architecture.md and customizations.mdphases/02-generate-references.md
Phase 3Validate -- run vally lintphases/03-validate.md
Phase 4📋 Finalize — confirm discoverable location, summarizephases/04-finalize.md

Guardrails

Content:

  • Every line must be non-obvious and package-specific. No generic Java/SDK patterns.
  • 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.md or shared skills.

Relationship to existing SDK tools:

  • Package skills complement the Azure SDK MCP tools (azsdk_package_generate_code, azsdk_package_build_code, etc.) and the generate-sdk-locally shared skill — 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.
  • Never redefine how generation, building, or testing works — reference the existing tools instead (e.g., "Run tsp-client update", not custom generation steps).
  • If a workflow step is already handled by an MCP tool or shared skill, just reference it — don't re-document it.

Structure:

  • Skill directory: sdk/<service>/<package>/.github/skills/<skill-name>/
  • Directory name MUST match name field in frontmatter (vally lint enforces this).
  • 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, linters, or checkstyle rules.
  • Never instruct agents to edit generated files directly — always route through customizations.

Key Principles (from eval data)

Our eval showed that skill structure matters more than volume:

PatternImpact
"Common Pitfalls" section at the TOPAgent reads pitfalls before analyzing errors → correct diagnosis
"Check X FIRST" directivesChanges agent default from "fix the error location" to "check the customization layer"
Error categorization tablesGives agent a decision framework, not just procedures
@Generated annotation guidanceAgent distinguishes auto-updated vs hand-written methods in generated files

References (load on demand)

  • references/skill-template.md -- SKILL.md template with required sections
  • references/validation-tools.md -- vally lint, CI workflow setup

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.