Skip to content

Add GitHub Copilot instructions for repository conventions#390

Merged
sensslen merged 4 commits into
mainfrom
copilot/set-up-copilot-instructions
Jan 15, 2026
Merged

Add GitHub Copilot instructions for repository conventions#390
sensslen merged 4 commits into
mainfrom
copilot/set-up-copilot-instructions

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 15, 2026

Configures .github/copilot-instructions.md to provide Copilot with repository-specific context following best practices.

Contents

  • Build/Test Commands: dotnet restore, dotnet build, dotnet test, dotnet format with framework-specific flags
  • Project Structure: Maps src/tests directories to their purposes (NuGetLicenseCore, NuGetLicenseFramework, FileLicenseMatcher, etc.)
  • Coding Conventions:
    • C# style from .editorconfig (Allman braces, 4-space indent, no var for built-in types)
    • Naming: _camelCase for private fields, s_camelCase for static fields (note: ported SPDX code uses UPPER_CASE)
    • Required license header for all C# files
  • Multi-targeting: Targets net8.0, net9.0, net10.0, and net472 with cross-platform considerations
  • Project-specific patterns: Reads from project.assets.json (not package restore), supports Table/Markdown/JSON output formats

SDK requirement clarified as 10.0.102+ (per global.json with rollForward).

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
    • Triggering command: /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

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 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.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 15, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI and others added 2 commits January 15, 2026 20:46
Co-authored-by: sensslen <3428860+sensslen@users.noreply.github.com>
…aming conventions

Co-authored-by: sensslen <3428860+sensslen@users.noreply.github.com>
Copilot AI changed the title [WIP] Configure instructions for repository Copilot Add GitHub Copilot instructions for repository conventions Jan 15, 2026
Copilot AI requested a review from sensslen January 15, 2026 20:51
@sensslen sensslen marked this pull request as ready for review January 15, 2026 20:53
@sensslen sensslen merged commit 603e2b5 into main Jan 15, 2026
40 checks passed
@sensslen sensslen deleted the copilot/set-up-copilot-instructions branch January 15, 2026 20:54
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants