Compare commits
4 Commits
ded434febb
...
388b083e31
| Author | SHA1 | Date |
|---|---|---|
|
|
388b083e31 | |
|
|
da03a755b2 | |
|
|
c28ba2a5d2 | |
|
|
422ad8c31b |
|
|
@ -125,7 +125,7 @@ class CodexSkillsSetup extends BaseIdeSetup {
|
||||||
const skillContent = this.transformToSkillFormat(artifact.content, skillName);
|
const skillContent = this.transformToSkillFormat(artifact.content, skillName);
|
||||||
|
|
||||||
// Write SKILL.md
|
// Write SKILL.md
|
||||||
await fs.writeFile(path.join(skillDir, 'SKILL.md'), skillContent);
|
await fs.writeFile(path.join(skillDir, 'SKILL.md'), skillContent, 'utf8');
|
||||||
writtenCount++;
|
writtenCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -161,7 +161,7 @@ class CodexSkillsSetup extends BaseIdeSetup {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build new frontmatter with only skills-spec fields, let yaml handle quoting
|
// Build new frontmatter with only skills-spec fields, let yaml handle quoting
|
||||||
const newFrontmatter = yaml.stringify({ name: skillName, description }).trimEnd();
|
const newFrontmatter = yaml.stringify({ name: skillName, description }, { lineWidth: 0 }).trimEnd();
|
||||||
return `---\n${newFrontmatter}\n---\n${body}`;
|
return `---\n${newFrontmatter}\n---\n${body}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,14 @@ platforms:
|
||||||
template_type: windsurf
|
template_type: windsurf
|
||||||
|
|
||||||
codex:
|
codex:
|
||||||
name: "Codex (Deprecated)"
|
name: "Codex (Custom Prompts) (Deprecated)"
|
||||||
preferred: false
|
preferred: false
|
||||||
category: cli
|
category: cli
|
||||||
description: "OpenAI Codex integration (legacy custom prompts)"
|
description: "OpenAI Codex integration (legacy custom prompts)"
|
||||||
# No installer config - uses custom codex.js
|
# No installer config - uses custom codex.js
|
||||||
|
|
||||||
codex-skills:
|
codex-skills:
|
||||||
name: "Codex"
|
name: "Codex (Skills)"
|
||||||
preferred: true
|
preferred: true
|
||||||
category: cli
|
category: cli
|
||||||
description: "OpenAI Codex integration (skills)"
|
description: "OpenAI Codex integration (skills)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue