MCPcopy Create free account
hub / github.com/arctic-cli/interface / init

Function init

packages/arctic/test/skill/skill.test.ts:103–108  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

101 await using tmp = await tmpdir({
102 git: true,
103 async init(dir) {
104 const arcticDir = path.join(dir, ".arctic", "skills")
105 await fs.mkdir(arcticDir, { recursive: true })
106 await fs.writeFile(path.join(arcticDir, "git-release.md"), VALID_SKILL)
107 await fs.writeFile(path.join(arcticDir, "minimal.md"), MINIMAL_SKILL)
108 },
109 })
110
111 await Instance.provide({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected