@pinelabs/skills-cli 0.0.0-stage → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "minimumInstallerVersion": "0.5.0",
4
+ "maximumInstallerMajor": 0,
5
+ "label": "Bundled Pine Labs skills registry",
6
+ "skills": [
7
+ {
8
+ "id": "pinelabs-architecture",
9
+ "aliases": [
10
+ "pine-labs-architecture-design"
11
+ ],
12
+ "name": "pine-labs-architecture-design",
13
+ "description": "Turn Pine Labs PRDs and engineering changes into reviewable RFCs, traceable implementation plans, or authorized code changes using explicit execution modes, repository evidence, risk assessment and domain-specific engineering profiles.",
14
+ "version": "0.5.0",
15
+ "minimumInstallerVersion": "0.5.0",
16
+ "maximumInstallerMajor": 0,
17
+ "artifact": {
18
+ "location": "pinelabs-architecture-0.5.0.skill.json",
19
+ "sha256": "9a30a957740a9b3fb07e40ab3966d7ee32a8f5f09cfa6825b05e327c5d8bfd27",
20
+ "format": "pinelabs-skill-bundle-v1"
21
+ },
22
+ "agents": [
23
+ "codex",
24
+ "copilot"
25
+ ]
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Pine Labs manifest-v1",
4
+ "$comment": "Runtime validation also enforces portable paths, byte limits, identity, integrity, compatibility and cross-field ownership constraints.",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "const": 1
9
+ },
10
+ "installerVersion": {
11
+ "type": "string",
12
+ "maxLength": 48,
13
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
14
+ },
15
+ "skills": {
16
+ "type": "array",
17
+ "maxItems": 1000,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "id": {
22
+ "type": "string",
23
+ "maxLength": 64,
24
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
25
+ },
26
+ "aliases": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "string",
30
+ "maxLength": 64,
31
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
32
+ }
33
+ },
34
+ "name": {
35
+ "type": "string",
36
+ "maxLength": 64,
37
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
38
+ },
39
+ "version": {
40
+ "type": "string",
41
+ "maxLength": 48,
42
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
43
+ },
44
+ "artifactSha256": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ },
48
+ "source": {
49
+ "type": "object",
50
+ "properties": {
51
+ "location": {
52
+ "type": "string"
53
+ },
54
+ "sha256": {
55
+ "type": "string",
56
+ "pattern": "^[a-f0-9]{64}$"
57
+ },
58
+ "remote": {
59
+ "type": "boolean"
60
+ }
61
+ },
62
+ "required": [
63
+ "location",
64
+ "sha256",
65
+ "remote"
66
+ ],
67
+ "additionalProperties": false
68
+ },
69
+ "path": {
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 4095
73
+ },
74
+ "files": {
75
+ "type": "object",
76
+ "minProperties": 1,
77
+ "maxProperties": 3000,
78
+ "additionalProperties": {
79
+ "type": "object",
80
+ "properties": {
81
+ "sha256": {
82
+ "type": "string",
83
+ "pattern": "^[a-f0-9]{64}$"
84
+ },
85
+ "executable": {
86
+ "type": "boolean"
87
+ }
88
+ },
89
+ "required": [
90
+ "sha256",
91
+ "executable"
92
+ ],
93
+ "additionalProperties": false
94
+ }
95
+ }
96
+ },
97
+ "required": [
98
+ "id",
99
+ "aliases",
100
+ "name",
101
+ "version",
102
+ "artifactSha256",
103
+ "source",
104
+ "path",
105
+ "files"
106
+ ],
107
+ "additionalProperties": false
108
+ }
109
+ },
110
+ "agents": {
111
+ "type": "array",
112
+ "items": {
113
+ "enum": [
114
+ "codex",
115
+ "copilot"
116
+ ]
117
+ },
118
+ "uniqueItems": true,
119
+ "maxItems": 2
120
+ },
121
+ "guidance": {
122
+ "type": "array",
123
+ "maxItems": 2,
124
+ "items": {
125
+ "type": "object",
126
+ "properties": {
127
+ "path": {
128
+ "enum": [
129
+ "AGENTS.md",
130
+ ".github/copilot-instructions.md"
131
+ ]
132
+ },
133
+ "section": {
134
+ "type": "string",
135
+ "maxLength": 1048575
136
+ },
137
+ "created": {
138
+ "type": "boolean"
139
+ }
140
+ },
141
+ "required": [
142
+ "path",
143
+ "section",
144
+ "created"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ },
149
+ "installedAt": {
150
+ "type": "string"
151
+ },
152
+ "updatedAt": {
153
+ "type": "string"
154
+ }
155
+ },
156
+ "required": [
157
+ "schemaVersion",
158
+ "installerVersion",
159
+ "skills",
160
+ "agents",
161
+ "guidance",
162
+ "installedAt",
163
+ "updatedAt"
164
+ ],
165
+ "additionalProperties": false
166
+ }
@@ -0,0 +1,192 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Pine Labs manifest-v2",
4
+ "$comment": "Runtime validation also enforces portable paths, byte limits, identity, integrity, compatibility and cross-field ownership constraints.",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "const": 2
9
+ },
10
+ "installerVersion": {
11
+ "type": "string",
12
+ "maxLength": 48,
13
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
14
+ },
15
+ "skills": {
16
+ "type": "array",
17
+ "maxItems": 1000,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "id": {
22
+ "type": "string",
23
+ "maxLength": 64,
24
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
25
+ },
26
+ "aliases": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "string",
30
+ "maxLength": 64,
31
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
32
+ }
33
+ },
34
+ "name": {
35
+ "type": "string",
36
+ "maxLength": 64,
37
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
38
+ },
39
+ "version": {
40
+ "type": "string",
41
+ "maxLength": 48,
42
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
43
+ },
44
+ "artifactSha256": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ },
48
+ "source": {
49
+ "oneOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "kind": {
54
+ "const": "bundled"
55
+ },
56
+ "sha256": {
57
+ "type": "string",
58
+ "pattern": "^[a-f0-9]{64}$"
59
+ }
60
+ },
61
+ "required": [
62
+ "kind",
63
+ "sha256"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "kind": {
71
+ "enum": [
72
+ "local",
73
+ "remote",
74
+ "legacy-local"
75
+ ]
76
+ },
77
+ "location": {
78
+ "type": "string",
79
+ "minLength": 1
80
+ },
81
+ "sha256": {
82
+ "type": "string",
83
+ "pattern": "^[a-f0-9]{64}$"
84
+ }
85
+ },
86
+ "required": [
87
+ "kind",
88
+ "location",
89
+ "sha256"
90
+ ],
91
+ "additionalProperties": false
92
+ }
93
+ ]
94
+ },
95
+ "path": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 4095
99
+ },
100
+ "files": {
101
+ "type": "object",
102
+ "minProperties": 1,
103
+ "maxProperties": 3000,
104
+ "additionalProperties": {
105
+ "type": "object",
106
+ "properties": {
107
+ "sha256": {
108
+ "type": "string",
109
+ "pattern": "^[a-f0-9]{64}$"
110
+ },
111
+ "executable": {
112
+ "type": "boolean"
113
+ }
114
+ },
115
+ "required": [
116
+ "sha256",
117
+ "executable"
118
+ ],
119
+ "additionalProperties": false
120
+ }
121
+ }
122
+ },
123
+ "required": [
124
+ "id",
125
+ "aliases",
126
+ "name",
127
+ "version",
128
+ "artifactSha256",
129
+ "source",
130
+ "path",
131
+ "files"
132
+ ],
133
+ "additionalProperties": false
134
+ }
135
+ },
136
+ "agents": {
137
+ "type": "array",
138
+ "items": {
139
+ "enum": [
140
+ "codex",
141
+ "copilot"
142
+ ]
143
+ },
144
+ "uniqueItems": true,
145
+ "maxItems": 2
146
+ },
147
+ "guidance": {
148
+ "type": "array",
149
+ "maxItems": 2,
150
+ "items": {
151
+ "type": "object",
152
+ "properties": {
153
+ "path": {
154
+ "enum": [
155
+ "AGENTS.md",
156
+ ".github/copilot-instructions.md"
157
+ ]
158
+ },
159
+ "section": {
160
+ "type": "string",
161
+ "maxLength": 1048575
162
+ },
163
+ "created": {
164
+ "type": "boolean"
165
+ }
166
+ },
167
+ "required": [
168
+ "path",
169
+ "section",
170
+ "created"
171
+ ],
172
+ "additionalProperties": false
173
+ }
174
+ },
175
+ "installedAt": {
176
+ "type": "string"
177
+ },
178
+ "updatedAt": {
179
+ "type": "string"
180
+ }
181
+ },
182
+ "required": [
183
+ "schemaVersion",
184
+ "installerVersion",
185
+ "skills",
186
+ "agents",
187
+ "guidance",
188
+ "installedAt",
189
+ "updatedAt"
190
+ ],
191
+ "additionalProperties": false
192
+ }
@@ -0,0 +1,212 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Pine Labs manifest-v3",
4
+ "$comment": "Runtime validation also enforces portable paths, byte limits, identity, integrity, compatibility and cross-field ownership constraints.",
5
+ "type": "object",
6
+ "properties": {
7
+ "schemaVersion": {
8
+ "const": 3
9
+ },
10
+ "installerVersion": {
11
+ "type": "string",
12
+ "maxLength": 48,
13
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
14
+ },
15
+ "skills": {
16
+ "type": "array",
17
+ "maxItems": 1000,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "id": {
22
+ "type": "string",
23
+ "maxLength": 64,
24
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
25
+ },
26
+ "aliases": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "string",
30
+ "maxLength": 64,
31
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
32
+ }
33
+ },
34
+ "name": {
35
+ "type": "string",
36
+ "maxLength": 64,
37
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
38
+ },
39
+ "version": {
40
+ "type": "string",
41
+ "maxLength": 48,
42
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
43
+ },
44
+ "artifactSha256": {
45
+ "type": "string",
46
+ "pattern": "^[a-f0-9]{64}$"
47
+ },
48
+ "source": {
49
+ "oneOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "kind": {
54
+ "const": "bundled"
55
+ },
56
+ "sha256": {
57
+ "type": "string",
58
+ "pattern": "^[a-f0-9]{64}$"
59
+ }
60
+ },
61
+ "required": [
62
+ "kind",
63
+ "sha256"
64
+ ],
65
+ "additionalProperties": false
66
+ },
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "kind": {
71
+ "enum": [
72
+ "local",
73
+ "remote",
74
+ "legacy-local"
75
+ ]
76
+ },
77
+ "location": {
78
+ "type": "string",
79
+ "minLength": 1
80
+ },
81
+ "sha256": {
82
+ "type": "string",
83
+ "pattern": "^[a-f0-9]{64}$"
84
+ }
85
+ },
86
+ "required": [
87
+ "kind",
88
+ "location",
89
+ "sha256"
90
+ ],
91
+ "additionalProperties": false
92
+ }
93
+ ]
94
+ },
95
+ "path": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 4095
99
+ },
100
+ "files": {
101
+ "type": "object",
102
+ "minProperties": 1,
103
+ "maxProperties": 3000,
104
+ "additionalProperties": {
105
+ "type": "object",
106
+ "properties": {
107
+ "sha256": {
108
+ "type": "string",
109
+ "pattern": "^[a-f0-9]{64}$"
110
+ },
111
+ "executable": {
112
+ "type": "boolean"
113
+ }
114
+ },
115
+ "required": [
116
+ "sha256",
117
+ "executable"
118
+ ],
119
+ "additionalProperties": false
120
+ }
121
+ },
122
+ "agents": {
123
+ "oneOf": [
124
+ {
125
+ "type": "null"
126
+ },
127
+ {
128
+ "type": "array",
129
+ "minItems": 1,
130
+ "maxItems": 2,
131
+ "uniqueItems": true,
132
+ "items": {
133
+ "enum": [
134
+ "codex",
135
+ "copilot"
136
+ ]
137
+ }
138
+ }
139
+ ]
140
+ }
141
+ },
142
+ "required": [
143
+ "id",
144
+ "aliases",
145
+ "name",
146
+ "version",
147
+ "artifactSha256",
148
+ "source",
149
+ "path",
150
+ "files",
151
+ "agents"
152
+ ],
153
+ "additionalProperties": false
154
+ }
155
+ },
156
+ "agents": {
157
+ "type": "array",
158
+ "items": {
159
+ "enum": [
160
+ "codex",
161
+ "copilot"
162
+ ]
163
+ },
164
+ "uniqueItems": true,
165
+ "maxItems": 2
166
+ },
167
+ "guidance": {
168
+ "type": "array",
169
+ "maxItems": 2,
170
+ "items": {
171
+ "type": "object",
172
+ "properties": {
173
+ "path": {
174
+ "enum": [
175
+ "AGENTS.md",
176
+ ".github/copilot-instructions.md"
177
+ ]
178
+ },
179
+ "section": {
180
+ "type": "string",
181
+ "maxLength": 1048575
182
+ },
183
+ "created": {
184
+ "type": "boolean"
185
+ }
186
+ },
187
+ "required": [
188
+ "path",
189
+ "section",
190
+ "created"
191
+ ],
192
+ "additionalProperties": false
193
+ }
194
+ },
195
+ "installedAt": {
196
+ "type": "string"
197
+ },
198
+ "updatedAt": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "required": [
203
+ "schemaVersion",
204
+ "installerVersion",
205
+ "skills",
206
+ "agents",
207
+ "guidance",
208
+ "installedAt",
209
+ "updatedAt"
210
+ ],
211
+ "additionalProperties": false
212
+ }