MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / writeBrandUserSkill

Function writeBrandUserSkill

packages/node-sdk/test/session-skills.test.ts:315–321  ·  view source on GitHub ↗
(
  brandHomeDir: string,
  name: string,
  description: string,
)

Source from the content-addressed store, hash-verified

313}
314
315async function writeBrandUserSkill(
316 brandHomeDir: string,
317 name: string,
318 description: string,
319): Promise<void> {
320 await writeSkillFile(join(brandHomeDir, 'skills', name), name, description);
321}
322
323async function writeSkillFile(dir: string, name: string, description: string): Promise<void> {
324 await mkdir(dir, { recursive: true });

Callers 1

Calls 1

writeSkillFileFunction · 0.70

Tested by

no test coverage detected