Add Copilot agent skills and expand contributor instructions#4863
Merged
hanniavalera merged 3 commits intomainfrom Apr 20, 2026
Merged
Add Copilot agent skills and expand contributor instructions#4863hanniavalera merged 3 commits intomainfrom
hanniavalera merged 3 commits intomainfrom
Conversation
e08a62b to
fcbbde5
Compare
… tests, and handling presets vs kits
db31e45 to
f69660c
Compare
snehara99
approved these changes
Apr 20, 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.
Summary
This PR improves the Copilot agent experience for contributors to CMake Tools by:
.github/copilot-instructions.mdNew Skills
add-commandextension.tschangescmake.*commandadd-settingconfig.tschangescmake.*settingadd-diagnostic-parsersrc/diagnostics/changespresets-vs-kitsbackend-teststest/unit-tests/backend/changesSkills use YAML frontmatter with
nameanddescriptionso the agent can auto-load them when relevant.Expanded Contributor Instructions
New sections in
.github/copilot-instructions.md:ConfigurationReader.onChange(), notvscode.workspace.onDidChangeConfiguration__unspec__,__scanforkits__before treating a kit as a real compilerisTrustedfilteringpackage.nls.jsonkeysscope— When to use"resource"vs"window".npmrc.bakand patchedyarn.lockCopilot agent CI environment (agent-only)
The Copilot agent runs in a sandbox without Azure Artifacts credentials. The
copilot-setup-steps.ymlworkflow patches the registry configuration to allowyarn installto succeed.If you are the Copilot agent and
git statusshows.npmrc.bakor modifiedyarn.lock:git checkout -- .npmrc yarn.lockbefore committingIf you are a human contributor: Ignore this section. Your local environment should use the standard
.npmrcandyarn.lockas-is. If you have Azure Artifacts access issues, see the repo's onboarding docs or contact the team.Why This Matters
Testing
yarn compilepassesyarn backendTestspassesNo user-facing changes — this is contributor/agent tooling only.