Book
用多 agent 工作流从零生成一整本【带设计感、可直接出 PDF 的书/教材/手册/读本】——含广泛调研定目录、逐章并行写作、每章主题插画、Typst 精排、事实核查与统稿。当用户想"写一本书/教材/手册/小册子/读本"、"把某个主题系统整理成一本书"、"做一本带封面和插画的 PDF 电子书"、"生成一本 XX 风格的书",或提到 Anthropic 风格出版物排版时,主动使用本 skill——即使没明说"用 book skill"。多章节、需要统一设计与排版、要出 PDF 的长篇成书任务都该用它。 不要用于:单篇文章/博客、PPT/幻灯片、海报、网页/落地页、单张图(那些另有工具)。
Install
npx skills add chesley-veko/book_skill --skill bookgit clone --depth 1 https://github.com/chesley-veko/book_skill.git /tmp/book_skill
mkdir -p ~/.claude/skills
cp -r /tmp/book_skill/. ~/.claude/skills/bookPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# book · 从零生成一本带设计感的 PDF 书 把一个主题,经「调研→定目录→逐章并行写→配插画→精排→核查统稿」做成一本封面/目录/插画/排版俱全、可直接 PDF 出片的书。底层是 `typst` 排版 + 分阶段(phase)的子任务编排。 > **环境约定**:本 skill 与具体编码工具无关。下文用 `$SKILL` 指代本 skill 根目录、用 `$PROJECT` 指代用户的成书工作目录(脚本路径写 `$SKILL/scripts/xxx.py`,产物写 `$PROJECT/assets/...`)。各阶段若你所在环境支持并行子代理(如某些 CLI 的子代理/工作流机制),就把可并行的工作 fan out 并行完成;否则顺序逐个完成即可。外部依赖统一申明为命令行工具/能力:`codex`(或任意可用的图像生成 CLI/能力,用于生图)、`typst`(排版编译)、`mmdc`(Mermaid 渲染)。 ## 什么时候用 / 不用 - **用**:成体系的多章节长篇(教材、手册、指南、读本),要统一设计、要出 PDF。 - **不用**:单篇文章、PPT、海报、网页、单图。 ## 工作方式(先读这两份) 1. **`$SKILL/references/pipeline.md`** —— 6 阶段流水线(调研→TOC→逐章写→插画→拼装编译→核查统稿)与分阶段编排范式。**这是主干,开工前必读。** 2. **`$SKILL/references/template-api.md`** —— 每章正文文件的写作契约 + 可用组件(写章的子任务必须遵守)。 3. **`$SKILL/references/illustrations.md`** —— 扉页插画的 `codex` 生图 + 色键抠透明管线(需要插画时读)。 4. **`$SKILL/references/diagrams.md`** —— 内文图三条路:`flow()`(极简线性)/ Mermaid(精确功能图,由 `mmdc` 渲染)/ **`codex` 插画信息图(最精致有趣,面向人的书首选)**,都嵌成 `#diagram()`。要画图时读,并看 `$SKILL/styles/<style>/infographic-prompt.md`。 ### 配图决策(自己判断,别等用户点名) book 有两条配图路线,做书时**主动按内容判断该走哪条**,命中"精美图"判据就在该处走升级路线,不用等用户开口: - **默认 · 极简线条插画**(`$SKILL/scripts/gen_illustrations.py`,本 skill 自带):技术书/教材的**章节扉页**、抽象概念(循环/架构/流程)。克制、统一、系列感强——这类场景上精美大图反而花、破坏一致性。 - **升级 · 精美图 / 杂志级大图**:命中任一即在该处升级—— - 封面想要冲击力/营销感/生活方式感(面向大众、产品手册、品牌读本),而非克制技术风; - 某页要**美化真实截图**(产品教程、UI 走查)→ 截图美化处理; - 需要**杂志级大图 / 信息图 / 数据可视化卡片**,线条表达不了; - 要顺带产出**社交传播图**(如小红书图文 / 公众号封面)推广这本书; - 用户说"封面/配图要精美/高级/出彩"。
Details
- Skill name
book- Repository
- chesley-veko/book_skill
- License
- MIT
- Repo updated
- 3 June 2026
FAQ
What does the Book skill do?
用多 agent 工作流从零生成一整本【带设计感、可直接出 PDF 的书/教材/手册/读本】——含广泛调研定目录、逐章并行写作、每章主题插画、Typst 精排、事实核查与统稿。当用户想"写一本书/教材/手册/小册子/读本"、"把某个主题系统整理成一本书"、"做一本带封面和插画的 PDF 电子书"、"生成一本 XX 风格的书",或提到 Anthropic 风格出版物排版时,主动使用本 skill——即使没明说"用 book skill"。多章节、需要统一设计与排版、要出 PDF 的长篇成书任务都该用它。 不要用于:单篇文章/博客、PPT/幻灯片、海报、网页/落地页、单张图(那些另有工具)。
How do I install the Book skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add chesley-veko/book_skill --skill book. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Book popular?
It lives in chesley-veko/book_skill, which has 29 GitHub stars and 2 forks.
Related skills
Itu T Recommendation Reviewer
27openitu/itu-t-recommendation-reviewer
Review draft ITU-T Recommendations (and ITU-T | ISO/IEC common texts) for compliance with the ITU-T Author's Guide, presentation rules, and quality checklist before submission for consent/determination/approval. Use this skill whenever the user asks to review, check, audit, proofread, or improve a draft ITU-T Recommendation, standard contribution, amendment, corrigendum, or common text — including requests phrased as "检查/审查/校对 ITU-T 建议书", "does my draft follow ITU-T rules", "prepare my draft for TSB submission", or when a user uploads a document identified as a draft Recommendation. Also use i
Pdf2zh
32haorantang1999/cc-pdf2zh-skill
PDF英文转中文翻译。使用PDFMathTranslate进行PDF文档翻译,保留公式、图表、布局。 当用户提到PDF翻译、pdf2zh、英文PDF转中文、科学文档翻译时触发。
Career Manager
24muggl3mind/career-manager
Orchestrate the complete career-manager system across job-search, company-research, job-tracker, and cv-tailor. Use when coordinating multi-step job hunt workflows, routing requests to the right sub-skill, and enforcing shared data ownership boundaries.
Zine Deck Maker
36VigoZhao/zine-deck-maker
Create visually driven 7-8 page PDF zine decks from a topic, idea, product, trend, campaign, story, or brief using the bundled K-pop apocalypse ransom-zine style. Use for PDF/deck/PPT/slide/poster-zine requests that need content-relevant cutouts, distressed typography, torn paper, stickers, scan texture, and bottom masthead bands. Not for ordinary business decks, generic image prompts, single images, or unrelated visual styles.
Feishu Ppt Skill
25YinsenWANG/feishu-ppt-skill
使用本地 XML 模板创建或编辑飞书/Lark 幻灯片,支持内容替换、近似预览、排版与主题校验。适用于飞书演示文稿或明确要求套用本库的任务;默认提供 Cherry Studio 主题,不承担通用海报或本地 PowerPoint 文件生成。
Ifq Design Skills
26peixl/ifq-design-skills
Use this skill whenever the user asks for an HTML-first visual design deliverable or design judgment: interactive prototype, slide deck, motion demo, infographic, dashboard, landing page, whitepaper, changelog, business card, social cover, brand system, design critique, multi-variant exploration, or export to MP4, GIF, PPTX, PDF, or SVG. It is optimized to make AI agents do the routing, template selection, verification, and export prep so humans spend less time prompt-engineering. Do not use for production web apps, SEO sites, backend systems, or pure copy edits.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.