lark-slides

Create and edit Lark Slides presentations via XML markup and lark-cli commands.

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/U1traVeno/skills --skill lark-slides-u1traveno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-slides
Source: https://github.com/U1traVeno/skills/tree/main/profiles/lark/lark-slides
Command: npx skills add https://github.com/U1traVeno/skills --skill lark-slides-u1traveno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Creating and editing Feishu (Lark) slide presentations programmatically requires mastering a complex XML schema (SML 2.0), CLI commands, image upload workflows, and layout planning. This Skill guides the entire lifecycle of building, reading, and modifying presentations without manual trial and error. ## Core Features & Use Cases - Presentation Creation: Plan decks with a structured slide_plan.json, then create slides via one-step or two-step creation flows with local image auto-upload. - Page-Level Editing: Perform block-level replacement or insertion on existing pages, batch-rebuild multiple pages in place, and read back full or single-page XML for verification. - Rich Visuals: Generate native charts, whiteboard diagrams (SVG/Mermaid), semantic icons, and screenshots, with validation checklists and troubleshooting guides for common errors. - Use Case: A user asks for a 6-page product launch deck. The Skill plans the outline, generates themed XML pages with charts and diagrams, creates the presentation, then reads it back to verify layout quality before delivery. ## Quick Start Use the lark-slides skill to create a 5-page presentation about our Q3 results with charts and a timeline, then give me the link.

Frequently Asked Questions about lark-slides

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Feishu slide presentation from the command line?▼

Use lark-cli slides +create with a title, optionally passing --slides as a JSON array of slide XML strings. For complex decks with many pages or heavy Chinese text, create a blank presentation first, then add pages one by one with xml_presentation.slide create.

How do I edit a single page in an existing Lark presentation?▼

Use the +replace-slide shortcut for block-level replacement or insertion without changing page order. For rebuilding multiple pages in an existing deck, use +replace-pages, which creates new pages before old ones and deletes the originals in place.

Can I use external image URLs in Feishu slides XML?▼

No, external http(s) image URLs are not rendered by the slides renderer. Download the image locally first, upload it with slides +media-upload to get a file_token, then reference that token in the img src attribute. Images are limited to 20 MB.

What is the difference between chart and whiteboard elements in slides XML?▼

Use the native chart element for data-series charts like bar, line, area, radar, and pie. Use whiteboard with SVG or Mermaid for flowcharts, sequence diagrams, architecture diagrams, scatter plots, funnel charts, and decorative graphics that chart cannot express.

Why does slide creation fail with error 3350001?▼

Error 3350001 indicates malformed XML or server-side parameter validation failure. Check for unescaped characters like ampersands and angle brackets in text, verify XML structure against the schema, and review the troubleshooting guide for shell truncation and layout risks.

How do I handle wiki links to Feishu presentations?▼

Wiki URLs cannot be used directly as presentation IDs. Query the wiki node with lark-cli wiki spaces get_node, confirm obj_type is slides, then use the returned obj_token as the xml_presentation_id. The +replace-slide and +media-upload shortcuts resolve wiki URLs automatically.