youfang — плагин для Claude Code: что делает и как установить
Плагин youfang для Claude Code превращает схемы архитектуры и процессов в интерактивные HTML-презентации с эффектом Magic Move. Генерирует один автономный файл с плавными переходами блоков.
MIT ★ 741 обновлён 2026-11-11
/plugin marketplace add MiniMax-AI/mcode-stack
/plugin install youfang@mcode-stackЧто делает youfang
Плагин содержит скилл magic-move-deck, который раскладывает архитектурный разбор на сценарий: обложка, обзор, детальные схемы с приближением и финал. Одинаковые блоки и надписи на соседних слайдах плавно перемещаются и меняют форму по именам элементов. Сначала агент рисует один слайд в четырёх вариантах оформления (рукописный, минималистичный, тёмный неон, нео-брутализм), а после выбора пользователя собирает всю презентацию в разрешении 1920×1080.
Для работы требуются Python 3 и браузер Playwright Chromium. При сборке нужен доступ к сети, потому что библиотека rough.js подтягивается с jsDelivr, но готовый HTML открывается полностью офлайн. Для экспорта видео в 1080p или 4K с фоновой музыкой в системе должен стоять ffmpeg.
Какие задачи решает
- Собрать интерактивную HTML-презентацию из описания архитектуры системы
- Сделать плавные переходы между схемами с эффектом Magic Move
- Оформить техническую презентацию в одном из четырёх стилей на выбор
- Экспортировать анимацию переходов схем в видео 1080p или 4K
Примеры запросов агенту
- Преврати архитектуру нашего бэкенда в презентацию magic-move-deck
- Покажи превью слайда в четырёх стилях для схемы RAG-ассистента
- Собери HTML-презентацию по структуре сервиса и экспортируй видео через ffmpeg
Как установить youfang
Через маркетплейс плагинов
/plugin marketplace add MiniMax-AI/mcode-stack/plugin install youfang@mcode-stackПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о youfang
Как установить youfang в Claude Code?
Выполните в сессии две команды: /plugin marketplace add MiniMax-AI/mcode-stack, затем /plugin install youfang@mcode-stack.
Что делает плагин youfang?
Он превращает схемы архитектуры и процессов в автономную HTML-презентацию формата 1920×1080, где общие элементы между слайдами анимируются через Magic Move.
Что нужно для работы youfang?
Нужны Python 3, пакет playwright с установленным Chromium (playwright install chromium), доступ к сети во время рендеринга и утилита ffmpeg, если нужен экспорт в видео.
Исходный текст
youfang · MIT
# youfang The stack of Youfang, an engineer on MiniMax Code: one skill that turns an architecture or flow walkthrough into a Keynote-style **Magic Move** slide deck. Every slide is a diagram seen through a camera, and the boxes, labels and titles two slides share morph and fly instead of cross-fading. The agent first renders one sample slide in each of four styles; you pick one and it builds the whole deck in that style. | A · Hand-drawn | B · Minimal | | --- | --- | |  |  | | **C · Dark neon** | **D · Neo-brutalist** | |  |  | ## Install In Claude Code, one command installs this stack. In a shell: ```bash claude plugin install youfang --marketplace MiniMax-AI/mcode-stack ``` Inside a session: ```bash /plugin install youfang --marketplace MiniMax-AI/mcode-stack ``` Older Claude Code can add the marketplace first, then install: ```bash /plugin marketplace add MiniMax-AI/mcode-stack /plugin install youfang@mcode-stack ``` In Codex, add the marketplace, then install from the Plugins Directory or the CLI: ```bash codex plugin marketplace add MiniMax-AI/mcode-stack codex plugin add youfang@mcode-stack ``` In MiniMax Code, copy this whole directory into the local plugin directory shown by `mcode plugin marketplace list`, or copy the skill into `~/.agents/skills/`. See the [repository README](../../README.md#quick-start). | Skill | What it does | | --- | --- | | [`magic-move-deck`](skills/magic-move-deck/SKILL.md) | Plan the storyline (cover → overview → per topic: zoom into its region, detail diagram, three spotlights → overview → closing card), draw one detail diagram, render it in four styles for you to choose, then draw the remaining diagrams in that style and build one offline 1920×1080 HTML deck. Shared elements are matched by name across slides. Screenshots every slide and transition to check the result; optional 4K / 1080p video with background music. | A complete example deck (a RAG knowledge assistant, 19 slides) with its sources, configuration and previews is in [`skills/magic-move-deck/examples/rag-assistant/`](skills/magic-move-deck/examples/rag-assistant/). ## Requirements - Python 3 and Playwright's Chromium: `pip install playwright && playwright install chromium`. - `ffmpeg`, only for video export. - Network access while diagrams are rendered (rough.js from jsDelivr). The built deck is a single file that works offline. - Fonts: Times New Roman and a Songti font for the hand-drawn style (shipped with macOS and Windows); the other styles use the system UI font with PingFang SC, Microsoft YaHei or Noto Sans SC for Chinese. How this fits into a working day: [`WORKFLOW.md`](WORKFLOW.md). Third-party credits: [`NOTICE.md`](NOTICE.md).
© Youfang (MiniMax Code team) · MIT · MiniMax-AI/mcode-stack