图书转学习手册生成器

SKILL效率
效率 未标注权限 许可证不明确
安装这个技能

图书转换学习手册 (Book to Study Manual): 把图书、学习资料、教材一键转换为独立、自包含的纯静态 HTML 学习手册——零依赖、零构建、双击或托管即开,内置三级目录、阅读进度、离线全文搜索,并支持单章/多选/整本一键另存为 PDF。Use it for requests like "把教材做成可双击打开的学习手册", "把学习资料转成独立 HTML 网页", "纯静态文档站加全文本搜索和导出PDF".

一句话选型结论

按资料字段整理

图书转学习手册生成器是效率类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类效率 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_c7c66e2d/study-manual-generator
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

效率
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_c7c66e2d仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量9.4 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
整理待办与日程

把零散任务收进清单,排出优先级。

批量处理重复任务

把固定动作做成模板,重复执行。

把流程写成清单

把口头流程整理成可复用的步骤。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在效率场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
图书转学习手册生成器当前 未标注权限 未标注 未标注 未标注 有
Nano PDF 文档 联网访问 ClawHub 市场 424.9 万 OpenClaw 有
自动更新程序 浏览器控制 ClawHub 市场 296.4 万 OpenClaw 有
Gemini 助手 联网访问 ClawHub 市场 254.7 万 OpenClaw 有
word DOCX 文档 联网访问 ClawHub 市场 239.6 万 OpenClaw 有
Excel XLSX 前端 联网访问 ClawHub 市场 227.0 万 OpenClaw 有

SKILL.md 全文

9.4 KB
模型实际读到的说明书原文,来自技能仓库

图书转换学习手册 (Book to Study Manual)

