microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feat/claude-support

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

47lines · 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 "maturity": {
15 "type": "string",
16 "enum": ["stable", "preview", "experimental", "deprecated"],
17 "default": "stable",
18 "description": "Maturity level affecting visibility in stable vs pre-release builds. Stable appears in all builds; preview/experimental only in pre-release."
19 },
20 "tools": {
21 "type": "array",
22 "items": {
23 "type": "string"
24 },
25 "description": "List of GitHub Copilot tools available to this agent (e.g., codebase, search, editFiles, runCommands)"
26 },
27 "mode": {
28 "type": "string",
29 "enum": ["agent", "assistant", "copilot"],
30 "description": "Defines agent interaction pattern"
31 },
32 "model": {
33 "type": "string",
34 "description": "The language model to use (e.g., 'Claude Sonnet 4')"
35 },
36 "version": {
37 "type": "string",
38 "pattern": "^\\d+\\.\\d+\\.\\d+$",
39 "description": "Semantic version number (e.g., '1.0.0')"
40 },
41 "author": {
42 "type": "string",
43 "description": "Attribution for chatmode creator (e.g., 'microsoft/hve-core')"
44 }
45 },
46 "additionalProperties": true
47}