microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
e69486a5f809ede45c63c0a31358c12912bd5168

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

41lines · modecode

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://github.com/microsoft/hve-core/schemas/chatmode-frontmatter.schema.json",
4 "title": "ChatMode File Frontmatter Schema",
5 "description": "Frontmatter schema for .chatmode.md files (legacy/deprecated format)",
6 "type": "object",
7 "required": ["description"],
8 "properties": {
9 "description": {
10 "type": "string",
11 "minLength": 1,
12 "description": "Concise explanation of chatmode functionality (10-200 characters)"
13 },
14 "tools": {
15 "type": "array",
16 "items": {
17 "type": "string"
18 },
19 "description": "List of GitHub Copilot tools available to this agent (e.g., codebase, search, editFiles, runCommands)"
20 },
21 "mode": {
22 "type": "string",
23 "enum": ["agent", "assistant", "copilot"],
24 "description": "Defines agent interaction pattern"
25 },
26 "model": {
27 "type": "string",
28 "description": "The language model to use (e.g., 'Claude Sonnet 4')"
29 },
30 "version": {
31 "type": "string",
32 "pattern": "^\\d+\\.\\d+\\.\\d+$",
33 "description": "Semantic version number (e.g., '1.0.0')"
34 },
35 "author": {
36 "type": "string",
37 "description": "Attribution for chatmode creator (e.g., 'microsoft/hve-core')"
38 }
39 },
40 "additionalProperties": true
41}