| name | description | agent |
|---|---|---|
show-instructions-used |
Require every Copilot Chat response to include an `Instructions used` footer listing any custom instructions used ".github/copilot-instructions.md" plus any matching path-scoped ".github/instructions/*.instructions.md" files or "(no scoped instructions)". |
ask |
We have a repo with:
- a global Copilot instruction file:
.github/copilot-instructions.md - multiple path-scoped instruction files:
.github/instructions/*.instructions.mdusingapplyTopatterns
GitHub Copilot Chat doesn’t natively show which custom instructions and path-scoped instructions were applied for a given response.
We want Copilot Chat responses to always disclose which instruction files were applied for each response.
-
Update the repo’s global instruction file:
.github/copilot-instructions.md. -
Add (or update) a mandatory rule that forces Copilot to append an "Instructions used" footer to every response.
- This footer must appear even for short answers/small talk.
- Keep it short: 1–4 bullets.
-
Use this exact footer format and wording (verbatim), adjusting only the list items based on what applies:
Instructions used.github/copilot-instructions.md<any matching .github/instructions/*.instructions.md based on applyTo + the files/paths discussed or edited>- or
(no scoped instructions)
-
Avoid duplicates:
- If the rule already exists, refine it rather than adding a second copy.