$npx -y skills add AlekseiUL/sprut-agent-kit --skill presentationCreate presentations from text/outline using Marp (Markdown to slides). Use when user asks to create presentation, slides, pitch deck. Triggers on "презентация", "слайды", "presentation", "pitch deck", "сделай презентацию".
| 1 | # Presentation Creator |
| 2 | |
| 3 | Create professional presentations from text or outline using Marp CLI. |
| 4 | |
| 5 | ## Output Formats |
| 6 | |
| 7 | - **PDF** — универсальный, для печати и шаринга |
| 8 | - **PPTX** — PowerPoint, можно редактировать |
| 9 | - **HTML** — интерактивные слайды в браузере |
| 10 | |
| 11 | ## Workflow |
| 12 | |
| 13 | ### Step 1: Create Markdown slides |
| 14 | |
| 15 | Create `.md` file with Marp syntax: |
| 16 | |
| 17 | ```markdown |
| 18 | --- |
| 19 | marp: true |
| 20 | theme: default |
| 21 | paginate: true |
| 22 | --- |
| 23 | |
| 24 | # Заголовок презентации |
| 25 | |
| 26 | Подзаголовок или автор |
| 27 | |
| 28 | --- |
| 29 | |
| 30 | ## Слайд 2 |
| 31 | |
| 32 | - Пункт 1 |
| 33 | - Пункт 2 |
| 34 | - Пункт 3 |
| 35 | |
| 36 | --- |
| 37 | |
| 38 | ## Слайд с изображением |
| 39 | |
| 40 |  |
| 41 | |
| 42 | Текст слева от картинки |
| 43 | |
| 44 | --- |
| 45 | |
| 46 | ## Код |
| 47 | |
| 48 | ```python |
| 49 | print("Hello, World!") |
| 50 | ``` |
| 51 | |
| 52 | --- |
| 53 | |
| 54 | # Спасибо за внимание! |
| 55 | |
| 56 | Контакты: example@email.com |
| 57 | ``` |
| 58 | |
| 59 | ### Step 2: Export to desired format |
| 60 | |
| 61 | ```bash |
| 62 | # PDF (default, best quality) |
| 63 | marp presentation.md -o ~/Desktop/presentation.pdf |
| 64 | |
| 65 | # PowerPoint |
| 66 | marp presentation.md -o ~/Desktop/presentation.pptx |
| 67 | |
| 68 | # HTML (single file) |
| 69 | marp presentation.md -o ~/Desktop/presentation.html |
| 70 | ``` |
| 71 | |
| 72 | ## Marp Syntax Quick Reference |
| 73 | |
| 74 | ### Slide separator |
| 75 | ``` |
| 76 | --- |
| 77 | ``` |
| 78 | |
| 79 | ### Background images |
| 80 | ```markdown |
| 81 |  # full background |
| 82 |  # left split |
| 83 |  # right 40% |
| 84 |  # fit inside |
| 85 |  # cover (crop) |
| 86 | ``` |
| 87 | |
| 88 | ### Text styling |
| 89 | ```markdown |
| 90 | **bold** *italic* ~~strikethrough~~ |
| 91 | `inline code` |
| 92 | ``` |
| 93 | |
| 94 | ### Themes |
| 95 | Available: `default`, `gaia`, `uncover` |
| 96 | |
| 97 | Set in frontmatter: |
| 98 | ```yaml |
| 99 | --- |
| 100 | marp: true |
| 101 | theme: gaia |
| 102 | class: lead |
| 103 | --- |
| 104 | ``` |
| 105 | |
| 106 | ### Colors & classes |
| 107 | ```markdown |
| 108 | <!-- _class: lead --> # centered title slide |
| 109 | <!-- _backgroundColor: #123 --> |
| 110 | <!-- _color: white --> |
| 111 | ``` |
| 112 | |
| 113 | ## Script Usage |
| 114 | |
| 115 | ```bash |
| 116 | # Create presentation |
| 117 | {baseDir}/scripts/create-presentation.sh "Title" "outline.txt" ~/Desktop/output.pdf |
| 118 | |
| 119 | # Or manually |
| 120 | marp slides.md -o output.pdf --allow-local-files |
| 121 | ``` |
| 122 | |
| 123 | ## Tips |
| 124 | |
| 125 | - Keep slides minimal: 1 idea per slide |
| 126 | - Use images for visual impact |
| 127 | - Max 6 bullet points per slide |
| 128 | - Large fonts (Marp defaults are good) |
| 129 | - For PDF: `--pdf-notes` includes speaker notes |