diff --git a/scripts/gen-skill-docs.ts b/scripts/gen-skill-docs.ts index 4dbc4ad1..a3831701 100644 --- a/scripts/gen-skill-docs.ts +++ b/scripts/gen-skill-docs.ts @@ -2877,6 +2877,8 @@ function extractNameAndDescription(content: string): { name: string; description return { name, description }; } +const OPENAI_SHORT_DESCRIPTION_LIMIT = 120; + function condenseOpenAIShortDescription(description: string): string { const firstParagraph = description.split(/\n\s*\n/)[0] || description; const collapsed = firstParagraph.replace(/\s+/g, ' ').trim();