microsoft/hve-core

Public

mirrored fromhttps://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
docs/621-ai-artifacts

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/linting/schemas/prompt-frontmatter.schema.json

40lines · modecode

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/microsoft/hve-core/schemas/prompt-frontmatter.schema.json",
4 "title": "Prompt File Frontmatter Schema",
5 "description": "Frontmatter schema for .prompt.md files per VS Code Copilot specification",
6 "type": "object",
7 "required": ["description"],
8 "properties": {
9 "description": {
10 "type": "string",
11 "minLength": 1,
12 "description": "A short description of the prompt"
13 },
14 "name": {
15 "type": "string",
16 "minLength": 1,
17 "description": "The name of the prompt, used after typing / in chat. Defaults to filename if not specified."
18 },
19 "argument-hint": {
20 "type": "string",
21 "description": "Optional hint text shown in the chat input to guide users on expected arguments"
22 },
23 "agent": {
24 "type": "string",
25 "description": "The agent used for running the prompt. Options: ask, edit, agent (default), or a custom agent name"
26 },
27 "model": {
28 "type": "string",
29 "description": "The language model to use when running the prompt. Defaults to current selection if not specified."
30 },
31 "tools": {
32 "type": "array",
33 "items": {
34 "type": "string"
35 },
36 "description": "List of tool names or tool set names available for this prompt. Can include built-in tools, MCP tools (<server>/*), or extension tools."
37 }
38 },
39 "additionalProperties": true
40}