From 10e8c389e34c33571fd5a105b90733737db01c38 Mon Sep 17 00:00:00 2001 From: Rohit Ghumare <48523873+rohitg00@users.noreply.github.com> Date: Sun, 25 Jan 2026 11:50:21 +0000 Subject: [PATCH] fix: correct fallback skills source from non-existent repo to built-in The fallback sample skills were referencing 'skillkit/samples' which is a non-existent GitHub repository. Changed to 'built-in' to clearly indicate these are bundled sample skills. Fixes #9 --- packages/core/src/recommend/fetcher.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/core/src/recommend/fetcher.ts b/packages/core/src/recommend/fetcher.ts index 58785c3a..6699a06b 100644 --- a/packages/core/src/recommend/fetcher.ts +++ b/packages/core/src/recommend/fetcher.ts @@ -128,8 +128,8 @@ export async function buildSkillIndex( onProgress?.('No skills fetched, using sample index...'); allSkills.push(...getSampleSkills()); sources.push({ - name: 'skillkit-samples', - url: 'https://github.com/skillkit/samples', + name: 'built-in', + url: 'https://github.com/rohitg00/skillkit', lastFetched: new Date().toISOString(), skillCount: allSkills.length, }); @@ -198,7 +198,7 @@ function getSampleSkills(): SkillSummary[] { { name: 'react-best-practices', description: 'Modern React patterns including Server Components, hooks best practices, and performance optimization', - source: 'skillkit/samples', + source: 'built-in', tags: ['react', 'frontend', 'typescript', 'nextjs', 'performance'], compatibility: { frameworks: ['react', 'nextjs'], @@ -213,7 +213,7 @@ function getSampleSkills(): SkillSummary[] { { name: 'tailwind-patterns', description: 'Tailwind CSS utility patterns, responsive design, and component styling best practices', - source: 'skillkit/samples', + source: 'built-in', tags: ['tailwind', 'css', 'styling', 'frontend', 'responsive'], compatibility: { frameworks: [], @@ -228,7 +228,7 @@ function getSampleSkills(): SkillSummary[] { { name: 'typescript-strict-patterns', description: 'TypeScript strict mode patterns, type safety, and advanced type utilities', - source: 'skillkit/samples', + source: 'built-in', tags: ['typescript', 'types', 'safety', 'patterns'], compatibility: { frameworks: [], @@ -243,7 +243,7 @@ function getSampleSkills(): SkillSummary[] { { name: 'security-best-practices', description: 'Security patterns for web applications including XSS prevention, CSRF, and secure headers', - source: 'skillkit/samples', + source: 'built-in', tags: ['security', 'xss', 'csrf', 'headers', 'owasp'], compatibility: { frameworks: [], @@ -258,7 +258,7 @@ function getSampleSkills(): SkillSummary[] { { name: 'testing-patterns', description: 'Testing patterns with Vitest/Jest including mocking, assertions, and test organization', - source: 'skillkit/samples', + source: 'built-in', tags: ['vitest', 'jest', 'testing', 'typescript', 'mocking', 'tdd'], compatibility: { frameworks: [],