UNPKG

hatch-slidev-builder-mcp

Version:

A comprehensive MCP server for creating Slidev presentations with component library, interactive elements, and team collaboration features

42 lines (41 loc) 1.5 kB
/** * Layer 1: Content Intelligence * Analyzes and structures presentation content using proven frameworks */ export interface ContentStructure { narrative_flow: 'problem_solution' | 'before_after' | 'feature_benefit' | 'pyramid_principle'; information_hierarchy: 'primary' | 'secondary' | 'supporting'; cognitive_load_score: number; messaging_framework: 'mckinsey_scce' | 'storytelling_arc' | 'consultative_selling'; } export interface ContentAnalysisResult { content_structure: ContentStructure; key_messages: string[]; audience_adaptation: 'technical' | 'executive' | 'general'; slide_recommendations: SlideRecommendation[]; content_density: 'low' | 'medium' | 'high'; } export interface SlideRecommendation { slide_type: 'hero' | 'problem' | 'solution' | 'evidence' | 'action' | 'summary'; priority: number; estimated_time: number; content_points: string[]; } export declare class ContentIntelligenceEngine { /** * Analyze content using established frameworks */ static analyzeContent(content: string, audience?: string): ContentAnalysisResult; /** * Extract key messages using simple heuristics */ private static extractKeyMessages; /** * Generate slide recommendations based on content analysis */ private static generateSlideRecommendations; /** * Apply cognitive load optimization */ static optimizeCognitiveLoad(content: string[], maxItems?: number): string[]; }