Remove "When to Use" sections from skill content#1548
Draft
Conversation
…ference files) Agent-Logs-Url: https://github.com/microsoft/GitHub-Copilot-for-Azure/sessions/d40bfb29-50b6-4e82-bed6-40bff0c5dfde Co-authored-by: kvenkatrajan <102772054+kvenkatrajan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix skill content to remove usage guidelines
Remove "When to Use" sections from skill content
Mar 27, 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.
Skill invocation depends solely on the frontmatter
descriptionfield.## When to Use This Skillsections in skill content bodies are redundant with the description and add unnecessary tokens.Changes
Skill authoring guidelines
When to Use This Skillfrom the Required Sections list in.github/instructions/skill-files.instructions.mdSKILL.md files (12 files) — removed
## When to Use This Skill/## Skill Activation Triggerssections:azure-compliance,azure-kubernetes,azure-compute,azure-aigateway,azure-cost-optimization,azure-enterprise-infra-planner,appinsights-instrumentation,azure-resource-lookup,azure-quotas,azure-messagingmicrosoft-foundry/models/deploy-model/customize— section removed;Comparison: customize vs presettable preserved under its own headingmicrosoft-foundry/models/deploy-model/capacityReference/workflow files (11 files) — same removal applied to non-SKILL.md content that followed the same pattern:
vm-recommender.md,create.md(foundry-agent),deploy.md,create-foundry-resource.md,trace.md,troubleshoot.md,invoke.md,eval-datasets.md,observe.md,aks-troubleshooting.md,rbac.md⚠️ DO NOT manually call...) are preserved in placeUnit tests — updated assertions in 11 test files to remove checks for the deleted sections; a few tests updated to assert on equivalent content that remains (e.g., policy category table references instead of governance category labels that only existed in the removed sections)
Version bumps on all modified SKILL.md files per authoring conventions.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
centralus-2.in.applicationinsights.azure.com/home/REDACTED/.npm/_npx/6027471c64e54353/node_modules/@azure/mcp-linux-x64/dist/azmcp /home/REDACTED/.npm/_npx/6027471c64e54353/node_modules/@azure/mcp-linux-x64/dist/azmcp server start git /.bin/npx ning-when-to-use --global /home/REDACTED/.cargo/bin/git -cost-optimizatiwatchman(dns block)https://api.github.com/copilot_internal/user/opt/hostedtoolcache/node/24.14.0/x64/bin/node /opt/hostedtoolcache/node/24.14.0/x64/bin/node /home/REDACTED/work/GitHub-Copilot-for-Azure/GitHub-Copilot-for-Azure/tests/node_modules/@github/copilot/index.js --yolo --headless --no-auto-update --log-level error --stdio(http block)If you need me to access, download, or install something from one of these locations, you can either:
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.