Add Copilot instructions for repository-specific agent guidance - #719
Merged
Conversation
Co-authored-by: gfs <98900+gfs@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Set up Copilot instructions for repository
Add Copilot instructions for repository-specific agent guidance
Feb 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Copilot coding agent instructions to help automated tools understand repository-specific requirements that are not obvious from code inspection alone.
Changes:
- Created
.github/copilot-instructions.mdwith guidance on package feed constraints, mandatory changelog updates, build/test workflows, and repository structure - Updated
Changelog.mdwith version 1.0.72 entry documenting these additions
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/copilot-instructions.md |
New file providing comprehensive repository-specific guidance for Copilot coding agents, including critical rules about package management, changelog requirements, build commands, and development workflows |
Changelog.md |
Added version 1.0.72 entry documenting the addition of Copilot instructions file |
Comments suppressed due to low confidence (1)
.github/copilot-instructions.md:20
- Inconsistent capitalization of "VS Code". The repository consistently uses "VS Code" (with a space) in documentation and changelog entries. Change "VSCode plugin" to "VS Code plugin" to match the established convention.
- **.npmrc files**: VSCode plugin uses `.npmrc.pipeline` for private feeds
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - **DevSkim Library** (C#/.NET): Core security analysis engine (`./DevSkim-DotNet/`) | ||
| - **DevSkim CLI** (C#/.NET): Command-line tool (`./DevSkim-DotNet/Microsoft.DevSkim.CLI/`) | ||
| - **Visual Studio Extension** (C#/.NET): VS extension (`./DevSkim-DotNet/Microsoft.DevSkim.VisualStudio/`) | ||
| - **VS Code Plugin** (TypeScript): VSCode extension (`./DevSkim-VSCode-Plugin/`) |
There was a problem hiding this comment.
Inconsistent capitalization of "VS Code". The repository consistently uses "VS Code" (with a space) in documentation and changelog entries. Change "VSCode extension" to "VS Code extension" to match the established convention.
Giulia Stocco (gfs)
marked this pull request as ready for review
February 4, 2026 22:49
Dan Fiedler (danfiedler-msft)
approved these changes
Feb 5, 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.
Configures Copilot coding agent instructions per best practices to address repository-specific requirements that aren't obvious from code inspection.
Changes
Created
.github/copilot-instructions.mdwith:nuget.configand.npmrc.pipelinebefore committing. Private Azure DevOps feed config must remain in commits.Changelog.mdupdate with next patch version and current date. Format: Keep a Changelog with semantic versioning.Updated
Changelog.md:The instructions ensure agents understand non-obvious repository constraints (private feeds, changelog gates) that would otherwise cause CI failures.
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:
gh.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.