doubao-document-delivery

Delivers verified Markdown manuscripts to Feishu cloud documents via lark-cli with read-back validation.

2|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill doubao-document-delivery-deepjh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doubao-document-delivery
Source: https://github.com/DeepJH/doubao-skill-and-info/tree/main/skills/doubao-book-writer/sub-skills/document-delivery
Command: npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill doubao-document-delivery-deepjh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? It ensures a finished book manuscript is mirrored from local Markdown into a Feishu cloud document without content drift, by automating chapter merging, document creation, and read-back consistency checks instead of manual copy-paste delivery. ## Core Features & Use Cases - One-command delivery: make deliver merges chapters into deliverables/final.md, creates a Feishu document via lark-cli docs, and reads it back for verification. - Read-back consistency checks: check_lark.mjs verifies headings, placeholder cleanliness, and 4-gram coverage against the local final draft, writing results to reports/lark_check.json. - Three-state status reporting: make status reports PASS, BLOCKED, or DRAFT_ONLY so delivery completion is never falsely claimed. - Use Case: After finishing a long Chinese book manuscript split across chapter files, run delivery to produce a single Feishu document whose content is verified to match the local Markdown source, or use SKIP_LARK=1 when the user only wants the Markdown file. ## Quick Start Deliver my finished manuscript in the book working directory to a Feishu document and confirm the read-back check passes.

Frequently Asked Questions about doubao-document-delivery

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

FAQPage Schema
How do I publish a Markdown manuscript to a Feishu document?

Run make deliver with the book working directory. It merges chapters into deliverables/final.md, creates the Feishu document with lark-cli docs using the v2 API in Markdown format, then reads the document back to verify consistency.

How does Feishu document read-back verification work?

The check_lark.mjs script compares the local final Markdown with the fetched Feishu content. It confirms both are non-empty, every local heading appears in the read-back text, no placeholders remain, and 4-gram coverage meets the 0.85 threshold.

Can I deliver only Markdown without creating a Feishu document?

Yes. Set SKIP_LARK=1 when the user explicitly requests Markdown only. The pipeline generates the final manuscript and make status judges PASS without creating any Feishu document.

What happens if Feishu document creation fails?

The local final Markdown is preserved and the real error is recorded in doc-result.json for diagnosing lark-cli login and permission issues. No fake link is produced, and correct local content is never rolled back.

Why is delivery blocked even though writing finished?

The make deliver dependency chain reruns prepare and write checks first. If requirements, layout, word count, or placeholder checks fail upstream, delivery stops at that stage and prints repair guidance rather than creating an incomplete cloud document.