MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / writeSkill

Function writeSkill

packages/core/src/skills/loader.test.ts:24–27  ·  view source on GitHub ↗
(dir: string, filename: string, content: string)

Source from the content-addressed store, hash-verified

22});
23
24async function writeSkill(dir: string, filename: string, content: string) {
25 await mkdir(dir, { recursive: true });
26 await writeFile(join(dir, filename), content, 'utf-8');
27}
28
29const MINIMAL_SKILL = `---
30schemaVersion: 1

Callers 1

loader.test.tsFile · 0.85

Calls 1

writeFileFunction · 0.85

Tested by

no test coverage detected