# CLAUDE.md ## Overview Notion-to-presentation workflow. Transforms research content into branded PowerPoint/Figma presentations. ## Quick Start ```bash # Full automated workflow python scripts/run_workflow.py --notion-url [URL] --output presentation.pptx # Step-by-step python scripts/extract_notion.py [URL] > research.json python scripts/synthesize_content.py research.json > synthesis.json python scripts/apply_brand.py synthesis.json --output presentation.pptx ``` ## Scripts | Script | Purpose | |--------|---------| | `run_workflow.py` | Orchestrate full pipeline | | `extract_notion.py` | Extract content from Notion pages | | `synthesize_content.py` | Analyze and structure content | | `apply_brand.py` | Apply corporate styling | ## Workflow Pipeline ``` extract_notion.py → synthesize_content.py → apply_brand.py ↓ ↓ ↓ research.json synthesis.json presentation.pptx ``` ## Extract Notion ```bash # Single page python scripts/extract_notion.py notion://page/abc123 > research.json # Database query python scripts/extract_notion.py notion://database/def456 --filter "Status=Done" ``` ## Synthesize Content ```bash # Generate slide structure python scripts/synthesize_content.py research.json > synthesis.json # With presentation type python scripts/synthesize_content.py research.json \ --type executive \ --max-slides 10 ``` ## Apply Brand ```bash # PowerPoint output python scripts/apply_brand.py synthesis.json \ --config assets/brand_config.json \ --output presentation.pptx # Preview HTML python scripts/apply_brand.py synthesis.json --preview ``` ## Brand Configuration See `assets/brand_config.json` for: - Logo placement - Color scheme - Font settings - Slide templates ## Output Formats - PowerPoint (.pptx) - Figma (via API) - HTML preview