/vault-knowledge-vault:book-chapter-to-vaultfrom vault-knowledge-vault
Convert a book chapter delivered as .docx (one chapter per file) into a personal learning vault — one chapter-summary note per chapter, one consolidated cheatsheet, and (optionally) updates to an existing Kanban board and mindmap. Use when the user says "读 .docx 章节做学习笔记", "把书拆成学习材料", "做一份 X 章的速查卡", "把这几章做成可复习的笔记", or names this skill directly. Also use when the user wants to digest a personal-development book (FDE / PM / engineering-leadership / sales / career) into actionable structure. Do NOT use for: converting books to ePub/PDF (use `pdf` or `docx`), drafting a single Markdown note from prose (use the user's preferred writing skill), summarizing a paper (use a paper skill), or building a study system around a non-textbook source (videos, podcasts).
Ships in vault-knowledge-vault. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One chapter in, four artifacts out: per-chapter learning note + consolidated cheatsheet + Kanban task injection + mindmap extension. Designed for personal-development books (FDE / PM / career / engineering-leadership) delivered as
.docx.
Load this skill when the user wants to:
.docx files and turn each chapter into a structured learning note (concepts, anti-patterns, action items, self-test).wechat-article-pack).Before starting, confirm with the user (or infer from the file layout):
.docx files, one per chapter.~/Documents/LearningVault/<book-name>/).kanban/kanban.md in Logseq format).mindmap/技能树.md in Markmap format)..docx files in the source directory.ch02-mvp-2weeks.md. Default: ch<NN>-<slugified-title>.md.For a single chapter the skill produces:
<vault>/
├── notes/
│ ├── ch<NN>-<slug>.md # per-chapter learning note
│ └── cheatsheet-all.md # consolidated cheatsheet (re-generated each chapter)
├── kanban/
│ └── kanban.md # extended with new tasks (if user has one)
└── mindmap/
└── 技能树.md # extended with new branches (if user has one)
Each artifact has a fixed structure — see the reference templates in references/.
Run scripts/extract_docx.py (or your existing docx extractor) to convert each .docx to a plain .md scratch file under .reference/_raw/. Keep these for traceability.
If python-docx isn't available, the script falls back to reading word/document.xml from the .docx ZIP. See scripts/extract_docx.py for the implementation.
Validation: each scratch file should have H1 = chapter title, H2/H3 = section headings, body = paragraphs. Drop empty paragraphs. Preserve code blocks (the python-docx default may not; the fallback XML parser does).
For each chapter, find the 5-7 most important concepts (not all sub-sections — just the load-bearing ones). For each, write:
If the chapter has ≤ 4 sub-sections, merge adjacent ones. If it has ≥ 8, cluster into ≤ 7 concepts.
Every chapter should have a table of anti-patterns / 常见坑 with columns: 坑 | 表现 | 危害 | 破解.
This is the "what NOT to do" half of the note — equally important to the concepts.
For each chapter, write a 本周行动清单 (this week's action list) with 5-7 concrete, executable items prefixed with D1...D7. Each item must be:
These action items are exactly what gets injected into the Kanban in Step 6.
Use references/chapter-template.md as the template. Structure:
# 第 X 章 · <Title>
> 章节目录 + 用时 + 目标(一段话)
## 📑 章节地图
| 小节 | 主题 | 关键词 |
## 🧠 核心概念(5-7 段)
### 概念 1 · <Name>
> 原文金句
**我的理解**:...
**怎么用**:...
**复述题**:...
## 🚫 反模式 / 常见坑
| 坑 | 表现 | 危害 | 破解 |
## ✅ 本周行动清单
- [ ] D1 ...
- [ ] D2 ...
## 🧪 Self-Test(闭卷)
1. ...
2. ...
## 📎 关键引用(速记版)
- 「...」
- 「...」
## 🔗 相关章节 / 资源
- → ...
Kanban injection (references/kanban-injection-template.md):
🆕 第 X 章《...》衍生(<date> 增).读完第 X 章,生成结构化学习笔记 + 速查卡 (on the day the user finishes reading).Mindmap extension (references/mindmap-extension-template.md):
🆕 <sub-topic> sub-branch with the chapter's key concepts as leaf nodes.📘 <Book Name> with one sub-node per chapter.After processing each chapter, regenerate notes/cheatsheet-all.md from scratch. Don't append — the cheatsheet is meant to be a single A4 page. If a chapter adds too much new content, demote less critical items to the per-chapter note.
Use references/cheatsheet-template.md for the format.
Before declaring the work done, verify:
.md file under notes/.D1...D7.🆕 subsections matching each processed chapter.[ ] checkbox syntax.python-docx's default paragraph iterator. The skill's script falls back to the XML parser, but image-embedded code won't be recovered.See examples/fde-ai-pm-ch2-4/ for the actual output of running this skill on the FDE book chapters 2-4. Three notes, one cheatsheet, an updated Kanban, and an extended mindmap. This is the canonical reference for "what good output looks like."
references/chapter-template.md — per-chapter note templatereferences/cheatsheet-template.md — consolidated cheatsheet formatreferences/kanban-injection-template.md — how to extend an existing Logseq/Obsidian Kanbanreferences/mindmap-extension-template.md — how to extend an existing Markmap mindmapscripts/extract_docx.py — the .docx → .md extractor (python-docx + XML fallback)scripts/render_cheatsheet.py — optional: render the cheatsheet to A4 PDF or HTMLexamples/fde-ai-pm-ch2-4/notes/ — the actual output of running this skill on FDE ch2-4examples/fde-ai-pm-ch2-4/README.md (opens in a new tab)examples/fde-ai-pm-ch2-4/_raw/第三章:最后一公里——部署的艺术.md (opens in a new tab)examples/fde-ai-pm-ch2-4/_raw/第二章:快速原型——两周交付MVP.md (opens in a new tab)examples/fde-ai-pm-ch2-4/_raw/第四章:与客户并肩作战.md (opens in a new tab)examples/fde-ai-pm-ch2-4/kanban.md (opens in a new tab)examples/fde-ai-pm-ch2-4/notes/ch02-mvp-2weeks.md (opens in a new tab)examples/fde-ai-pm-ch2-4/notes/ch03-deployment-last-mile.md (opens in a new tab)examples/fde-ai-pm-ch2-4/notes/ch04-customer-engagement.md (opens in a new tab)examples/fde-ai-pm-ch2-4/notes/cheatsheet-all.md (opens in a new tab)examples/fde-ai-pm-ch2-4/技能树.md (opens in a new tab)references/chapter-template.md (opens in a new tab)references/cheatsheet-template.md (opens in a new tab)references/kanban-injection-template.md (opens in a new tab)references/mindmap-extension-template.md (opens in a new tab)scripts/extract_docx.py (opens in a new tab)scripts/render_cheatsheet.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yhyu13/agentskillsvault --plugin vault-knowledge-vault3 skills in this plugin
/deliberate-practice用 Akraken 在 Deadlock 讲座中讲的刻意练习方法,帮用户制定变强计划。Use when 用户说“怎么刻意练习”“我想比别人更快变强”“帮我定训练计划”或“怎么复盘”。不用于总结视频、制作 PPT、制作口播、只下载视频,或把研究转述改写成已证实的普遍规律。/family-edu-gamified-skills将小学一至六年级的预习、复习、作业、课外拓展、兴趣培养、习惯养成与家长激励整理为可复用的成长闯关流程。用于安排每日学习、制定习惯计划、设计作业闯关、规划课外活动、进行亲子沟通和周复盘;提供七角色技能说明、协作接口与输出模板。