export interface CuratedGenericSkillDefinition {
  id: string;
  description: string;
  zhName: string;
  zhDescription: string;
  searchAliases: string[];
}

export const CURATED_GENERIC_SKILLS: CuratedGenericSkillDefinition[] = [
  {
    id: "xlsx",
    description: "Handle spreadsheets, calculations, and data summaries.",
    zhName: "表格助手",
    zhDescription: "适合处理 Excel、表格计算、数据汇总和清单整理。",
    searchAliases: ["表格", "excel", "xlsx", "csv", "数据", "统计", "台账"]
  },
  {
    id: "docx",
    description: "Draft Word documents, reports, and polished written materials.",
    zhName: "文档助手",
    zhDescription: "适合起草 Word 文档、报告、通知和正式材料。",
    searchAliases: ["文档", "word", "docx", "报告", "方案", "正文", "材料"]
  },
  {
    id: "pdf",
    description: "Read, extract, merge, and organize PDF content.",
    zhName: "PDF 助手",
    zhDescription: "适合查看、提取、合并和整理 PDF 文件内容。",
    searchAliases: ["pdf", "合同", "文件", "扫描件", "提取", "合并"]
  },
  {
    id: "pptx",
    description: "Prepare slides, outlines, and presentation materials.",
    zhName: "演示助手",
    zhDescription: "适合整理 PPT、大纲、汇报页和演示材料。",
    searchAliases: ["ppt", "pptx", "演示", "汇报", "课件", "幻灯片"]
  },
  {
    id: "file-skill",
    description: "Organize files, folders, batches, and archives safely.",
    zhName: "文件整理助手",
    zhDescription: "适合做文件分类、批量整理、归档和目录收纳。",
    searchAliases: ["文件", "归档", "整理", "重命名", "目录", "批量"]
  },
  {
    id: "note-organizer",
    description: "Organize notes, tags, duplicate entries, and knowledge snippets.",
    zhName: "笔记整理助手",
    zhDescription: "适合梳理会议纪要、学习笔记、标签分类和内容归并。",
    searchAliases: ["笔记", "纪要", "标签", "整理", "知识库", "归并"]
  },
  {
    id: "email-skill",
    description: "Draft, read, and manage email tasks from one place.",
    zhName: "邮件助手",
    zhDescription: "适合写邮件、查邮件、整理收件箱和邮件沟通。",
    searchAliases: ["邮件", "邮箱", "email", "发信", "收件箱", "沟通"]
  },
  {
    id: "market-researcher",
    description: "Collect and summarize market, competitor, and trend signals.",
    zhName: "调研助手",
    zhDescription: "适合收集市场信息、竞品动态和趋势摘要。",
    searchAliases: ["市场", "竞品", "调研", "行业", "研究", "趋势"]
  }
];

export const CURATED_GENERIC_SKILL_IDS = new Set(CURATED_GENERIC_SKILLS.map((skill) => skill.id));

export function getCuratedGenericSkillDefinition(skillId: string): CuratedGenericSkillDefinition | undefined {
  return CURATED_GENERIC_SKILLS.find((skill) => skill.id === skillId);
}
