MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / formatSkillMenuLine

Function formatSkillMenuLine

packages/node-runtime/src/ai/skill-menu.ts:17–20  ·  view source on GitHub ↗
(item: SkillMenuItem)

Source from the content-addressed store, hash-verified

15}
16
17export function formatSkillMenuLine(item: SkillMenuItem): string {
18 const guidanceSuffix = item.guidance ? `. ${item.guidance}` : ''
19 return `- ${item.id}: ${item.name} — ${item.description}${guidanceSuffix}`
20}
21
22export function buildSkillMenuText(lines: readonly string[]): string | null {
23 const visibleLines = normalizeSkillMenuLines(lines)

Callers 3

getChartMenuLineFunction · 0.90
skill-menu.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected