-
Notifications
You must be signed in to change notification settings - Fork 138
Add mandatory instruction reference requirement, guide AI agents to copilot-instructions.md, reorganize code snippets, and promote GitHub Copilot #2401
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: fadidurah <[email protected]>
|
@copilot Good start, let's also update the wiki and readme of this repo to explicitly guide copilot agent towards the instructions file. Can the wiki update happen in the PR? |
Co-authored-by: fadidurah <[email protected]>
Updated both README.md and docs/home.md to prominently reference Regarding the wiki: GitHub wikis are separate repositories and cannot be updated through pull requests. Wiki updates would need to be made directly through the GitHub wiki interface. If you'd like to update the wiki, I can provide the recommended text to add. |
|
@copilot Also as part of this PR, move the code snippets in the root README.md file in step 4, to a new README.md file in the snippets directory. Make mention that these resouces are in this new README file, include a link to that location in the repo |
Co-authored-by: fadidurah <[email protected]>
Moved code snippets from Step 4 in the root README.md to a new snippets/README.md file in commit 0381dfd. The root README now contains a concise reference with a prominent link to the new snippets documentation, which includes all the usage examples for both Multiple Account Mode and Single Account Mode. |
|
@copilot Lets keep a copy of Configuration Best Practices in the root README |
Co-authored-by: fadidurah <[email protected]>
|
@copilot Replace the Try out Cline! section, with a section prompting the user to try out github copilot. Let's also leave a small mention of Cline support in a different location in the README |
…pport Co-authored-by: fadidurah <[email protected]>
Replaced the "Try out Cline!" section with "Try out GitHub Copilot!" in commit 4ab7a4d. The new section includes:
Added a note about Cline support in the Support section under "AI Agent Support" with a reference to Ai.md for detailed guidance. |
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
Copilot must explicitly reference repository instructions for all prompts, not just when asked. Added enforcement note to codify this behavior, updated repository documentation to prominently reference the instructions file, reorganized code snippets for better maintainability, and updated the README to prominently feature GitHub Copilot.
Changes
.github/copilot-instructions.md
README.md
.github/copilot-instructions.mdwith both relative link and raw URLdocs/home.md
snippets/README.md (NEW)
Result
copilot-instructions.md:
README.md AI Development Resources:
README.md Try out GitHub Copilot:
README.md Step 4:
This makes the implicit expectation explicit and enforceable, while ensuring all entry points to the repository documentation direct AI agents to the instructions file. Additionally, code snippets are now better organized in a dedicated location for easier maintenance and discovery. Configuration best practices remain in the root README for quick reference while also being available in the comprehensive snippets documentation. The README now prominently features GitHub Copilot with practical guidance, while maintaining support information for other AI agents including Cline in the Support section.
This pull request was created as a result of the following prompt from Copilot chat.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.