document-authoring
Skill này làm gì
Skill này giúp agent AI tạo các tài liệu văn phòng thông dụng và biểu đồ từ tư liệu của bạn. Skill dành cho người cần một file hoàn chỉnh, chứ không chỉ là bản nháp văn bản.
Khi nào nên dùng
- ✓Khi bạn cần một ảnh biểu đồ hoặc hình vector được xây dựng từ dữ liệu thực bạn cung cấp.
- ✓Khi bạn muốn một file PDF, Word hoặc bảng tính được tạo từ ghi chú hoặc tư liệu nguồn.
- ✓Khi bạn cần một bộ slide có thể chỉnh sửa với bố cục rõ ràng và chuyển cảnh đơn giản.
Liên kết skill
https://github.com/leon-ai/leon/blob/develop/skills/agent/document-authoring/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể làm một báo cáo PDF với biểu đồ cột cho các con số theo quý của chúng tôi và kiểm tra xem biểu đồ có dễ đọc không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn công cụ phù hợp với loại file, xây dựng file từ tư liệu của bạn và kiểm tra bản xem trước. Nó sửa các vấn đề phát hiện được, như chữ bị cắt hoặc trục không rõ, trước khi giao file.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có thể tạo bộ slide có thể chỉnh sửa không?
Có. Nó tạo một dự án slide có thể chỉnh sửa và viết các slide, để bạn thay đổi sau này.
Nó có tự bịa số liệu cho biểu đồ không?
Không. Skill nói biểu đồ phải dùng dữ liệu bạn cung cấp hoặc dữ liệu nó truy xuất được.
Nó có kiểm tra file trước khi giao không?
Có. Nó kiểm tra bản xem trước và sửa các vấn đề rõ ràng trước khi giao.
Chi tiết
Mô tả gốc của tác giả
Create, inspect and deliver charts, PDFs, Word documents and spreadsheets, and open animated browser presentations.
repo: leon-ai/leon
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10741
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
coding
18kGiúp agent của bạn đọc, thay đổi và kiểm thử mã trong một dự án, theo hướng dẫn riêng của dự án và trong phạm vi bạn đã đặt.
live-tutorial
18kCho phép agent của bạn trình diễn một quy trình trong ứng dụng và biến các ảnh chụp màn hình thành video hướng dẫn MP4 có chú thích.
media-production
18kGiúp agent của bạn tạo và chỉnh sửa hình ảnh, đồ họa vector, âm thanh và video, rồi kiểm tra các file hoàn chỉnh trước khi giao.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.