require-valid-agent-argument-hint
Require Copilot custom-agent argument-hint metadata to be a non-empty scalar when present.
Rule catalog ID: R043
Targeted pattern scopeâ
.github/agents/**/*.agent.md
What this rule reportsâ
- blank custom-agent
argument-hintvalues - malformed non-scalar
argument-hintvalues in supported frontmatter
Why this rule existsâ
A custom agent's argument-hint is supposed to help callers understand what to pass when invoking the agent. If that field is present, it should contain usable guidance rather than an empty placeholder.
â Incorrectâ
---
description: Investigate a bug
argument-hint:
---
Investigate the supplied issue.
â Correctâ
---
description: Investigate a bug
argument-hint: <issue-url-or-stack-trace>
---
Investigate the supplied issue.