D2: Instructions Files & Prompt Files
GH-300 GitHub Copilot exam practice questions · 10 flashcards
Question
Repository custom instructions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Instructions Files & Prompt Files practice questions and answers
- Repository custom instructions?.github/copilot-instructions.md adds project-wide guidance to chat/agent requests.
- Path-specific instructions?.github/instructions/*.instructions.md with applyTo glob patterns.
- AGENTS.md?Agent instructions file supported by Copilot coding agent/agent mode.
- Prompt files?.github/prompts/*.prompt.md reusable prompts invoked with /name for consistent responses.
- Prompt file contents?Front matter (mode, tools, model, description) plus prompt body with context references.
- Personal instructions?User-level preferences applied across repos on github.com.
- Organization instructions?Org-level custom instructions for Copilot on github.com.
- Custom review standards?Instructions files guide Copilot code review (e.g. security, style rules).
- Custom chat modes / agents?Define custom agent personas with tools and instructions (.agent.md / chatmodes).
- Scenario: team wants identical 'write API endpoint' requests every time. Feature?Prompt file in .github/prompts.