/** * Skill Creation from Git History — Generate reusable skills by analyzing patterns. * Extracts workflows from commit history and converts them to skill templates. */ export interface GitPattern { pattern: string; frequency: number; files: string[]; description: string; example?: string; } /** * Analyze git patterns from recent commits */ export declare function analyzeGitPatterns(cwd: string, limit?: number): GitPattern[]; /** * Build a prompt for the AI to generate skills from git patterns */ export declare function buildSkillCreatePrompt(cwd: string, pattern?: string): string; /** * Pretty-print git patterns */ export declare function printGitPatterns(patterns: GitPattern[]): void; /** * Export patterns to a JSON file for reference */ export declare function exportPatternsToJSON(patterns: GitPattern[], outputPath: string): void; /** * Generate a skill file from a git pattern */ export declare function generateSkillFromPattern(pattern: GitPattern, cwd: string): { name: string; content: string; }; /** * Analyze and print git workflow summary */ export declare function printGitWorkflowSummary(cwd: string): void;