require-valid-prompt-argument-hint
Require Copilot prompt-file argument-hint metadata to be a non-empty scalar when present.
Rule catalog ID: R041
Targeted pattern scopeâ
.github/prompts/**/*.prompt.md
What this rule reportsâ
- blank
argument-hintvalues - non-scalar
argument-hintvalues that do not parse as one string
Why this rule existsâ
argument-hint is meant to describe the argument shape a prompt expects. If you include it, it should give users and clients a concrete hint rather than an empty or malformed placeholder.
â Incorrectâ
---
description: Summarize a change
argument-hint:
---
Summarize the supplied change.
â Correctâ
---
description: Summarize a change
argument-hint: <pull-request-number>
---
Summarize the supplied change.