mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 19:05:18 +00:00
chore: improve skill structure per skill-creator guidelines
This commit is contained in:
parent
57af31faed
commit
238d158841
2 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ async function main() {
|
|||
}
|
||||
|
||||
await fsp.rm(OUTPUT_ROOT, { recursive: true, force: true });
|
||||
await fsp.mkdir(path.join(OUTPUT_ROOT, "reference"), { recursive: true });
|
||||
await fsp.mkdir(path.join(OUTPUT_ROOT, "references"), { recursive: true });
|
||||
|
||||
const docFiles = await listDocFiles(DOCS_ROOT);
|
||||
const references = [];
|
||||
|
|
@ -33,7 +33,7 @@ async function main() {
|
|||
const markdown = convertDocToMarkdown(body);
|
||||
|
||||
const referenceRelPath = `${stripExtension(relPath)}.md`;
|
||||
const outputPath = path.join(OUTPUT_ROOT, "reference", referenceRelPath);
|
||||
const outputPath = path.join(OUTPUT_ROOT, "references", referenceRelPath);
|
||||
await fsp.mkdir(path.dirname(outputPath), { recursive: true });
|
||||
|
||||
const referenceFile = buildReferenceFile({
|
||||
|
|
@ -51,7 +51,7 @@ async function main() {
|
|||
title,
|
||||
description,
|
||||
canonicalUrl,
|
||||
referencePath: `reference/${referenceRelPath}`,
|
||||
referencePath: `references/${referenceRelPath}`,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue