diff --git a/web/app/components/workflow/skill/start-tab/category-tabs/index.tsx b/web/app/components/workflow/skill/start-tab/category-tabs/index.tsx index fb40b38649..265fb1fbf4 100644 --- a/web/app/components/workflow/skill/start-tab/category-tabs/index.tsx +++ b/web/app/components/workflow/skill/start-tab/category-tabs/index.tsx @@ -7,14 +7,13 @@ export type TemplateCategory = { id: string label: string } -// TODO: use real categories from backend -const MOCK_CATEGORIES: TemplateCategory[] = [ +const CATEGORIES: TemplateCategory[] = [ { id: 'all', label: 'All' }, + { id: 'document', label: 'Document' }, { id: 'productivity', label: 'Productivity' }, - { id: 'analysis', label: 'Analysis' }, - { id: 'search', label: 'Search' }, { id: 'development', label: 'Development' }, - { id: 'security', label: 'Security' }, + { id: 'design', label: 'Design' }, + { id: 'creative', label: 'Creative' }, ] type CategoryTabsProps = { @@ -24,7 +23,7 @@ type CategoryTabsProps = { } const CategoryTabs = ({ - categories = MOCK_CATEGORIES, + categories = CATEGORIES, activeCategory, onCategoryChange, }: CategoryTabsProps) => { diff --git a/web/app/components/workflow/skill/start-tab/templates/registry.ts b/web/app/components/workflow/skill/start-tab/templates/registry.ts index b3007e55a7..e6b3eab74d 100644 --- a/web/app/components/workflow/skill/start-tab/templates/registry.ts +++ b/web/app/components/workflow/skill/start-tab/templates/registry.ts @@ -135,7 +135,7 @@ export const SKILL_TEMPLATES: SkillTemplateEntry[] = [ description: 'Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.', fileCount: 5, icon: '๐Ÿงช', - tags: ['Development', 'Testing'], + tags: ['Development'], loadContent: () => import('./skills/webapp-testing').then(m => m.default), }, { @@ -144,7 +144,7 @@ export const SKILL_TEMPLATES: SkillTemplateEntry[] = [ description: 'Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas', fileCount: 2, icon: '๐Ÿ“ˆ', - tags: ['Document', 'Analysis'], + tags: ['Document', 'Productivity'], loadContent: () => import('./skills/xlsx').then(m => m.default), }, ] diff --git a/web/scripts/fetch-skill-templates.ts b/web/scripts/fetch-skill-templates.ts index 3321b9ce5c..e934e6bf9d 100644 --- a/web/scripts/fetch-skill-templates.ts +++ b/web/scripts/fetch-skill-templates.ts @@ -68,7 +68,7 @@ const UI_CONFIG: Record