Courseware Cn Annotator
当用户说“做成学习包”(例如“把这份课件做成学习包”)时,使用本技能。把课件、讲义或课堂 PPT 的 PDF 一次性做成中文学习包:逐页中文翻译、面向零基础读者的三问式逐页注释(这页在说什么、为什么、怎么用)、可直接编辑的 Markdown 源稿、离线单文件 HTML 电子书(分组目录、全文搜索、注释与原图开关、深色主题、键盘翻页、深链)、A4 打印 PDF、使用说明,以及一到两篇学科速查附录。用户提供课件 PDF 并提到翻译、逐页讲解、注释版、电子书、可打印讲义、复习资料、速查表等任一需求时,也使用本技能,即使没有明确说“技能”。默认一次产出全套,用户明确只要其中某几项时才裁剪。
Install
npx skills add youngman2007/courseware-cn-annotator --skill courseware-cn-annotatorgit clone --depth 1 https://github.com/youngman2007/courseware-cn-annotator.git /tmp/courseware-cn-annotator
mkdir -p ~/.claude/skills
cp -r /tmp/courseware-cn-annotator/. ~/.claude/skills/courseware-cn-annotatorPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 课件中文注解学习包
把一份课件 PDF 变成学生能自学的完整资料:**逐页翻译 + 逐页注释 + 离线网页 + 打印版 + 速查附录**。
流程是固定的,质量取决于两件事:**有没有看图**、**注释有没有说清为什么和怎么用**。
## 成品
默认一次产出五件套(用户明确只要其中几项时才裁剪):
```
<工作目录>/
courseware.json 配置(脚本唯一入口)
<title>_中文翻译与注释.md 主 Markdown(可编辑源稿)
_out/part01.md … 分批写作源文件
_extract/pNNN.txt, index.json 逐页文本与扫描页标记
网页版电子书/
index.html 离线单文件网页
slides/pNNN.png 逐页原图
<title>(原课件图+译文+注释).pdf
使用说明.txt
_verify/ 自检截图与 PDF 抽样图
```
附录默认 1–2 篇:**A 速查表**(公式/规则/术语),**B 用法速记**(解题步骤/答题模板/决策流程)。
没有公式的学科,A 改成术语表 + 时间线/框架,B 改成答题模板或案例分析步骤。
## 开工前
```bash
SKILL="$HOME/.claude/skills/courseware-cn-annotator"
python -c "import pymupdf; print('pymupdf ok')"
```
- **输入必须是 PDF。** 只有 PPTX 时,先让用户用 PowerPoint“另存为 PDF”,或用
`soffice --headless --convert-to pdf 课件.pptx` 转换,再处理;不要直接解析 PPTX。
- 先确认页数、是否加密、前几页有没有文本层:
```bash
python - "$PDF" <<'PY'
import sys, pymupdf
d = pymupdf.open(sys.argv[1])
print("pages:", d.page_count, "encrypted:", bool(d.needs_pass))
for i in range(min(5, d.page_count)):
print(i + 1, len(d[i].get_text("text").strip()))
PY
```
- 加密且无密码:停下,请用户提供无密码版本。
- 前几页字符数接近 0:大概率是扫描版;仍可做,但必须逐页看渲染图转写。
- **绝不凭文字层想象图上的标注。** 看不清就写“以讲义为准”,并在报告中说明。
## 主工作流
### 1. 建工作目录
工作目录放在 PDF 旁边,单独一层,避免污染原文件夹:
```bash
PDF="/path/to/课件.pdf"
WORK="/path/to/课件_学习包"
python "$SKILL/scripts/scaffold.py" --pdf "$PDF" --workdir "$WORK" \
--title "第 1 章 数字逻辑基础"
```Details
- Skill name
courseware-cn-annotator- Repository
- youngman2007/courseware-cn-annotator
- License
- MIT
- Repo updated
- 27 October 2026
FAQ
What does the Courseware Cn Annotator skill do?
当用户说“做成学习包”(例如“把这份课件做成学习包”)时,使用本技能。把课件、讲义或课堂 PPT 的 PDF 一次性做成中文学习包:逐页中文翻译、面向零基础读者的三问式逐页注释(这页在说什么、为什么、怎么用)、可直接编辑的 Markdown 源稿、离线单文件 HTML 电子书(分组目录、全文搜索、注释与原图开关、深色主题、键盘翻页、深链)、A4 打印 PDF、使用说明,以及一到两篇学科速查附录。用户提供课件 PDF 并提到翻译、逐页讲解、注释版、电子书、可打印讲义、复习资料、速查表等任一需求时,也使用本技能,即使没有明确说“技能”。默认一次产出全套,用户明确只要其中某几项时才裁剪。
How do I install the Courseware Cn Annotator skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add youngman2007/courseware-cn-annotator --skill courseware-cn-annotator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Courseware Cn Annotator popular?
It lives in youngman2007/courseware-cn-annotator, which has 5 GitHub stars and 0 forks.
Related skills
Deck Kit
5kiselas/every-slide-is-code
Presentation decks as code — pitch decks, product launches, idea pitches, board and quarterly reviews, tech talks. One self-contained HTML file with animated charts, diagrams, builds and cinematic transitions (camera moves, morph, zoom, iris, tear, dissolve), a presenter view, and static PDF/PPTX exports. Use whenever someone wants to present an idea, product, plan or result as slides, or asks for a deck, keynote, pitch or presentation that should look designed rather than templated.
Concept Forge
5FeixueCode/concept-forge
Convert everyday questions, concepts, keywords, unfamiliar terms, or "what is X / how does X differ from Y" requests into reusable Chinese knowledge cards, Quarkdown mother drafts, Slidev presentation sources, and interactive HTML explainers. Use when the user wants to understand, remember, compare, review, or build a personal knowledge base for concepts; especially for fragmented internet-era knowledge such as tools, methods, acronyms, technical terms, products, workflows, and conceptual questions. The skill researches like a lightweight hv-analysis pass, stores structured JSON plus Quarkdown
Diorama Journey
5nocoo/diorama-journey
Create narrated story videos through connected miniature 3D worlds, with one recurring character, object or signal carrying the story across chapters. Use for isometric diorama explainers, process journeys, project stories or narrated retrospectives that need 3D animation, chapter clips and matching presentation slides. Includes a Remotion and Three.js starter, voice generation, PPTX/PDF/ODP exports and production archives.
Ats Resume Formatting
5msdanyg/ats-resume-skill
Use this skill whenever a resume needs to be formatted, reviewed, or debugged for upload to Workday, Greenhouse, Lever, iCIMS, or any other ATS (applicant tracking system). Trigger on requests like "format my resume for ATS," "is my resume ATS-friendly," "why is Workday leaving fields blank," "clean up my resume for online applications," or "make my resume parse-safe." Also trigger proactively any time a user is building or editing a resume that will be uploaded to a job portal, even if they don't mention "ATS" by name — most resume-formatting requests have this failure mode lurking under the
DOCX Formatter
5CP-here/docx-formatter-skill
将文本或 Markdown 内容排版为专业的中文 Word (.docx) 文档,支持 OMML 数学公式、表格框图、标准排版、引用上标和轻量完整性验证。当用户要求 Word 排版、把 Markdown 或纯文本转成 Word 文档、生成带公式的 Word 文档、用数学方程格式化文档、在 Word 中创建流程图样式图表、将参考文献引用渲染为上标、或格式化文档为 Word 时调用。
Artifact to PDF
5yheshamx/artifact-to-pdf
Convert a Claude artifact (or any URL / exported .html file) into a SINGLE continuous, pixel-accurate PDF with no page cuts — one long page sized to the whole content. Use when the user wants to export, save, download, or "turn into PDF" an artifact, HTML file, or web page, especially as one long page with no page breaks / no pagination.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.