Build a fully static HTML+CSS+vanilla-JS site that works by double-clicking index.html
(file://) or being hosted on any static server, with zero dependencies, zero build, and
zero SVG. The architecture generalizes to any book, textbook, or study material organized as
a chapter/section/leaf structure (or any nested outline of topics).

Hard constraints (enforce from the start)

  • Zero dependencies / zero build. Only HTML, CSS, and vanilla JS. No npm, no bundler,
    no CDN. All script tags are local files. Works under the file protocol by double-click.
  • No SVG anywhere. No svg tags, no .svg files, no css svg urls. Use CSS shapes
    (gradients, border-radius, box-shadow), Unicode glyphs (★ ● ◆ ✚ → ↑), and bitmap
    illustrations (.jpg/.png). Verify with grep: search for "svg" across the tree and expect nothing.
  • Bitmaps only for illustrations. AI-generated or public-domain realistic photos;
    never AI-generated human portraits (use metaphor objects instead). Keep per image small
    (resize width ~720, quality ~62) to stay within any subpackage size limits.
  • Images are optional. A fully image-free variant is supported — see §无图片版本 below.
    In that mode assets/img/ is dropped and <img> tags are stripped, but all navigation / search / export still work.
  • Offline search must not use fetch. fetch() is blocked under file:// (CORS).
    Build the search index at build time into a JS file (window.MANUAL_SEARCH) and match with
    local indexOf/RegExp. See references/architecture.md.
  • PDF export goes through the print dialog. A zero-dependency static site cannot
    generate a real .pdf file directly. The "另存为 PDF" path is window.print() with a
    @media print stylesheet that hides toolbars and paginates; the user picks "另存为 PDF"
    as the print destination. Label buttons "另存为 PDF", never "打印".

File layout

index.html              # catalog home (3-level collapse, progress, search box)
c1-1-1.html ...         # one file per "leaf" node (chapter-section-leaf), + intro-N.html
assets/main.css         # design tokens + all component styles
assets/nav.js           # CATALOG data + catalog/search/export/progress logic (window.Manual)
assets/search-data.js   # build-time full-text index (window.MANUAL_SEARCH)
assets/img/*.jpg        # one realistic illustration per page (+ cover.jpg)
print/(chapter).html    # per-chapter print page (intro/c1..c7)
print/full.html         # whole book (all leaves inlined)
print/picker.html       # multi-page picker (checkbox per leaf)

Build generators live in /tmp/ (never in the site) and emit search-data.js and the
print/ pages from nav.js + the content pages. See references/architecture.md.

Workflow

1. Lock the structure

Confirm the source outline (chapters → sections → leaves) and the count of leaf nodes
(EXPECTED). Drive every page filename and the catalog from one CATALOG array so there
are zero 404s. Define a strict per-page module order (e.g. 结论 → 白话 → 案例 → 术语 →
自检题) and a word budget per module before generating pages.

2. Scaffold index + one sample page (lock the look)

Build index.html, main.css (design tokens first), and nav.js with the catalog +
navigation. Generate ONE sample content page, get the visual signed off, then batch the rest
with the same template. Keep class names stable so later CSS edits don't break pages.

3. Generate the leaf pages

Batch the remaining pages. For each: Manual.initPage(id, returnTargetUrl) renders breadcrumb +
prev/next pager + marks read. Keep initPage(id) identical to the CATALOG leaf id.

4. Offline full-text search

Generate assets/search-data.js at build time: for each leaf, store
{id,title,chapter,section,conclusion,fulltext} (fulltext = stripped main.page inner text).
On every page inject a search box + results container and load search-data.js
before nav.js; call initSearch() from initPage. Match title+chapter+section+fulltext
with AND multi-term, highlight with mark tags, show a snippet around the first hit. Empty query
restores the catalog tree.

5. PDF export (chapter / picker / full)

Generate print/ pages that inline each leaf's main body. Print pages carry a
.no-print toolbar with a 📄 另存为 PDF button calling window.print(). @media print
hides .no-print, paginates each leaf (page-break-after: always), and expands answers.
picker.html adds a checkbox per leaf + pickExport() that hides un-checked blocks then
prints. Wire a top-bar details.export-wrap dropdown (导出本章 / 自选多页 / 导出整本)
and matching home-page entry buttons.

6. Polish & known bugs (fix proactively)

  • Catalog won't re-open after Return: never re-bind click listeners on re-render.
    Bind catalog events ONCE in initIndex after the first renderCatalog; let
    expandAncestors/expandAll/collapseAll re-render without re-binding.
  • Fixed progress label overlaps content: give body { padding-top: 38px } so the
    fixed progress bar + label float in reserved space; add white-space: nowrap to the label.
  • Dropdown menu stays open / blocks clicks: close details.export-wrap on outside click,
    Escape, and on menu-link click (see closeExportMenus in references/architecture.md).
  • Search results container hidden by display:flex: add .search-results[hidden]{display:none!important}
    and toggle visibility via style.display, not just the hidden attribute.

7. Build & publish

Copy site files into a clean _publish/ EXCLUDING .workbuddy/, generated-images/, and any
*.bak/img-prompts.md (private). Then deploy with workbuddy_sites_deploy
(directory=_publish, language=static). Re-publishing the same dir reuses the sandbox and
keeps the link stable. Verify index.html, search-data.js, nav.js, main.css, every
print/*.html, and a sample content page return 200.

8. 无图片版本(可选)

有些场景(纯文本离线阅读、低带宽、无障碍、极致轻量)希望去掉所有插图。本 skill 支持在生成完
标准手册后,单独产出一个无图片版本:

  • 产出目录:_publish-noimg/(与 _publish/ 结构一致,只是不含 assets/img/)。
  • 处理规则(可让 agent 按此规则手工处理,或用 scripts/make_noimg.py):
    1. 复制整站,排除 assets/img/ 目录。
    2. 删除所有 <img ...> 标签;<figure class="figure"> 内的 <figcaption> 文字保留,
    变成纯文字图注(复用已有 .figure 样式)。
    3. 删除图片相关 meta/link:og:image、apple-touch-icon、rel="icon"、rel="manifest"
    (无图版不需要图标与 manifest)。
    4. CSS / JS / 搜索索引 search-data.js / 打印页 print/ 全部原样保留——搜索、进度、导出 PDF 照常可用。
  • 运行:python3 scripts/make_noimg.py --src _publish --dst _publish-noimg
  • 部署:对 _publish-noimg/ 单独执行一次 workbuddy_sites_deploy
    (目录不同 → 得到另一个独立链接,不会覆盖有图版)。

Verification checklist

  • grep -rn "svg" . returns nothing.
  • Leaf file count == EXPECTED == CATALOG leaf id count (zero 404).
  • node --check assets/nav.js passes.
  • Search: a term known only from body text returns the right pages; snippet sits on the hit.
  • Export: each print page opens; window.print() fires from the button; picker hides
    un-checked leaves.
  • Progress label + dropdown do not overlap or block content.

See references/architecture.md for the concrete CATALOG schema, nav.js API, search-data
schema, and print-page CSS. Use the flat boilerplate files (index.html, page.html, assets/main.css, assets/nav.js, assets/search-data.js) as a starting scaffold.

常见问题

5 问
答案由本站依据条目字段整理
图书转学习手册生成器怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_c7c66e2d/study-manual-generator。安装方式为未标注。装完刷新技能列表或重开客户端。

图书转学习手册生成器支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

图书转学习手册生成器权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

图书转学习手册生成器收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

图书转学习手册生成器用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。