OneLinersCommand workbench
AI
Back to instructions
.github/prompts/*.prompt.md

Reusable Copilot prompt file

A parameterized prompt command for a repeatable repository task.

Revision
1
Verified
2026-07-26
Save or explore
Save to collectionCreate a collection in the sidebar first.

Compatibility and paths

GitHub Copilot.github/prompts/{{name}}.prompt.mdExplicit invocation from VS Code chat
VS Code.github/prompts/{{name}}.prompt.mdExplicit invocation from VS Code chat

Trust and provenance

Curated record reviewed 2026-07-26. Results still depend on the supplied context and target environment.

Explicit invocation from VS Code chat

Fill variables

Values stay in this browser tab and are not stored.

Generated asset6 required field(s) must be completed
---
description: '{{description}}'
argument-hint: '{{argumentHint}}'
---

# Task
{{task}}

## Constraints
- Inspect existing code before editing.
- Preserve public interfaces unless explicitly requested.
- Run the repository validation commands and report failures.

Real example

Input

Project uses .github/prompts/{{name}}.prompt.md with the required variables filled.

Expected result

---
description: 'example-value'
argument-hint: 'example-value'
---

# Task
example-value

## Constraints
- Inspect existing code before editing.
- Preserve public interfaces unless explicitly requested.
- Run the repository validation commands and report failures.

Source evidence

GitHub Copilot custom instructionsofficial