fix: mentor skill review round 1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Sonnet 5.5 committed 2026-10-29 05:15:23 +01:00
1 parent 88bcb965bf
commit 1b8fdb0d96
4 files changed
+19 -8

No files matched your search

+7 -1
View File
@@ -1,6 +1,6 @@
import { test } from "node:test";
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import { readFileSync, existsSync } from "node:fs";
import { join, dirname } from "node:path";
import { fileURLToPath } from "node:url";
@@ -29,3 +29,9 @@ test("mentor_skill_names_no_module_specific_cards", () => {
.map((n) => n.name);
assert.deepEqual(hits, []);
});
test("mentor_skill_tool_paths_exist", () => {
const paths = [...skill.matchAll(/tools\/([\w-]+\.mjs)/g)].map((m) => m[1]);
assert.ok(paths.length >= 3);
for (const p of paths) assert.ok(existsSync(join(root, "tools", p)), p);
});