konghenfuxue-cpu/heibeixue-epub/txt-to-epub-template
Claude Code and agent skill by konghenfuxue-cpu/heibeixue-epub
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
将中文小说 TXT 按卷、章、尾声和番外切分并生成带封面、简介、制作说明、分级目录和复古正文样式的 EPUB 3;适用于以后把纯文本小说制作成 EPUB,不用于修复已有 EPUB。
Install
npx vskill@latest install konghenfuxue-cpu/heibeixue-epub/txt-to-epub-templateSKILL.md
TXT 转 EPUB 模板
使用 scripts/txt_to_epub.py。模板采用透明的阅读器默认正文背景、全页自适应封面、双层卡片简介页和独立制作说明页;不包含参考书正文、封面或专属元数据。默认不嵌入字体,以提高阅读器兼容性。
转换
可选参数:
--cover 封面.jpg:使用指定封面;省略时生成文字 SVG 封面。--description "简介":写入元数据并生成简介页。省略时将第一个章节标题前的文字作为简介。--language zh-CN:覆盖默认语言。--production-team "黑背雪":制作团队,默认“黑背雪”。--source-provider "网友":校对版提供者,默认“网友”。--edition "1.0":制作版本,默认“1.0”。--production-date "2026.09.28":制作日期;省略时使用当天日期。--layout-reference "鬼鬼、湖心溪露等大佬":制作说明页底部的排版参考致谢。--no-production-note:明确不生成制作说明页。
脚本识别 第…卷、第…章/节/回、尾声、终章、番外…、后日谈、附录、完本感言。卷标题在目录中作为一级节点,后续章节作为子项;无卷结构时使用平级目录。
完成标准
- 不覆盖已存在的输出文件;需要替换时先让用户明确确认或换名输出。
- 检查 ZIP 首项为未压缩的
mimetype,并验证 container、OPF、manifest、spine、nav 和所有引用目标。 - 抽查封面、简介、制作说明、第一章、最后一章及目录跳转;若有 Calibre 或目标阅读器,再进行人工打开确认。
- 报告识别出的正文分段数量、卷数、输出路径,以及未被识别为标题的异常行(如有)。
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/txt-to-epub-template/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/konghenfuxue-cpu/heibeixue-epub/txt-to-epub-template)