gzh2c

Unified lecture-to-slide entry skill. Converts lecture materials/teaching design/docx/pdf together with a PPT template into editable PPT slides, automatically detecting elementary school math (including decimals, grades 3–5, teaching designs and matching slides) or Guangzhou advanced physics/high-school physics (advanced physics, grades 10–12 physics, mechanics, electromagnetism, physics formula problems) and routing to the corresponding rules. Intended for tasks such as “lecture to slides,” “generate slides from template,” “elementary math slides,” “decimal slides,” “advanced physics slides,” “high-school physics slides,” and “fix slide layout/formulas/figures.”

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gzh2c" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b28137f5915c184e1064c2cea40787aa8714eab3b1c16159386bfa1f68cde12f. Verify the upstream source and version against https://skillhub.cn/skills/user_72af37e3/gzh2c before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Unified lecture-to-slide entry skill. Converts lecture materials/teaching design/docx/pdf together with a PPT template into editable PPT slides, automatically detecting elementary school math (including decimals, grades 3–5, teaching designs and matching slides) or Guangzhou advanced physics/high-school physics (advanced physics, grades 10–12 physics, mechanics, electromagnetism, physics formula problems) and routing to the corresponding rules. Intended for tasks such as “lecture to slides,” “generate slides from template,” “elementary math slides,” “decimal slides,” “advanced physics slides,” “high-school physics slides,” and “fix slide layout/formulas/figures.”

0 Downloads

Introduction source: third_party · user_72af37e3 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: handout-to-courseware
description: 统一讲义转课件入口 skill。用于把讲义/教学设计稿/docx/pdf 与 PPT 模板转成可编辑课件 PPT,并自动识别小学数学(小数、小学数学、教学设计稿、对应课件P、三四五年级数学)或广州高物/高中物理(高物、高一/高二/高三物理、力学、电磁学、物理公式题)后路由到对应专用规则。适用于用户要求“讲义转课件”“基于模板生成课件”“小学数学课件”“小数课件”“高物课件”“高中物理课件”“修正课件排版/公式/题图”等任务。

统一讲义转课件入口

核心定位

先识别学科与资料形态,再进入对应专用 skill:

用户请求 + 文件名/路径/正文线索
  ├─ 小学数学 / 小数 → routes/primary-math/SKILL.md
  └─ 广州高物 / 高中物理 → routes/gaowu/SKILL.md

不要在入口层直接生成 PPT。入口层只做分流、共享验收和冲突处理;具体生成、修复和验收必须按路由后的子 skill 执行。

路由规则

路由到小学数学

满足任一强信号时,使用 routes/primary-math/SKILL.md:

  • 用户说“小学数学”“小数课件”“小数讲义转课件”“三年级/四年级/五年级数学”“小学课件生成”。
  • 输入包含“教学设计稿”“教学设计”“对应课件P”“对应课件 P”“师:/生:”“教学环节”等字段。
  • 输入组合是“讲义 docx + 教学设计稿 docx + PPT 模板 pptx”。
  • 讲义或设计稿主题是分解质因数、牛吃草、必胜策略、递推计数、凑整/小数运算等小学数学内容。

执行前必须完整读取:

routes/primary-math/SKILL.md

并把其中的脚本路径按该文件所在目录解析,例如:

python3 routes/primary-math/scripts/parse_handout.py ...
python3 routes/primary-math/scripts/parse_teaching_design.py ...
python3 routes/primary-math/scripts/render_pptx.py ...

小学数学硬规则:不创造教学内容;严格按教学设计稿的“对应课件 P”拆页;正文字体优先保持微软雅黑 24 号;故事、思考题、笔记来自教学设计稿,例题/练习来自讲义。

路由到高物/高中物理

满足任一强信号时,使用 routes/gaowu/SKILL.md:

  • 用户说“高物”“高中物理”“高一物理”“高二物理”“高三物理”“广州高中物理”。
  • 文件路径或文件名包含“高一/高二/高三”“物理”“广州高中物理”“PPT模版”“参考讲义”。
  • 讲义主题是力、弹力、摩擦力、共点力平衡、力的合成、运动学、电场、磁场、交流电等高中物理内容。
  • 用户要求检查公式、根号、分式、题图透明底、题目角标、物理题图/选项排版。

执行前必须完整读取:

routes/gaowu/SKILL.md

并把其中的脚本路径按该文件所在目录解析,例如:

python3 routes/gaowu/scripts/fix_courseware_layout.py ...
python3 routes/gaowu/scripts/audit_pptx.py ...

高物硬规则:不能把讲义整页截图塞进 PPT;公式必须保持讲义原式并用公式对象/OMML/可靠公式渲染;题干、选项、题图不得重叠或出框;模板资产不能误删。

冲突和不确定

  • 若用户同时提供小学数学和高物文件,先说明识别到两个任务,并分别路由处理;不要混用模板和脚本。
  • 若“ 小数 ”只表示数学概念但没有小学课件线索,检查文件名、教学设计稿、年级和模板;仍不明确时只问一句:“这是小学数学课件还是高中物理课件?”
  • 若用户明确指定路由,以用户指定为准。
  • 若输入缺少某一路由必需文件,小学数学通常缺教学设计稿时要提示;高物通常缺模板或讲义时要提示。

共享生成原则

  • 使用 ppt-script-fix 的闭环:定位根因 → 修改脚本/结构 → 生成 PPT → 程序化审查 → 抽查代表页。
  • 输出必须是可编辑 .pptx,不要把 PDF/Word 整页图片当主体。
  • 最高优先级:不得文本重叠、图文重叠、文本出框、题目贴边、莫名换行。
  • 在不重叠、不出框的前提下,排版应紧凑;不要为了留白而空行,也不要把可一行容纳的选项强行换行。
  • 模板背景、装饰、题号框、页脚页码、图案和原有布局属于模板资产,不能因为换内容而删掉。
  • 生成后必须运行对应路由的审查脚本;审查失败时回到子 skill 修复,不要交付半成品。

交付说明

最终回复只说明:

  • 使用了哪个路由:小学数学或高物。
  • 输出 PPTX 的本地路径。
  • 已做的关键审查:页数/题号覆盖、重叠出框、公式/题图/模板保真等。
  • 若无法完成某项审查,明确说明原因。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 针对教育场景的讲义转课件需求,功能定位明确
  • 支持小学数学和高中物理两大主流学科,覆盖广泛
  • 提供完整的路由机制和专用处理流程
Trigger Precision92/100

Highlights

  • 触发词覆盖全面,包含多种用户表达方式
  • 边界清晰,能有效区分小学数学和高中物理场景
  • description 位置正确,内容完整
Structure and Standards95/100

Highlights

  • 文档结构完整,包含核心定位、路由规则、冲突处理等关键章节
  • Phase 划分清晰,步骤说明详细
  • frontmatter 完整,文档长度适中
Execution Reliability90/100

Highlights

  • 脚本路径明确,参数说明清晰
  • 覆盖主要异常情况的处理机制
  • 强调审查机制和闭环修复流程,确保输出质量
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.