-
Notifications
You must be signed in to change notification settings - Fork 0
Configure Copilot instructions per best practices #63
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: doublegate <6858123+doublegate@users.noreply.github.com>
doublegate
left a comment
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.
Reviewed / Approved — DG 1/10
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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.
Pull request overview
This PR enhances the GitHub Copilot instructions file with best practices for the Copilot coding agent, adding structured guidance for working with issues, pull requests, boundaries, common tasks, and quality assurance. The additions follow GitHub's official best practices documentation and provide actionable context that helps Copilot better understand how to work effectively within this repository.
Changes:
- Added a purpose statement explaining the file's role for Copilot agents
- Added "Working with Issues and Pull Requests" section with guidelines for issue handling, PR creation, and when to seek clarification
- Added "Boundaries and Constraints" section defining prohibited actions and safe operations
- Added "Common Task Examples" with step-by-step workflows for IRC command implementation, GUI fixes, and Lua scripts
- Added "Quality Assurance Checklist" with 9 verification items before marking work complete
Removed bullet point to avoid redundancy, as the existing rule in the Critical Rules section already covers “Zero Placeholder Code” rule — DG 1/10 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Pull Request
Description
Enhanced
.github/copilot-instructions.mdwith GitHub Copilot coding agent best practices. Added workflow integration, explicit boundaries, task examples, and quality gates to improve agent effectiveness.Type of Change
Changes Made
Added 4 new sections (+85 lines, 47% content increase):
Structure:
Testing
Test Details
Screenshots (if applicable)
N/A - Documentation only change
Performance Impact
Security Considerations
Explicitly defines security boundaries: no secrets in commits, no disabling security checks, mandatory advisory checks for new dependencies.
Breaking Changes
Checklist
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.
Note
Strengthens Copilot guidance and repository conventions.
/.github/copilot-instructions.mdWritten by Cursor Bugbot for commit b9652df. This will update automatically on new commits. Configure here.