fix(plugin): satisfy Claude marketplace manifest schema

This commit is contained in:
Jeffrey (Dongkyu) Kim 2026-05-31 17:23:57 +09:00
commit b6b0c70091
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,5 @@
{
"name": "k-skill",
"description": "한국인을 위한 90+ Agent Skill 번들 마켓플레이스 — 한국 일상·업무 자동화",
"owner": {
"name": "NomaDamas"
},

View file

@ -97,3 +97,9 @@ test("run writes deterministic, trailing-newline JSON", () => {
assert.ok(raw.endsWith("\n"));
assert.equal(raw, serialize(buildManifest(root)));
});
test("marketplace manifest uses Claude validator-supported top-level keys", () => {
const marketplacePath = path.join(__dirname, "..", ".claude-plugin", "marketplace.json");
const marketplace = JSON.parse(fs.readFileSync(marketplacePath, "utf8"));
assert.deepEqual(Object.keys(marketplace).sort(), ["name", "owner", "plugins"]);
});