fix: list all supported skill directories in fallback text

This commit is contained in:
Jhony Miler
2026-03-31 16:24:59 -03:00
parent b5992684e4
commit f2d6dfe031
3 changed files with 3 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ const CLAUDE_MD_FALLBACKS = {
stack: 'Technology stack not yet documented. Will populate after codebase mapping or first phase.', stack: 'Technology stack not yet documented. Will populate after codebase mapping or first phase.',
conventions: 'Conventions not yet established. Will populate as patterns emerge during development.', conventions: 'Conventions not yet established. Will populate as patterns emerge during development.',
architecture: 'Architecture not yet mapped. Follow existing patterns found in the codebase.', architecture: 'Architecture not yet mapped. Follow existing patterns found in the codebase.',
skills: 'No project skills found. Add skills to `.claude/skills/` or `.agents/skills/` with a `SKILL.md` index file.', skills: 'No project skills found. Add skills to any of: `.claude/skills/`, `.agents/skills/`, `.cursor/skills/`, or `.github/skills/` with a `SKILL.md` index file.',
}; };
// Directories where project skills may live (checked in order) // Directories where project skills may live (checked in order)

View File

@@ -79,7 +79,7 @@ Architecture not yet mapped. Follow existing patterns found in the codebase.
**Fallback text:** **Fallback text:**
``` ```
No project skills found. Add skills to `.claude/skills/` or `.agents/skills/` with a `SKILL.md` index file. No project skills found. Add skills to any of: `.claude/skills/`, `.agents/skills/`, `.cursor/skills/`, or `.github/skills/` with a `SKILL.md` index file.
``` ```
**Discovery behavior:** **Discovery behavior:**

View File

@@ -106,7 +106,7 @@ describe('generate-claude-md skills section', () => {
const content = fs.readFileSync(path.join(tmpDir, 'CLAUDE.md'), 'utf-8'); const content = fs.readFileSync(path.join(tmpDir, 'CLAUDE.md'), 'utf-8');
assert.ok(content.includes('<!-- GSD:skills-start')); assert.ok(content.includes('<!-- GSD:skills-start'));
assert.ok(content.includes('<!-- GSD:skills-end -->')); assert.ok(content.includes('<!-- GSD:skills-end -->'));
assert.ok(content.includes('No project skills found')); assert.ok(content.includes('No project skills found. Add skills to any of'));
}); });
test('discovers skills from .claude/skills/ directory', () => { test('discovers skills from .claude/skills/ directory', () => {