()
| 2626 | describe('community fixes wave', () => { |
| 2627 | // Helper to get all generated SKILL.md files |
| 2628 | function getAllSkillMds(): Array<{ name: string; content: string }> { |
| 2629 | const results: Array<{ name: string; content: string }> = []; |
| 2630 | const rootPath = path.join(ROOT, 'SKILL.md'); |
| 2631 | if (fs.existsSync(rootPath)) { |
| 2632 | results.push({ name: 'root', content: fs.readFileSync(rootPath, 'utf-8') }); |
| 2633 | } |
| 2634 | for (const entry of fs.readdirSync(ROOT, { withFileTypes: true })) { |
| 2635 | if (!entry.isDirectory() || entry.name.startsWith('.') || entry.name === 'node_modules') continue; |
| 2636 | const skillPath = path.join(ROOT, entry.name, 'SKILL.md'); |
| 2637 | if (fs.existsSync(skillPath)) { |
| 2638 | results.push({ name: entry.name, content: fs.readFileSync(skillPath, 'utf-8') }); |
| 2639 | } |
| 2640 | } |
| 2641 | return results; |
| 2642 | } |
| 2643 | |
| 2644 | // #594 — Discoverability: every SKILL.md.tmpl description contains "gstack" |
| 2645 | test('every SKILL.md.tmpl description contains "gstack"', () => { |
no test coverage detected