document-authoring
Что он делает
Этот скилл помогает ИИ-агенту создавать распространённые офисные документы и диаграммы из ваших материалов. Он нужен тем, кому нужен готовый файл, а не просто черновик текста.
Когда использовать
- ✓Когда нужна картинка диаграммы или векторный рисунок, построенный по вашим реальным данным.
- ✓Когда вы хотите создать PDF, файл Word или таблицу из заметок или исходных материалов.
- ✓Когда нужна редактируемая презентация с понятной версткой и простым переходом.
Ссылка на скилл
https://github.com/leon-ai/leon/blob/develop/skills/agent/document-authoring/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Сделай PDF-отчёт со столбчатой диаграммой наших квартальных показателей и проверь, что диаграмма читается.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент выбирает подходящий инструмент для типа файла, собирает файл из ваших материалов и просматривает предварительную версию. Он исправляет найденные проблемы, например обрезанный текст или неясные оси, до передачи файла.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Document Authoring
- Establish the requested format, audience, content and acceptance criteria from the brief and supplied references. Reuse source material; for complex work, track criteria and verification evidence in plan details.
- Choose the creation tool based on the requested output:
- Charts: use
document.echarts.renderwith one named entry per requested chart and native ECharts JSON options. Ground the values in supplied/retrieved data, label units, and select only the requested image formats. Each chart becomes a separate SVG/PNG artifact. Use both formats when a vector document figure and raster preview are useful. Inspect a PNG preview and fix clipping or misleading axes before delivering it. Do not use image-generation models to invent or redraw quantitative charts. - Presentations: use
document.slidev.createfor an editable project, authorslides.mdandstyle.csswith the file tool, and place selected chart/image assets inpublic/. Treat the scaffold as editable: owner choices for theme, layout, colors, typography, icons and animation override all defaults. Replace scaffold styles and components when needed; ensure additional themes have compatible installed dependencies. Use local Lucide icons and coherent cover/section/content layouts. Default to fully visible slides and a simpletransition: fadebetween them. Animate mechanisms inside the slide automatically while it is active: moving evidence along a flow, state changes, process cycles or grounded chart evolution. Use CSS orv-motionwith a static reduced-motion fallback. Avoid generic text/panel entrance and exit effects. Add click-triggered reveals (v-clickor click motion variants) and elaborate slide transitions only when the owner explicitly requests them. Ground technical claims in retrieved context/source and label illustrative data. Batch independent grounding reads and author related files together. Use fenced code or HTML-escaped<pre v-pre><code>for literal examples; keep Vue markup balanced. Runinspect, thencheck; during repairs select affectedoptions.slides. Targeted success hascomplete=falseand cannot establish full-deck coverage. Run the default full check on the final source and requirescope=full,complete=trueandok=true. Batch independent checks/previews and requested exports once source is stable; never edit files while those operations are reading them. Reuse current-run evidence and successful results while relevant source/assets are unchanged. Preview early/late motion frames and, only for requested staged reveals, initial/final click states; a passing check alone does not establish visual or animation quality. Finish withpresentto start/reuse a managed native Slidev server and open the deck in the host’s default browser. Return its audience and presenter links, Space/Right/Left navigation andffullscreen control. Verify opening with the browser tool; ifbrowserOpened=false, explain the reported issue and host-local URL scope. Use Satellite for device-side presentation when Leon runs remotely and ensure the project is on that device. Keep the session until the owner finishes, thenstopits sessionId. Export web/PDF/PNG/PPTX downloads only when requested; opening a deck should not require extracting files or running commands. A web ZIP includesserve.mjs: extract and runnode serve.mjs, then open its localhost URL; it can also be hosted as a static site. PDF/PNG and PowerPoint exports capture states rather than native browser motion. Normal PPTX contains slide images; editable PPTX may rasterize complex elements and needs fidelity review. Shared web decks omit notes by default; an optional source ZIP (includeSource=true) always contains them; omit that archive unless requested. - PDF: write a local
.typsource with the file tool, then calldocument.typst.compile. Keep the source and selected assets together in a project directory. Use the smallestrootPathcontaining that project. Built-in/local assets require no generation-provider account or package download. - Editable Word: use
document.document.createwithformat=docx. Typst does not export DOCX. - SVG/PNG: compile Typst with the requested format. Each selected page becomes an image artifact. For a standalone figure, set the page dimensions to fit the figure rather than exporting a full report page.
- Plain text, CSV, Markdown and source files: use existing file writing.
- Hosted ge
- Charts: use
Частые вопросы
Может ли он создать редактируемую презентацию?
Да. Он создаёт редактируемый проект презентации и пишет слайды, поэтому вы сможете изменить их позже.
Будет ли он придумывать цифры для диаграммы?
Нет. Скилл говорит, что диаграммы должны использовать данные, которые вы предоставили, или данные, которые он получил сам.
Проверяет ли он файл перед передачей?
Да. Он просматривает предварительную версию и исправляет очевидные проблемы до передачи.
Подробности
Оригинальное описание автора
Create, inspect and deliver charts, PDFs, Word documents and spreadsheets, and open animated browser presentations.
repo: leon-ai/leon
Популярность
- Звёзды на GitHub
- 18k
- Место в рейтинге
- #10741
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
coding
18kПомогает агенту читать, менять и тестировать код проекта, следуя инструкциям самого проекта и оставаясь в заданных рамках.
live-tutorial
18kПозволяет агенту показать сценарий работы в вашем приложении и превратить скриншоты в обучающее видео MP4 с подписями.
media-production
18kПомогает агенту создавать и редактировать изображения, векторную графику, аудио и видео, а затем проверять готовые файлы перед передачей.
Похожие скиллы
feishu-doc
394kПомогает агенту читать, создавать и редактировать облачные документы Feishu, включая текст, изображения и таблицы, с помощью инструмента для документов.
feishu-drive
394kПозволяет агенту просматривать, упорядочивать и комментировать файлы в облачной папке Feishu, к которой предоставлен доступ боту.
feishu-perm
394kПомогает агенту проверить и изменить, кто может получить доступ к файлу Feishu, выбирая наименьшее право, которое соответствует вашему запросу.