export type TemplateType = | "agent" | "command" | "mcp" | "setting" | "hook" | "skill"; export interface TemplateFile { path: string; content: string; } export interface Template { name: string; type: TemplateType; description: string; content: string; path?: string; files?: TemplateFile[]; // For skills with multiple files downloadUrl?: string; // Archive download URL (.tar.gz) rawUrl?: string; // Direct file download URL (.md/.json) for single-file templates size?: number; // File size in bytes }