@codeenginestudio/harness-creator 1.0.3 → 1.0.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/README.md +10 -0
- package/package.json +1 -1
- package/scripts/install.mjs +10 -8
package/README.md
CHANGED
|
@@ -277,6 +277,16 @@ Every generated harness propagates these principles into the target project:
|
|
|
277
277
|
|
|
278
278
|
---
|
|
279
279
|
|
|
280
|
+
## Evaluation
|
|
281
|
+
|
|
282
|
+
This plugin's own output quality is measured by a standalone [PromptFoo](https://promptfoo.dev) eval suite in [`evals/`](evals/README.md) — a deterministic script route (real generators run in a tmp dir, file/stdout assertions) and a skill route (SKILL.md guidance judged by `llm-rubric`).
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
cd evals && npm install
|
|
286
|
+
npm run eval:scripts # deterministic, no API key — CI-safe
|
|
287
|
+
npm run eval:skill # needs ANTHROPIC_API_KEY (skips cleanly without)
|
|
288
|
+
```
|
|
289
|
+
|
|
280
290
|
## References
|
|
281
291
|
|
|
282
292
|
- [Learn Harness Engineering](https://github.com/walkinglabs/learn-harness-engineering) — 12-lecture course; original `harness-creator`
|
package/package.json
CHANGED
package/scripts/install.mjs
CHANGED
|
@@ -26,14 +26,12 @@ async function promptScope() {
|
|
|
26
26
|
|
|
27
27
|
async function ensureSuperpowers() {
|
|
28
28
|
if (isPluginInstalled('superpowers')) return;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
s.stop('superpowers installed');
|
|
36
|
-
} catch (err) { s.stop('superpowers install failed'); throw err; }
|
|
29
|
+
p.note(
|
|
30
|
+
'Run this first, then re-run the installer:\n\n claude plugin install superpowers@obra',
|
|
31
|
+
'superpowers is required'
|
|
32
|
+
);
|
|
33
|
+
p.cancel('Install superpowers first.');
|
|
34
|
+
process.exit(1);
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
async function installPlugin(scope) {
|
|
@@ -51,6 +49,10 @@ async function main() {
|
|
|
51
49
|
const scope = await promptScope();
|
|
52
50
|
await ensureSuperpowers();
|
|
53
51
|
await installPlugin(scope);
|
|
52
|
+
p.note(
|
|
53
|
+
`claude plugin add harness-creator@ces --scope ${scope}`,
|
|
54
|
+
'Enable the plugin'
|
|
55
|
+
);
|
|
54
56
|
p.outro('Done. Open Claude Code and run /ces-harness-creator');
|
|
55
57
|
}
|
|
56
58
|
|