create-harness-vibe-coding 0.1.10 → 0.2.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.
- package/README.md +86 -35
- package/package.json +1 -1
- package/src/generator.js +72 -12
- package/src/index.js +30 -11
- package/templates/common/.claude/agents/architect.md +4 -4
- package/templates/common/.claude/agents/debugger.md +1 -1
- package/templates/common/.claude/agents/docs-researcher.md +4 -4
- package/templates/common/.claude/agents/implementer.md +1 -1
- package/templates/common/.claude/agents/planner.md +3 -3
- package/templates/common/.claude/agents/researcher.md +4 -4
- package/templates/common/.claude/agents/reviewer.md +1 -1
- package/templates/common/.claude/agents/test-writer.md +2 -2
- package/templates/common/.claude/agents/verifier.md +1 -1
- package/templates/common/.claude/commands/wf.md +18 -0
- package/templates/common/.claude/rules/ecc/common.md +11 -10
- package/templates/common/.claude/skills/harness-build-loop/SKILL.md +4 -3
- package/templates/common/.claude/skills/harness-context/SKILL.md +4 -3
- package/templates/common/.claude/skills/harness-lifecycle/SKILL.md +3 -3
- package/templates/common/.claude/skills/harness-research/SKILL.md +4 -4
- package/templates/common/.claude/skills/harness-router/SKILL.md +7 -5
- package/templates/common/.claude/skills/readme-optimizer/SKILL.md +48 -0
- package/templates/common/.claude/skills/subagent-orchestrator/SKILL.md +36 -0
- package/templates/common/.claude/skills/wf-mode/SKILL.md +48 -0
- package/templates/common/AGENTS.md +2 -2
- package/templates/common/CLAUDE.md +39 -73
- package/templates/common/MEMORY.md +32 -27
- package/templates/common/README.md +41 -0
- package/templates/common/SETUP.md +95 -72
- package/templates/common/docs/README.md +71 -54
- package/templates/common/docs/domain/ports.md +1 -1
- package/templates/common/docs/features/_template.md +10 -10
- package/templates/common/docs/harness/PLAN.md +25 -2
- package/templates/common/docs/harness/WF.md +136 -0
- package/templates/common/docs/harness/agent-workflow.md +8 -8
- package/templates/common/docs/harness/context-loading.md +16 -16
- package/templates/common/docs/harness/data-flow.md +1 -1
- package/templates/common/docs/harness/dispatch.md +5 -2
- package/templates/common/docs/harness/extension.md +14 -14
- package/templates/common/docs/harness/lifecycle.md +2 -2
- package/templates/common/docs/harness/subagents.md +140 -0
- package/templates/common/docs/research/PRD.md +1 -1
- package/templates/common/docs/research/README.md +5 -5
- package/templates/common/scripts/validate-harness.mjs +131 -56
- package/templates/optional/skills/browser-e2e/.claude/skills/browser-e2e/SKILL.md +5 -5
- package/templates/optional/skills/browser-e2e/docs/workflows/browser-e2e.md +1 -1
- package/templates/optional/skills/github-pr-review/.claude/skills/github-pr-review/SKILL.md +5 -5
- package/templates/optional/skills/python-backend/.claude/skills/python-backend/SKILL.md +5 -5
- package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md +5 -5
- package/templates/optional/skills/ui-ux-review/.claude/skills/ui-ux-review/SKILL.md +5 -5
|
@@ -7,7 +7,7 @@ const args = new Set(process.argv.slice(2));
|
|
|
7
7
|
const strict = args.has('--strict') || args.has('--post-bootstrap');
|
|
8
8
|
|
|
9
9
|
if (args.has('--help') || args.has('-h')) {
|
|
10
|
-
console.log(`Usage: node scripts/validate-harness.mjs [--strict]
|
|
10
|
+
console.log(`Usage: node Harness/scripts/validate-harness.mjs [--strict]
|
|
11
11
|
|
|
12
12
|
Default mode checks scaffold structure, links, agents, and skills.
|
|
13
13
|
--strict also fails when project fact docs still contain unresolved {{TOKEN}} placeholders.
|
|
@@ -33,46 +33,53 @@ const commonSkills = [
|
|
|
33
33
|
'harness-research',
|
|
34
34
|
'harness-context',
|
|
35
35
|
'harness-build-loop',
|
|
36
|
+
'wf-mode',
|
|
37
|
+
'subagent-orchestrator',
|
|
38
|
+
'readme-optimizer',
|
|
36
39
|
];
|
|
37
40
|
|
|
38
41
|
const memoryFiles = [
|
|
39
|
-
'memory/tool-usage-reflections.md',
|
|
40
|
-
'memory/user-corrections-preferences.md',
|
|
41
|
-
'memory/agent-lessons-patterns.md',
|
|
42
|
+
'Harness/memory/tool-usage-reflections.md',
|
|
43
|
+
'Harness/memory/user-corrections-preferences.md',
|
|
44
|
+
'Harness/memory/agent-lessons-patterns.md',
|
|
42
45
|
];
|
|
43
46
|
|
|
44
47
|
const required = [
|
|
45
48
|
'AGENTS.md',
|
|
46
49
|
'CLAUDE.md',
|
|
47
|
-
'
|
|
50
|
+
'README.md',
|
|
51
|
+
'Harness/MEMORY.md',
|
|
52
|
+
'Harness/WF.md',
|
|
48
53
|
...memoryFiles,
|
|
49
54
|
'.claude/settings.json',
|
|
55
|
+
'.claude/commands/wf.md',
|
|
50
56
|
'.claude/rules/ecc/common.md',
|
|
51
57
|
...commonAgents.map(agent => `.claude/agents/${agent}.md`),
|
|
52
58
|
...commonSkills.map(skill => `.claude/skills/${skill}/SKILL.md`),
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
59
|
+
'Harness/README.md',
|
|
60
|
+
'Harness/PLAN.md',
|
|
61
|
+
'Harness/lifecycle.md',
|
|
62
|
+
'Harness/subagents.md',
|
|
63
|
+
'Harness/dispatch.md',
|
|
64
|
+
'Harness/extension.md',
|
|
65
|
+
'Harness/context-loading.md',
|
|
66
|
+
'Harness/agent-workflow.md',
|
|
67
|
+
'Harness/architecture.md',
|
|
68
|
+
'Harness/data-flow.md',
|
|
69
|
+
'Harness/state-machines.md',
|
|
70
|
+
'Harness/features/_template.md',
|
|
71
|
+
'Harness/research/README.md',
|
|
72
|
+
'Harness/research/research-results.md',
|
|
73
|
+
'Harness/research/PRD.md',
|
|
74
|
+
'Harness/domain/ports.md',
|
|
68
75
|
];
|
|
69
76
|
|
|
70
77
|
const projectFacts = [
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
78
|
+
'Harness/PLAN.md',
|
|
79
|
+
'Harness/research/PRD.md',
|
|
80
|
+
'Harness/research/research-results.md',
|
|
81
|
+
'Harness/architecture.md',
|
|
82
|
+
'Harness/domain/ports.md',
|
|
76
83
|
];
|
|
77
84
|
|
|
78
85
|
const contextPacks = [
|
|
@@ -89,9 +96,10 @@ const contextPacks = [
|
|
|
89
96
|
];
|
|
90
97
|
|
|
91
98
|
const durableCommunicationDocs = [
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
99
|
+
'Harness/README.md',
|
|
100
|
+
'Harness/subagents.md',
|
|
101
|
+
'Harness/dispatch.md',
|
|
102
|
+
'Harness/context-loading.md',
|
|
95
103
|
];
|
|
96
104
|
|
|
97
105
|
const errors = [];
|
|
@@ -141,14 +149,40 @@ function unresolvedTemplatePlaceholders(text) {
|
|
|
141
149
|
return [...new Set(placeholders)];
|
|
142
150
|
}
|
|
143
151
|
|
|
152
|
+
function registeredSkillFiles(...texts) {
|
|
153
|
+
const files = new Set();
|
|
154
|
+
const pattern = /(?:\.\.\/)?(\.claude\/skills\/[a-z0-9-]+\/SKILL\.md)/g;
|
|
155
|
+
|
|
156
|
+
for (const text of texts) {
|
|
157
|
+
for (const match of text.matchAll(pattern)) {
|
|
158
|
+
files.add(match[1]);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return [...files].sort();
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function registeredWorkflowFiles(...texts) {
|
|
166
|
+
const files = new Set();
|
|
167
|
+
const pattern = /(?:Harness\/)?workflows\/([A-Za-z0-9._-]+\.md)/g;
|
|
168
|
+
|
|
169
|
+
for (const text of texts) {
|
|
170
|
+
for (const match of text.matchAll(pattern)) {
|
|
171
|
+
files.add(`Harness/workflows/${match[1]}`);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return [...files].sort();
|
|
176
|
+
}
|
|
177
|
+
|
|
144
178
|
for (const rel of required) {
|
|
145
179
|
if (!fs.existsSync(path.join(root, rel))) {
|
|
146
180
|
errors.push(`missing required file: ${rel}`);
|
|
147
181
|
}
|
|
148
182
|
}
|
|
149
183
|
|
|
150
|
-
if (fs.existsSync(path.join(root, '
|
|
151
|
-
errors.push('legacy research file should be renamed:
|
|
184
|
+
if (fs.existsSync(path.join(root, 'Harness/research/scaffolds.md'))) {
|
|
185
|
+
errors.push('legacy research file should be renamed: Harness/research/scaffolds.md -> Harness/research/research-results.md');
|
|
152
186
|
}
|
|
153
187
|
|
|
154
188
|
if (strict) {
|
|
@@ -165,10 +199,10 @@ if (strict) {
|
|
|
165
199
|
}
|
|
166
200
|
}
|
|
167
201
|
|
|
168
|
-
const docsReadme = read('
|
|
202
|
+
const docsReadme = read('Harness/README.md');
|
|
169
203
|
if (docsReadme) {
|
|
170
204
|
for (const marker of ['## Keyword Routing', '## Load By Task', 'When to Read', 'Keywords']) {
|
|
171
|
-
if (!docsReadme.includes(marker)) errors.push(`
|
|
205
|
+
if (!docsReadme.includes(marker)) errors.push(`Harness/README.md missing router marker: ${marker}`);
|
|
172
206
|
}
|
|
173
207
|
}
|
|
174
208
|
|
|
@@ -179,50 +213,77 @@ for (const rel of durableCommunicationDocs) {
|
|
|
179
213
|
|
|
180
214
|
requireText('CLAUDE.md', 'same tool/use pattern fails 3+ times', 'tool reflection trigger');
|
|
181
215
|
requireText('CLAUDE.md', 'user corrects the same assumption/pattern 2+ times', 'user correction reflection trigger');
|
|
216
|
+
requireText('CLAUDE.md', 'If `Harness/` exists, this repository is governed by the Harness contract', 'Harness binding contract');
|
|
217
|
+
requireText('CLAUDE.md', 'Harness/MEMORY.md` is the memory/resource router', 'memory/resource router');
|
|
218
|
+
requireText('CLAUDE.md', 'Harness/README.md#Load By Task', 'Harness task router');
|
|
219
|
+
requireText('CLAUDE.md', 'Harness/SETUP.md` exists, follow it before normal project work', 'setup bootstrap contract');
|
|
220
|
+
requireText('CLAUDE.md', 'subagent-orchestrator` and `Harness/subagents.md', 'subagent orchestrator entry trigger');
|
|
221
|
+
for (const heading of ['## 2. Think Before Coding', '## 3. Simplicity First', '## 4. Surgical Changes', '## 5. Goal-Driven Execution']) {
|
|
222
|
+
requireText('CLAUDE.md', heading, `Karpathy-style rule heading: ${heading}`);
|
|
223
|
+
}
|
|
182
224
|
|
|
183
|
-
const plan = read('
|
|
225
|
+
const plan = read('Harness/PLAN.md');
|
|
184
226
|
if (plan) {
|
|
185
|
-
for (const heading of ['## Current Goal', '## Phase', '## Success Criteria', '## Loaded Context', '## Tasks', '## Parallel Dispatch', '## Verification']) {
|
|
186
|
-
if (!plan.includes(heading)) errors.push(`
|
|
227
|
+
for (const heading of ['## Current Goal', '## Phase', '## Heartbeat', '## Success Criteria', '## Loaded Context', '## Tasks', '## Parallel Dispatch', '## Subagent Synthesis', '## Verification']) {
|
|
228
|
+
if (!plan.includes(heading)) errors.push(`Harness/PLAN.md missing heading: ${heading}`);
|
|
229
|
+
}
|
|
230
|
+
for (const marker of ['Next beat trigger', 'Recovery action']) {
|
|
231
|
+
if (!plan.includes(marker)) errors.push(`Harness/PLAN.md missing heartbeat marker: ${marker}`);
|
|
187
232
|
}
|
|
188
233
|
}
|
|
189
234
|
|
|
190
|
-
const dispatch = read('
|
|
235
|
+
const dispatch = read('Harness/dispatch.md');
|
|
191
236
|
if (dispatch) {
|
|
192
237
|
for (const agent of commonAgents) {
|
|
193
|
-
if (!dispatch.includes(`\`${agent}\``)) errors.push(`
|
|
238
|
+
if (!dispatch.includes(`\`${agent}\``)) errors.push(`Harness/dispatch.md missing common agent: ${agent}`);
|
|
194
239
|
}
|
|
195
|
-
if (!dispatch.includes('## Handoff Format')) errors.push('
|
|
240
|
+
if (!dispatch.includes('## Handoff Format')) errors.push('Harness/dispatch.md missing heading: ## Handoff Format');
|
|
196
241
|
}
|
|
197
242
|
|
|
198
|
-
const contextLoading = read('
|
|
243
|
+
const contextLoading = read('Harness/context-loading.md');
|
|
199
244
|
if (contextLoading) {
|
|
200
|
-
if (!contextLoading.includes('
|
|
201
|
-
errors.push('
|
|
245
|
+
if (!contextLoading.includes('Harness/README.md` is the primary router')) {
|
|
246
|
+
errors.push('Harness/context-loading.md must declare Harness/README.md as the primary router');
|
|
202
247
|
}
|
|
203
248
|
for (const pack of contextPacks) {
|
|
204
|
-
if (!contextLoading.includes(pack)) errors.push(`
|
|
249
|
+
if (!contextLoading.includes(pack)) errors.push(`Harness/context-loading.md missing subagent pack: ${pack}`);
|
|
205
250
|
}
|
|
206
251
|
}
|
|
207
252
|
|
|
208
|
-
const memory = read('MEMORY.md');
|
|
253
|
+
const memory = read('Harness/MEMORY.md');
|
|
209
254
|
if (memory) {
|
|
210
255
|
for (const agent of commonAgents) {
|
|
211
256
|
const rel = `.claude/agents/${agent}.md`;
|
|
212
|
-
if (!memory.includes(rel)) errors.push(`MEMORY.md missing agent registration: ${rel}`);
|
|
257
|
+
if (!memory.includes(rel)) errors.push(`Harness/MEMORY.md missing agent registration: ${rel}`);
|
|
213
258
|
}
|
|
214
259
|
for (const skill of commonSkills) {
|
|
215
260
|
const rel = `.claude/skills/${skill}/SKILL.md`;
|
|
216
|
-
if (!memory.includes(rel)) errors.push(`MEMORY.md missing skill registration: ${rel}`);
|
|
261
|
+
if (!memory.includes(rel)) errors.push(`Harness/MEMORY.md missing skill registration: ${rel}`);
|
|
217
262
|
}
|
|
218
263
|
for (const rel of memoryFiles) {
|
|
219
|
-
|
|
264
|
+
const relativeRel = rel.replace(/^Harness\//, '');
|
|
265
|
+
if (!memory.includes(rel) && !memory.includes(relativeRel)) {
|
|
266
|
+
errors.push(`Harness/MEMORY.md missing memory file registration: ${rel}`);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
for (const workflow of listMarkdownFiles('Harness/workflows')) {
|
|
272
|
+
const relativeWorkflow = workflow.replace(/^Harness\//, '');
|
|
273
|
+
if (!docsReadme.includes(workflow) && !docsReadme.includes(relativeWorkflow) && !memory.includes(workflow) && !memory.includes(relativeWorkflow)) {
|
|
274
|
+
errors.push(`workflow is not registered in Harness/README.md or Harness/MEMORY.md: ${workflow}`);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
for (const skillFile of registeredSkillFiles(docsReadme, memory)) {
|
|
279
|
+
if (!fs.existsSync(path.join(root, skillFile))) {
|
|
280
|
+
errors.push(`registered skill file is missing: ${skillFile}`);
|
|
220
281
|
}
|
|
221
282
|
}
|
|
222
283
|
|
|
223
|
-
for (const
|
|
224
|
-
if (!
|
|
225
|
-
errors.push(`
|
|
284
|
+
for (const workflowFile of registeredWorkflowFiles(docsReadme, memory)) {
|
|
285
|
+
if (!fs.existsSync(path.join(root, workflowFile))) {
|
|
286
|
+
errors.push(`registered workflow file is missing: ${workflowFile}`);
|
|
226
287
|
}
|
|
227
288
|
}
|
|
228
289
|
|
|
@@ -241,9 +302,9 @@ function requireUiSelectorContract(rel) {
|
|
|
241
302
|
}
|
|
242
303
|
}
|
|
243
304
|
|
|
244
|
-
requireUiSelectorContract('
|
|
245
|
-
requireUiSelectorContract('
|
|
246
|
-
requireUiSelectorContract('
|
|
305
|
+
requireUiSelectorContract('Harness/workflows/browser-e2e.md');
|
|
306
|
+
requireUiSelectorContract('Harness/workflows/ts-react-frontend.md');
|
|
307
|
+
requireUiSelectorContract('Harness/features/_template.md');
|
|
247
308
|
|
|
248
309
|
for (const skill of commonSkills) {
|
|
249
310
|
const rel = `.claude/skills/${skill}/SKILL.md`;
|
|
@@ -287,9 +348,23 @@ for (const agent of commonAgents) {
|
|
|
287
348
|
}
|
|
288
349
|
}
|
|
289
350
|
|
|
290
|
-
requireText('
|
|
291
|
-
requireText('
|
|
292
|
-
requireText('
|
|
351
|
+
requireText('Harness/extension.md', 'Skills should extend the harness');
|
|
352
|
+
requireText('Harness/agent-workflow.md', 'Harness/PLAN.md');
|
|
353
|
+
requireText('Harness/research/README.md', 'research-results.md');
|
|
354
|
+
requireText('Harness/WF.md', 'Ralph-style harness loop', 'WF loop description');
|
|
355
|
+
requireText('Harness/WF.md', 'Heartbeat Protocol', 'heartbeat protocol');
|
|
356
|
+
requireText('.claude/skills/wf-mode/SKILL.md', 'Harness/WF.md', 'wf-mode loads WF document');
|
|
357
|
+
requireText('.claude/skills/wf-mode/SKILL.md', 'Harness/subagents.md', 'wf-mode loads subagent orchestration');
|
|
358
|
+
requireText('.claude/skills/subagent-orchestrator/SKILL.md', 'Harness/subagents.md', 'subagent-orchestrator loads subagents doc');
|
|
359
|
+
requireText('.claude/skills/harness-context/SKILL.md', 'Harness/subagents.md', 'harness-context loads subagents doc');
|
|
360
|
+
requireText('.claude/skills/readme-optimizer/SKILL.md', 'README.md', 'readme-optimizer loads README');
|
|
361
|
+
requireText('.claude/skills/readme-optimizer/SKILL.md', 'Harness/architecture.md', 'readme-optimizer links architecture docs');
|
|
362
|
+
requireText('Harness/subagents.md', '## Source Attribution', 'subagent source attribution');
|
|
363
|
+
requireText('Harness/subagents.md', 'npx skills find', 'find-skills discovery attribution');
|
|
364
|
+
requireText('Harness/subagents.md', 'superpowers:dispatching-parallel-agents', 'parallel-agent source attribution');
|
|
365
|
+
requireText('Harness/subagents.md', 'superpowers:subagent-driven-development', 'subagent-driven source attribution');
|
|
366
|
+
requireText('Harness/subagents.md', '## Efficiency Ladder', 'subagent efficiency ladder');
|
|
367
|
+
requireText('Harness/subagents.md', '## Review Gates', 'subagent review gates');
|
|
293
368
|
|
|
294
369
|
if (errors.length) {
|
|
295
370
|
console.error(`Harness validation failed${strict ? ' (strict)' : ''}:`);
|
|
@@ -299,5 +374,5 @@ if (errors.length) {
|
|
|
299
374
|
|
|
300
375
|
console.log(`Harness validation passed${strict ? ' (strict)' : ''}.`);
|
|
301
376
|
if (!strict) {
|
|
302
|
-
console.log('Tip: run `node scripts/validate-harness.mjs --strict` after bootstrap to check unresolved project placeholders.');
|
|
377
|
+
console.log('Tip: run `node Harness/scripts/validate-harness.mjs --strict` after bootstrap to check unresolved project placeholders.');
|
|
303
378
|
}
|
|
@@ -11,8 +11,8 @@ Use this skill when a change affects browser-visible behavior, navigation, forms
|
|
|
11
11
|
|
|
12
12
|
## Docs To Load
|
|
13
13
|
|
|
14
|
-
- `
|
|
15
|
-
- `
|
|
14
|
+
- `Harness/workflows/browser-e2e.md`
|
|
15
|
+
- `Harness/PLAN.md`
|
|
16
16
|
- Existing project test, build, and run instructions.
|
|
17
17
|
|
|
18
18
|
## Required Inputs
|
|
@@ -26,7 +26,7 @@ Use this skill when a change affects browser-visible behavior, navigation, forms
|
|
|
26
26
|
|
|
27
27
|
- Browser test files in the project's existing test locations.
|
|
28
28
|
- Evidence artifacts such as screenshots, traces, or reports in existing artifact folders.
|
|
29
|
-
- Notes in `
|
|
29
|
+
- Notes in `Harness/PLAN.md` when the active task asks for plan tracking.
|
|
30
30
|
|
|
31
31
|
## Output Format
|
|
32
32
|
|
|
@@ -35,8 +35,8 @@ Include the selectors used for CDP/Playwright/manual verification.
|
|
|
35
35
|
|
|
36
36
|
## PLAN.md Updates
|
|
37
37
|
|
|
38
|
-
Update `
|
|
38
|
+
Update `Harness/PLAN.md` only when executing a tracked plan item or recording evidence requested by the current task.
|
|
39
39
|
|
|
40
40
|
## dispatch.md Usage
|
|
41
41
|
|
|
42
|
-
Use `
|
|
42
|
+
Use `Harness/dispatch.md` only when splitting independent browser checks across workers is explicitly useful.
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- Capture runtime exceptions, console errors, and failed network requests before and after the flow.
|
|
20
20
|
- Interact through stable accessible labels/roles or `data-testid`, not brittle DOM paths.
|
|
21
21
|
- Verify at least one critical flow end-to-end in the real browser target.
|
|
22
|
-
- Save screenshot, trace, video, or result artifact paths and record them in `
|
|
22
|
+
- Save screenshot, trace, video, or result artifact paths and record them in `Harness/PLAN.md` or the feature doc.
|
|
23
23
|
- Clean up any dev server or browser processes started for verification.
|
|
24
24
|
|
|
25
25
|
## Common Commands
|
|
@@ -11,8 +11,8 @@ Use this skill when reviewing a GitHub pull request, responding to PR feedback,
|
|
|
11
11
|
|
|
12
12
|
## Docs To Load
|
|
13
13
|
|
|
14
|
-
- `
|
|
15
|
-
- `
|
|
14
|
+
- `Harness/workflows/github-pr-review.md`
|
|
15
|
+
- `Harness/PLAN.md`
|
|
16
16
|
- Repository contribution, test, and review guidelines.
|
|
17
17
|
|
|
18
18
|
## Required Inputs
|
|
@@ -25,7 +25,7 @@ Use this skill when reviewing a GitHub pull request, responding to PR feedback,
|
|
|
25
25
|
|
|
26
26
|
- Local files needed to address approved review feedback.
|
|
27
27
|
- Review notes or evidence in existing docs only when requested.
|
|
28
|
-
- `
|
|
28
|
+
- `Harness/PLAN.md` when tracking review work.
|
|
29
29
|
|
|
30
30
|
## Output Format
|
|
31
31
|
|
|
@@ -33,8 +33,8 @@ Return findings first by severity with file and line references, then open quest
|
|
|
33
33
|
|
|
34
34
|
## PLAN.md Updates
|
|
35
35
|
|
|
36
|
-
Update `
|
|
36
|
+
Update `Harness/PLAN.md` only when the PR review is part of a tracked implementation plan.
|
|
37
37
|
|
|
38
38
|
## dispatch.md Usage
|
|
39
39
|
|
|
40
|
-
Use `
|
|
40
|
+
Use `Harness/dispatch.md` when independent review areas can be assigned separately, such as backend, frontend, and CI.
|
|
@@ -11,8 +11,8 @@ Use this skill when changing Python API routes, service logic, persistence bound
|
|
|
11
11
|
|
|
12
12
|
## Docs To Load
|
|
13
13
|
|
|
14
|
-
- `
|
|
15
|
-
- `
|
|
14
|
+
- `Harness/workflows/python-backend.md`
|
|
15
|
+
- `Harness/PLAN.md`
|
|
16
16
|
- Project backend README, API docs, dependency files, and test configuration.
|
|
17
17
|
|
|
18
18
|
## Required Inputs
|
|
@@ -25,7 +25,7 @@ Use this skill when changing Python API routes, service logic, persistence bound
|
|
|
25
25
|
|
|
26
26
|
- Python source, tests, fixtures, and backend docs in the task scope.
|
|
27
27
|
- Local evidence artifacts such as test output snippets.
|
|
28
|
-
- `
|
|
28
|
+
- `Harness/PLAN.md` when the task requires plan tracking.
|
|
29
29
|
|
|
30
30
|
## Output Format
|
|
31
31
|
|
|
@@ -33,8 +33,8 @@ Return files changed, API or behavior summary, tests run, important logs, migrat
|
|
|
33
33
|
|
|
34
34
|
## PLAN.md Updates
|
|
35
35
|
|
|
36
|
-
Update `
|
|
36
|
+
Update `Harness/PLAN.md` only when executing a tracked plan item or recording required validation evidence.
|
|
37
37
|
|
|
38
38
|
## dispatch.md Usage
|
|
39
39
|
|
|
40
|
-
Use `
|
|
40
|
+
Use `Harness/dispatch.md` for separable backend work such as API implementation, database changes, and test coverage.
|
package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md
CHANGED
|
@@ -12,8 +12,8 @@ For user-visible changes, typecheck, build, and unit tests are not enough; inclu
|
|
|
12
12
|
|
|
13
13
|
## Docs To Load
|
|
14
14
|
|
|
15
|
-
- `
|
|
16
|
-
- `
|
|
15
|
+
- `Harness/workflows/ts-react-frontend.md`
|
|
16
|
+
- `Harness/PLAN.md`
|
|
17
17
|
- Existing frontend README, package scripts, design system, and test setup.
|
|
18
18
|
|
|
19
19
|
## Required Inputs
|
|
@@ -27,7 +27,7 @@ For user-visible changes, typecheck, build, and unit tests are not enough; inclu
|
|
|
27
27
|
|
|
28
28
|
- Frontend source, styles, tests, and focused docs in task scope.
|
|
29
29
|
- Generated evidence such as screenshots or test reports in existing artifact paths.
|
|
30
|
-
- `
|
|
30
|
+
- `Harness/PLAN.md` when tracking a plan item.
|
|
31
31
|
|
|
32
32
|
## Output Format
|
|
33
33
|
|
|
@@ -36,8 +36,8 @@ Include selectors added or verified for CDP/Playwright/manual checks.
|
|
|
36
36
|
|
|
37
37
|
## PLAN.md Updates
|
|
38
38
|
|
|
39
|
-
Update `
|
|
39
|
+
Update `Harness/PLAN.md` only when executing a tracked task or recording required validation evidence.
|
|
40
40
|
|
|
41
41
|
## dispatch.md Usage
|
|
42
42
|
|
|
43
|
-
Use `
|
|
43
|
+
Use `Harness/dispatch.md` when independent frontend tasks can run in parallel, such as components, tests, and browser checks.
|
|
@@ -11,8 +11,8 @@ Use this skill when reviewing or changing user-facing screens, layouts, visual h
|
|
|
11
11
|
|
|
12
12
|
## Docs To Load
|
|
13
13
|
|
|
14
|
-
- `
|
|
15
|
-
- `
|
|
14
|
+
- `Harness/workflows/ui-ux-review.md`
|
|
15
|
+
- `Harness/PLAN.md`
|
|
16
16
|
- Existing design system, component, or style documentation.
|
|
17
17
|
|
|
18
18
|
## Required Inputs
|
|
@@ -25,7 +25,7 @@ Use this skill when reviewing or changing user-facing screens, layouts, visual h
|
|
|
25
25
|
|
|
26
26
|
- UI code and style files already in scope for the task.
|
|
27
27
|
- Screenshot or audit artifacts in existing evidence folders.
|
|
28
|
-
- `
|
|
28
|
+
- `Harness/PLAN.md` when the review is part of a tracked plan.
|
|
29
29
|
|
|
30
30
|
## Output Format
|
|
31
31
|
|
|
@@ -33,8 +33,8 @@ Return prioritized findings with file or screen references, evidence, recommende
|
|
|
33
33
|
|
|
34
34
|
## PLAN.md Updates
|
|
35
35
|
|
|
36
|
-
Update `
|
|
36
|
+
Update `Harness/PLAN.md` only for tracked review tasks or when recording required evidence.
|
|
37
37
|
|
|
38
38
|
## dispatch.md Usage
|
|
39
39
|
|
|
40
|
-
Use `
|
|
40
|
+
Use `Harness/dispatch.md` only for independent review streams such as separate routes or breakpoints.
|