Skip to content

MiniMax-AI/mcode-stack / stacks/youfang/skills/magic-move-deck

magic-move-deck

Unverified

Build Keynote-style Magic Move slide decks as one offline 1920×1080 HTML file: every slide is an architecture / flow diagram seen through a camera, and the elements two slides share morph and fly instead of cross-fading. Four visual styles (hand-drawn, minimal, dark neon, neo-brutalist): the agent first renders one sample slide in each style, the user picks one, then the whole deck is built in that style. Also exports 4K / 1080p video. Use for 做演示 / 做 slides / 做 PPT / Magic Move / 神奇移动 / 架构图演示 / 技术分享 deck / 动画 slides / animated architecture walkthrough. Not for bullet-point decks or a single static diagram.

FileKindSize
SKILL.mdskill md10.5 KB
examples/rag-assistant/README.mdmarkdown6.1 KB
examples/rag-assistant/details/00_cover.htmlother15.5 KB
examples/rag-assistant/details/01_ingestion.htmlother21.2 KB
examples/rag-assistant/details/02_retrieval.htmlother21.2 KB
examples/rag-assistant/details/03_generation.htmlother22.1 KB
examples/rag-assistant/details/99_end.htmlother15.6 KB
examples/rag-assistant/diagram-binding.mdmarkdown2.8 KB
examples/rag-assistant/overview.htmlother23.5 KB
examples/rag-assistant/previews/00_cover.jpgbinary80.6 KB
examples/rag-assistant/previews/01_ingestion.jpgbinary175.3 KB
examples/rag-assistant/previews/02_retrieval.jpgbinary184.5 KB
examples/rag-assistant/previews/03_generation.jpgbinary187.1 KB
examples/rag-assistant/previews/99_end.jpgbinary86.6 KB
examples/rag-assistant/previews/overview.jpgbinary163.2 KB
examples/rag-assistant/previews/trans_d1_to_spot.jpgbinary133.6 KB
examples/rag-assistant/previews/trans_overview_to_d1.jpgbinary78.5 KB
references/bilingual-layout.mdmarkdown2.6 KB
references/cards.mdmarkdown5.0 KB
references/diagram-rules.mdmarkdown4.9 KB
references/magic-move-contract.mdmarkdown7.4 KB
references/styles.mdmarkdown4.3 KB
references/verification.mdmarkdown4.8 KB
scripts/build_deck.pyscript15.8 KB
scripts/render_video.pyscript6.7 KB
scripts/snapshot_deck.pyscript5.0 KB
scripts/styles.pyscript7.3 KB
styles/brutalist/STYLE.mdmarkdown2.1 KB
styles/brutalist/diagram.htmlother12.5 KB
styles/brutalist/preview.pngbinary221.2 KB
styles/handdrawn/STYLE.mdmarkdown2.1 KB
styles/handdrawn/diagram.htmlother14.6 KB
styles/handdrawn/preview.pngbinary302.9 KB
styles/minimal/STYLE.mdmarkdown2.0 KB
styles/minimal/diagram.htmlother12.6 KB
styles/minimal/preview.pngbinary226.2 KB
styles/neon/STYLE.mdmarkdown1.9 KB
styles/neon/diagram.htmlother13.4 KB
styles/neon/preview.pngbinary280.1 KB
templates/card-main.jsscript2.9 KB
templates/detail-main.jsscript4.3 KB
templates/diagram-binding.mdmarkdown1.2 KB
templates/keynote.htmlother38.7 KB

references/bilingual-layout.md

View on GitHub
# 双语排版约定(中英双语 deck)

全程中英双语、英文为主的 deck:所有图(封面、总览、细节图、结束页)英文在上、字号大,中文在下、字号小,两种语言的文案各自完整。纯中文或纯英文 deck 跳过本文件,只需保证节点名与分区名两页一致。

## 本地函数(定义在 `main()` 开头,见 `templates/detail-main.js`)

参数一律按 `(中文, English)` 传,显示顺序由函数决定:

| 函数 | 输出 | 用在 |
|---|---|---|
| `bl(zh, en, zhSize = 13)` | 两行:英文在上,中文在下、字号 `zhSize` | 箭头说明、小标签 |
| `fl(zh, en)` | 单行 `English 中文`,中间是全角空格(em space),中文 14px | **所有分区框标签**(`build_deck.py` 按 em space 拆出中文分区名) |
| `btext(x, y, w, h, color, [zh, en], subs, o)` | 框内标题 + 细项:标题英文 `size`、中文 `zhSize`;每个细项英文在上、中文在下(`subSize` / `zhSubSize`);`'gap'` 插空;整块按实际高度垂直居中 | 节点正文 |
| `bnode(...)` | `box()` + `btext()` | 大多数节点 |

`btext` 的中文标题行用 `.ti`(加粗),所以它就是节点的配对名。

## 标题与字号

| 图 | 英文 | 中文 | 排法 |
|---|---|---|---|
| 细节图标题 | 40px | 28px | 同一基线,先 `title()` 英文,再 `title()` 中文,中文 x = 英文宽度 + 24 |
| 细节图副标题 | 21px | 18px | 各占一行(y=104 / 134) |
| 总览标题 | 42px | 30px | 同基线,间隔 +26 |
| 封面标题 | 72px | 44px | 居中两行 |
| 结束页标题 | 64px | 38px | 居中两行 |

## 圈号(①–⑳)

- 总览上每个原则 / 主题有一个以圈号开头的英文小标题,正下方一行中文;细节图英文标题以同一个圈号开头,这样标题从小标题放大而来。细节图的中文标题与小标题下方那行中文用同一段文字。小标题放在该主题区域之外(标题带),见 `examples/rag-assistant/overview.html`。
- 圈号放在英文行。实在放不下时可以放中文行,但要在代码里注释原因。
- 步骤序号(「1 · xxx」)可以放中文行,不影响配对。

## 文案

- 不写内部服务名、厂商产品名或代号,用通用名(如不写某云厂商的存储产品名,写「对象存储」「云盘 · NAS」;不写内部服务代号,写「出口代理」「模型网关」)。对外分享的 deck 尤其要守。
- 英文文案以官网 / 产品原文为准,不自造 slogan。
- 「图例 · Legend」是 helper `legend()` 里写死的,不改。
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 196kUpdated Claude CodeCodexVerifiedInstall