(name: string, lines: readonly string[])
| 639 | }); |
| 640 | |
| 641 | async function writeSkill(name: string, lines: readonly string[]): Promise<void> { |
| 642 | const dir = join(workDir, '.kimi-code', 'skills', name); |
| 643 | await mkdir(dir, { recursive: true }); |
| 644 | await writeFile(join(dir, 'SKILL.md'), lines.join('\n')); |
| 645 | } |
| 646 | |
| 647 | async function writeLegacyUserSkill( |
| 648 | userHomeDir: string, |
no test coverage detected