/** * Meta Skill Types / 元技能类型 * Defines TypeScript types for meta-skill.yaml configuration structure * 定义 meta-skill.yaml 配置结构的 TypeScript 类型 */ export type AgentProfile = { default_model?: string; model?: string; role: string; }; export type SkillDispatch = { method: "task"; category: string; load_skills: string[]; }; export type SkillEntry = { path: string; skill_name: string; description: string; triggers: string[] | { zh?: string[]; en?: string[]; }; agent_profile: string; dispatch: SkillDispatch; }; export type MetaSkillRegistry = { version: string; agents: Record; easy: Record; auto: Record; expert: Record; workflow: Record; "static-page": Record; git: Record; quality: Record; meta: Record; tools: Record; }; export type TriggerIndex = Map;