lark-slides
Installation
Summary
Create and edit Lark Office slides with XML protocol, supporting presentation creation, page management, and content modification.
- Supports three creation workflows: one-step creation for simple slides, two-step creation (empty presentation + page-by-page addition) for complex content, and block-level editing of existing pages without reordering
- Handles slide operations including create, read, delete, and replace at both presentation and individual page levels; automatically parses
/slides/and/wiki/URLs to extract presentation tokens - Requires planning layer (slide_plan.json) before XML generation for new presentations or major rewrites; includes visual planning (layout_type, visual_focus, text_density) and asset planning with fallback strategies
- Enforces strict XML validation: text must use
<content><p>...</p></content>, images require uploaded file_tokens (no external URLs), and all complex content undergoes post-creation verification against validation checklist - Provides template search, summarization, and extraction via
template_tool.pyto avoid boilerplate; prioritizes user identity (--as user) for personal content operations
SKILL.md
slides (v1)
本技能文档较长,务必使用 Read 工具阅读两次,必须阅读完整全文。
权威经验
权威经验是全局硬约束和高频易错点,必须牢记并严格遵守。