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/instruction-frontmatter.schema.json

25lines · modecode

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/microsoft/hve-core/schemas/instruction-frontmatter.schema.json",
4 "title": "Instruction File Frontmatter Schema",
5 "description": "Frontmatter schema for .instructions.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 instructions file"
13 },
14 "name": {
15 "type": "string",
16 "minLength": 1,
17 "description": "The name of the instructions file, used in the UI. If not specified, the file name is used."
18 },
19 "applyTo": {
20 "type": "string",
21 "description": "Optional glob pattern that defines which files the instructions should be applied to automatically, relative to the workspace root. Use ** to apply to all files. If not specified, instructions are not applied automatically."
22 }
23 },
24 "additionalProperties": false
25}