( skillName: string, args: string | undefined, skillContent: SkillContentForFormatting, )
| 33 | } |
| 34 | |
| 35 | export function buildSkillResult( |
| 36 | skillName: string, |
| 37 | args: string | undefined, |
| 38 | skillContent: SkillContentForFormatting, |
| 39 | ): string { |
| 40 | let result = `Skill: ${skillName}` |
| 41 | |
| 42 | if (skillContent.description) { |
| 43 | result += `\nDescription: ${skillContent.description}` |
| 44 | } |
| 45 | |
| 46 | if (args) { |
| 47 | result += `\nProvided arguments: ${args}` |
| 48 | } |
| 49 | |
| 50 | result += `\nSource: ${skillContent.source}` |
| 51 | result += `\n\n--- Skill Instructions ---\n\n${skillContent.instructions}` |
| 52 | |
| 53 | return result |
| 54 | } |
no outgoing calls
no test coverage detected