-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Set up Copilot instructions #2325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: alexeyzimarev <2821205+alexeyzimarev@users.noreply.github.com>
Deploying restsharp with
|
| Latest commit: |
37fbef5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e9e842e4.restsharp.pages.dev |
| Branch Preview URL: | https://copilot-set-up-copilot-instr.restsharp.pages.dev |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
|
|
||
| The library targets multiple frameworks: | ||
| - `netstandard2.0`, `net471`, `net48` - Legacy support | ||
| - `net8.0`, `net9.0`, `net10.0` - Modern .NET |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Remove unreleased .NET version from targets
| - `net8.0`, `net9.0`, `net10.0` - Modern .NET | |
| - `net8.0`, `net9.0` - Modern .NET |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.NET 10 was released more than a month ago, the suggestion is invalid.
User description
Description
Resolves #2323
Adds
.github/copilot-instructions.mdto configure GitHub Copilot coding agent per best practices.Contents:
dotnet build,dotnet test,dotnet pack)[GenerateImmutable],[GenerateClone],[Exclude]Directory.Packages.propsPurpose
This pull request is a:
Checklist
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
PR Type
Documentation
Description
Adds comprehensive Copilot instructions for RestSharp repository
Documents project overview, structure, and build/test commands
Provides guidance on multi-targeting, code style, and conventions
Includes testing frameworks, source generators, and PR checklist
Diagram Walkthrough
File Walkthrough
copilot-instructions.md
Add comprehensive Copilot instructions for RestSharp.github/copilot-instructions.md
guidance
multi-targeting strategy
header template
source generators, and PR checklist