Skip to content

show copilot instructions prompt at startup #2361

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 8 commits into from
May 16, 2025

Conversation

minestarks
Copy link
Member

@minestarks minestarks commented May 2, 2025

Directly invoked by the user via "create Q# project" or "update Copilot instructions for Q#":

image

One-time prompt at startup, or indirectly invoked whenever our copilot tools get called:

image

@minestarks minestarks requested review from billti and idavis as code owners May 2, 2025 15:16
billti
billti previously approved these changes May 2, 2025
idavis
idavis previously approved these changes May 2, 2025
@minestarks
Copy link
Member Author

I'm not merging this yet because I want to refine this a little to work better with VS Code Next's support for instructions file. For one, we should be able to drop our own .github/instructions/qsharp.instructions.md in the workspace and avoid having to append to the global copilot-instructions.md . There are other things you can do with settings/user profiles but I can't make up my mind on where exactly we can hook in.

https://github.com/microsoft/vscode-docs/blob/vnext/docs/copilot/copilot-customization.md#specify-custom-instructions-in-settings

@minestarks minestarks force-pushed the minestarks/copilot-instructions-prompt branch from 16fcea5 to b28f1e9 Compare May 15, 2025 21:29
@minestarks minestarks requested review from idavis and billti May 15, 2025 21:29
@minestarks minestarks dismissed stale reviews from idavis and billti May 15, 2025 22:05

redid the whole PR

@minestarks
Copy link
Member Author

This PR is ready with a new implementation, please review

@minestarks minestarks added this pull request to the merge queue May 16, 2025
Merged via the queue into main with commit 6d1f045 May 16, 2025
18 checks passed
@minestarks minestarks deleted the minestarks/copilot-instructions-prompt branch May 16, 2025 18:57
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.

3 participants