docs: consolidate Copilot instructions and fix workflow trigger#2536
Merged
docs: consolidate Copilot instructions and fix workflow trigger#2536
Conversation
Co-authored-by: krlmlr <1741643+krlmlr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Set up instructions for Copilot coding agent
docs: consolidate Copilot instructions and fix workflow trigger
Jan 24, 2026
krlmlr
approved these changes
Jan 24, 2026
There was a problem hiding this comment.
Pull request overview
This pull request consolidates GitHub Copilot instructions and fixes a workflow trigger path. It enhances .github/copilot-instructions.md to provide better self-contained context for Copilot agents while maintaining AGENTS.md as the comprehensive source of truth.
Changes:
- Enhanced
.github/copilot-instructions.mdwith project overview, expanded commands, key conventions, and important files sections - Fixed workflow trigger paths in
.github/workflows/copilot-setup-steps.yamlfrom.ymlto.yamlto match actual filename
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/copilot-setup-steps.yaml |
Corrects trigger paths to match actual .yaml file extension |
.github/copilot-instructions.md |
Expands quick reference guide with project overview, additional commands, conventions, and important file information while cross-referencing AGENTS.md |
.github/copilot-instructions.md
Outdated
Comment on lines
12
to
13
There was a problem hiding this comment.
The test commands should include the reporter = "check" parameter to be consistent with AGENTS.md. The source of truth (AGENTS.md lines 39-40, 139) consistently specifies testthat::test_local(reporter = "check") for running tests. This parameter ensures consistent output formatting across different test runs.
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.
Enhanced
.github/copilot-instructions.mdfor better Copilot agent context while maintainingAGENTS.mdas the comprehensive source of truth.Changes
.github/copilot-instructions.md: Added project overview, expanded commands, key conventions, and important files section. Provides self-contained context for quick reference while linking toAGENTS.mdfor full details..github/workflows/copilot-setup-steps.yaml: Fixed trigger paths from.ymlto.yamlto match actual filename.Structure
.github/copilot-instructions.md(34 lines): Actionable quick referenceAGENTS.md(140 lines): Comprehensive documentation (unchanged)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)/usr/bin/curl curl -L REDACTED(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.