forked from guorunjie/skillpack-forge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskillpack.schema.json
More file actions
68 lines (68 loc) · 1.63 KB
/
Copy pathskillpack.schema.json
File metadata and controls
68 lines (68 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/guorunjie/skillpack-forge/skillpack.schema.json",
"title": "Skillpack Forge Manifest",
"type": "object",
"additionalProperties": false,
"required": ["name", "summary", "targets", "principles", "commands", "skills"],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]*$",
"description": "Slug used for generated file names."
},
"summary": {
"type": "string",
"minLength": 1
},
"targets": {
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"enum": ["agents", "claude-md", "claude", "codex", "cursor", "copilot", "mcp"]
}
},
"principles": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"commands": {
"type": "object",
"additionalProperties": {
"type": "string",
"minLength": 1
}
},
"skills": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name", "description", "workflow"],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]*$"
},
"description": {
"type": "string",
"minLength": 1
},
"workflow": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
}
}
}
}
}