-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcolony-v1.json
More file actions
198 lines (198 loc) · 6.81 KB
/
colony-v1.json
File metadata and controls
198 lines (198 loc) · 6.81 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/zakelfassi/skills-driven-development/blob/main/docs/spec/colony-v1.json",
"title": "SkDD Colony Manifest",
"description": "JSON Schema (draft-07) for `.colony.json` — the manifest a SkDD colony publishes so marketplaces, validators, and adapter tools can discover and index it. Spec version: agentskills.io/v1. This schema is a SkDD extension layered on top of the Agent Skills SKILL.md spec; skills themselves remain spec-compliant and live in their own directories.",
"type": "object",
"required": ["name", "version", "description", "spec"],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "URI of the JSON Schema this manifest conforms to."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
"description": "Colony name. Kebab-case, 1-64 chars. Same regex as Agent Skills `name` field so colonies and skills share naming conventions."
},
"version": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?(\\+[0-9A-Za-z.-]+)?$",
"description": "Semver version. Bump major on breaking changes to the colony's public surface (removed skills, changed registry shape, etc.)."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "One-paragraph human-readable description. Same length bounds as a SKILL.md description."
},
"spec": {
"type": "string",
"enum": ["agentskills.io/v1"],
"description": "Which Agent Skills spec version this colony targets. Currently only 'agentskills.io/v1' is defined."
},
"canonicalSkillsDir": {
"type": "string",
"description": "Path (relative to this manifest) of the canonical skills directory — the single source of truth that every harness mirror points at. Defaults to 'skills'. For the seed SkDD repo itself this is 'skillforge' because the methodology repo's canonical seed is the meta-skill, not a multi-skill dir.",
"default": "skills"
},
"harnessMirrors": {
"type": "array",
"description": "Harness-expected skill directories that mirror the canonical. On Unix these are symlinks; on Windows they are file copies tracked in `.skdd-sync.json`. Managed by `skdd link` — do not hand-edit. The SkDD seed repo leaves this empty because it's a methodology repo, not a user project.",
"items": {
"type": "object",
"required": ["target"],
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Mirror path relative to the manifest. E.g. '.claude/skills'."
},
"harness": {
"type": "string",
"enum": [
"claude",
"codex",
"cursor",
"copilot",
"gemini",
"opencode",
"goose",
"amp",
"roo-code",
"junie",
"vscode"
]
},
"mode": {
"type": "string",
"enum": ["symlink", "copy"],
"description": "How the mirror is materialized on this platform."
}
}
}
},
"skills": {
"type": "array",
"description": "Top-level skills in this colony. Each entry points at a SKILL.md path relative to the manifest.",
"items": {
"type": "object",
"required": ["name", "path"],
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
"minLength": 1,
"maxLength": 64
},
"path": {
"type": "string",
"description": "Path to the SKILL.md, relative to the manifest root."
},
"description": { "type": "string", "maxLength": 1024 },
"status": {
"type": "string",
"enum": ["active", "archived", "deprecated", "draft"]
},
"version": { "type": "string" }
}
}
},
"examples": {
"type": "array",
"description": "Example projects or subcolonies that illustrate how to use the main colony.",
"items": {
"type": "object",
"required": ["name", "path"],
"additionalProperties": true,
"properties": {
"name": { "type": "string" },
"path": { "type": "string" },
"description": { "type": "string" },
"skills": {
"type": "array",
"items": { "type": "string" },
"description": "Paths of SKILL.md files that belong to this example, relative to the manifest root."
}
}
}
},
"homepage": { "type": "string", "format": "uri" },
"repository": {
"type": "object",
"additionalProperties": true,
"properties": {
"type": { "type": "string" },
"url": { "type": "string", "format": "uri" },
"directory": { "type": "string" }
}
},
"license": { "type": "string" },
"maintainers": {
"type": "array",
"items": {
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": true,
"properties": {
"name": { "type": "string" },
"email": { "type": "string", "format": "email" },
"github": { "type": "string" },
"url": { "type": "string", "format": "uri" }
}
}
]
}
},
"cli": {
"type": "object",
"description": "Optional pointer to the CLI that ships alongside this colony.",
"required": ["package"],
"additionalProperties": true,
"properties": {
"package": { "type": "string" },
"path": { "type": "string" },
"version": { "type": "string" }
}
},
"plugins": {
"type": "array",
"description": "Harness-specific plugin wrappers bundled with this colony.",
"items": {
"type": "object",
"required": ["name", "path", "target"],
"additionalProperties": true,
"properties": {
"name": { "type": "string" },
"path": { "type": "string" },
"target": {
"type": "string",
"enum": [
"claude-code",
"codex",
"cursor",
"copilot",
"gemini-cli",
"opencode",
"goose",
"amp",
"roo-code",
"junie",
"vscode"
]
}
}
}
},
"keywords": {
"type": "array",
"items": { "type": "string" }
}
}
}