()
| 53 | ` |
| 54 | |
| 55 | export function registerSimplifySkill(): void { |
| 56 | registerBundledSkill({ |
| 57 | name: 'simplify', |
| 58 | description: |
| 59 | 'Review changed code for reuse, quality, and efficiency, then fix any issues found.', |
| 60 | userInvocable: true, |
| 61 | async getPromptForCommand(args) { |
| 62 | let prompt = SIMPLIFY_PROMPT |
| 63 | if (args) { |
| 64 | prompt += `\n\n## Additional Focus\n\n${args}` |
| 65 | } |
| 66 | return [{ type: 'text', text: prompt }] |
| 67 | }, |
| 68 | }) |
| 69 | } |
| 70 |
no test coverage detected