MCPcopy Create free account
hub / github.com/garrytan/gstack / buildTrimmedDescription

Function buildTrimmedDescription

scripts/gen-skill-docs.ts:374–378  ·  view source on GitHub ↗
(parts: CatalogParts)

Source from the content-addressed store, hash-verified

372
373/** Build the catalog-trimmed `description:` block. */
374export function buildTrimmedDescription(parts: CatalogParts): string {
375 const lead = parts.lead.trim();
376 const suffix = parts.hasGstackTag ? ' (gstack)' : '';
377 return `${lead}${suffix}`;
378}
379
380/** Build the body section that holds the routing/voice prose. */
381export function buildWhenToInvokeSection(parts: CatalogParts): string {

Callers 2

applyCatalogTrimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected