Skip to content

copilot: Provide more project context for the Copilot coding agent #1207

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

carsonRadtke
Copy link
Collaborator

@carsonRadtke carsonRadtke commented May 21, 2025

These files provides additional context and instructions to GitHub Copilot so it can better understand the codebase and coding conventions.

More can be found about this file at the following links:

@carsonRadtke carsonRadtke marked this pull request as draft May 21, 2025 15:57
This new workflow is done when copilot loads into an environment and
enables copilot to be sure it has the proper dependencies before working
on changes. Also included in the change are explicit instructions on
what to do before reporting back "done".
@carsonRadtke carsonRadtke changed the title copilot: create .github/copilot-instructions.md copilot: Provide more project context for the Copilot coding agent May 22, 2025
@carsonRadtke carsonRadtke marked this pull request as ready for review May 22, 2025 15:57
@carsonRadtke carsonRadtke merged commit c219709 into microsoft:main May 22, 2025
83 checks passed
@carsonRadtke carsonRadtke deleted the add-copilot-instructions branch May 22, 2025 16:32
Copilot AI pushed a commit that referenced this pull request May 22, 2025
…1207)

* copilot: create .github/copilot-instructions.md

This file provides additional context and instructions to GitHub
Copilot so it can better understand the codebase and coding conventions.

More can be found about this file at the following links:
 - [Best practices for using Copilot to work on tasks](https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-taskshttps://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
 - [Adding repository custom instructions for GitHub Copilot](https://docs.github.com/en/enterprise-cloud@latest/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webuihttps://docs.github.com/en/enterprise-cloud@latest/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)

* copilot: add copilot-setup-steps.yml

This new workflow is done when copilot loads into an environment and
enables copilot to be sure it has the proper dependencies before working
on changes. Also included in the change are explicit instructions on
what to do before reporting back "done".
carsonRadtke added a commit that referenced this pull request May 22, 2025
* Initial plan for issue

* Add test and plan to make not_null comparison functions constexpr

Co-authored-by: carsonRadtke <[email protected]>

* Add constexpr to not_null comparison operators

Co-authored-by: carsonRadtke <[email protected]>

* Fix copyright year in constexpr_notnull_tests.cpp

Co-authored-by: carsonRadtke <[email protected]>

* Fix constexpr tests for better compiler compatibility

Co-authored-by: carsonRadtke <[email protected]>

* Remove build artifacts and update .gitignore

Co-authored-by: carsonRadtke <[email protected]>

* Fix constexpr tests to be compatible with more compilers

Co-authored-by: carsonRadtke <[email protected]>

* copilot: Provide more project context for the Copilot coding agent (#1207)

* copilot: create .github/copilot-instructions.md

This file provides additional context and instructions to GitHub
Copilot so it can better understand the codebase and coding conventions.

More can be found about this file at the following links:
 - [Best practices for using Copilot to work on tasks](https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-taskshttps://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/best-practices-for-using-copilot-to-work-on-tasks)
 - [Adding repository custom instructions for GitHub Copilot](https://docs.github.com/en/enterprise-cloud@latest/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot?tool=webuihttps://docs.github.com/en/enterprise-cloud@latest/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)

* copilot: add copilot-setup-steps.yml

This new workflow is done when copilot loads into an environment and
enables copilot to be sure it has the proper dependencies before working
on changes. Also included in the change are explicit instructions on
what to do before reporting back "done".

* Initial plan for issue

* Rebase onto main and verify changes meet project guidelines

Co-authored-by: carsonRadtke <[email protected]>

* Update .gitignore to exclude build-cxx* directories

Co-authored-by: carsonRadtke <[email protected]>

* Fix newline at end of constexpr_notnull_tests.cpp and update .gitignore

Co-authored-by: carsonRadtke <[email protected]>

* Remove C++14 feature check that is redundant since C++14 is the minimum supported standard

Co-authored-by: carsonRadtke <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: carsonRadtke <[email protected]>
Co-authored-by: Carson Radtke <[email protected]>
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.

1 participant