@hegemonart/get-design-done 1.40.5 → 1.41.5
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +80 -0
- package/README.md +4 -0
- package/agents/design-auditor.md +5 -6
- package/bin/gdd-detect +20 -0
- package/package.json +5 -1
- package/reference/anti-patterns.md +26 -0
- package/scripts/lib/detect/cli.cjs +111 -0
- package/scripts/lib/detect/engine.cjs +83 -0
- package/scripts/lib/detect/rule-schema.json +31 -0
- package/scripts/lib/detect/rules/ban-01.cjs +33 -0
- package/scripts/lib/detect/rules/ban-02.cjs +33 -0
- package/scripts/lib/detect/rules/ban-03.cjs +33 -0
- package/scripts/lib/detect/rules/ban-05.cjs +33 -0
- package/scripts/lib/detect/rules/ban-06.cjs +33 -0
- package/scripts/lib/detect/rules/ban-07.cjs +33 -0
- package/scripts/lib/detect/rules/ban-08.cjs +33 -0
- package/scripts/lib/detect/rules/ban-09.cjs +33 -0
- package/scripts/lib/detect/rules/ban-11.cjs +33 -0
- package/scripts/lib/detect/rules/ban-12.cjs +33 -0
- package/scripts/lib/detect/rules/ban-13.cjs +33 -0
- package/scripts/lib/detect/rules/index.cjs +21 -0
- package/scripts/lib/manifest/README.md +46 -0
- package/scripts/lib/manifest/harnesses.cjs +3 -0
- package/scripts/lib/manifest/harnesses.json +91 -0
- package/scripts/lib/manifest/index.cjs +26 -0
- package/scripts/lib/manifest/loader.cjs +51 -0
- package/scripts/lib/manifest/prose-denylist.json +126 -0
- package/scripts/lib/manifest/schemas/harnesses.schema.json +38 -0
- package/scripts/lib/manifest/schemas/prose-denylist.schema.json +41 -0
- package/scripts/lib/manifest/schemas/skills.schema.json +33 -0
- package/scripts/lib/manifest/skills.json +255 -0
- package/skills/quality-gate/SKILL.md +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "urn:gdd:manifest:harnesses",
|
|
4
|
+
"title": "manifest/harnesses.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"harnesses"
|
|
9
|
+
],
|
|
10
|
+
"additionalProperties": true,
|
|
11
|
+
"properties": {
|
|
12
|
+
"schema_version": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1
|
|
15
|
+
},
|
|
16
|
+
"harnesses": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": true,
|
|
21
|
+
"required": [
|
|
22
|
+
"id",
|
|
23
|
+
"name"
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"id": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"pattern": "^[a-z0-9-]+$"
|
|
29
|
+
},
|
|
30
|
+
"name": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "urn:gdd:manifest:prose-denylist",
|
|
4
|
+
"title": "manifest/prose-denylist.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"tells"
|
|
9
|
+
],
|
|
10
|
+
"additionalProperties": true,
|
|
11
|
+
"properties": {
|
|
12
|
+
"schema_version": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1
|
|
15
|
+
},
|
|
16
|
+
"tells": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": true,
|
|
21
|
+
"required": [
|
|
22
|
+
"pattern",
|
|
23
|
+
"kind"
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"pattern": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"minLength": 1
|
|
29
|
+
},
|
|
30
|
+
"kind": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": [
|
|
33
|
+
"phrase",
|
|
34
|
+
"token"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "urn:gdd:manifest:skills",
|
|
4
|
+
"title": "manifest/skills.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"schema_version",
|
|
8
|
+
"skills"
|
|
9
|
+
],
|
|
10
|
+
"additionalProperties": true,
|
|
11
|
+
"properties": {
|
|
12
|
+
"schema_version": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1
|
|
15
|
+
},
|
|
16
|
+
"skills": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": true,
|
|
21
|
+
"required": [
|
|
22
|
+
"name"
|
|
23
|
+
],
|
|
24
|
+
"properties": {
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"note": "Skill metadata SoT (Phase 41.5 seed = the live skills/ dir names). Phase 47 enriches each record (aliases, pin, description budget).",
|
|
4
|
+
"skills": [
|
|
5
|
+
{
|
|
6
|
+
"name": "add-backlog"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "analyze-dependencies"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "apply-reflections"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "audit"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "bandit-status"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "benchmark"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "bootstrap-ds"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "brief"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "budget"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "cache-manager"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "check-update"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "compare"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "complete-cycle"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "connections"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "continue"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "darkmode"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "debug"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "design"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "discover"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "discuss"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "do"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "explore"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "export"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "extract-learnings"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "fast"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "figma-extract"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "figma-write"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "graphify"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "health"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "help"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "list-assumptions"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "locale"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "map"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "migrate"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "new-cycle"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "new-project"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "next"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "note"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "openrouter-status"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "optimize"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "pause"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "peer-cli-add"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "peer-cli-customize"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "peers"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "plan"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "plant-seed"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "pr-branch"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "progress"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "quality-gate"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "quick"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "reapply-patches"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "recall"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "reflect"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "report-issue"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "resume"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "review-backlog"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "review-decisions"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "roi"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "rollout-status"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "router"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "scan"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "settings"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "ship"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "sketch"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "sketch-wrap-up"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "skill-manifest"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "spike"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "spike-wrap-up"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "start"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "stats"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "style"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "synthesize"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "timeline"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "todo"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "turn-closeout"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "undo"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "unlock-decision"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "update"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "using-gdd"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "verify"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "warm-cache"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "watch-authorities"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "zoom-out"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
@@ -39,7 +39,7 @@ Read once at start from `.design/config.json` (all optional; defaults in parens)
|
|
|
39
39
|
Stop at the first tier that produces ≥ 1 command:
|
|
40
40
|
|
|
41
41
|
1. **Authoritative config.** If `.design/config.json` has `quality_gate.commands` non-empty, use verbatim.
|
|
42
|
-
2. **Auto-detect from `package.json#scripts`** — match against allowlist: `lint`, `typecheck`, `tsc` (only if `typecheck` absent), `test`, `chromatic`, `test:visual
|
|
42
|
+
2. **Auto-detect from `package.json#scripts`** — match against allowlist: `lint`, `typecheck`, `tsc` (only if `typecheck` absent), `test`, `chromatic`, `test:visual`, `lint:design` (Phase 41 — the `gdd-detect` deterministic anti-pattern gate, alongside `axe`/`pa11y`/`lighthouse`). Exclude by name: `test:e2e`, `test:integration` (if separate `test`), anything starting `dev:`, `build:`, `start:`. Run via `npm run <name>` unless `quality_gate.package_manager` overrides.
|
|
43
43
|
3. **Skip with notice.** Emit `quality_gate_skipped` (Step 6) and write a `<run/>` with `status="skipped"`. Verify treats skipped as non-blocking.
|
|
44
44
|
|
|
45
45
|
## Step 2 — Parallel run
|