humanize-to-guizang

Chains LearnPrompt/humanize-ppt (AST talk outline + per‑slide media decisions + production brief + presentation checkup) with guizang-ppt-skill (single‑file HTML slide deck / editable .pptx renderer) into a reusable Chinese presentation PPT production pipeline. Used when users say things like “use humanize to make PPT”, “humanize→guizang”, “turn material into a speakable deck”, or “outline first then render to HTML/PPTX”. This skill orchestrates the two installed skills and runs the brief→render→checkup three‑stage flow without duplicating their internal logic.

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 "humanize-to-guizang" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cad8f0a0799ab60aea2d056af28b2a0bd0f8b6490857e46039473076a4440a37. Verify the upstream source and version against https://skillhub.cn/skills/user_437f7810/humanize-to-guizang 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

Chains LearnPrompt/humanize-ppt (AST talk outline + per‑slide media decisions + production brief + presentation checkup) with guizang-ppt-skill (single‑file HTML slide deck / editable .pptx renderer) into a reusable Chinese presentation PPT production pipeline. Used when users say things like “use humanize to make PPT”, “humanize→guizang”, “turn material into a speakable deck”, or “outline first then render to HTML/PPTX”. This skill orchestrates the two installed skills and runs the brief→render→checkup three‑stage flow without duplicating their internal logic.

0 Downloads

Introduction source: third_party · user_437f7810 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: humanize-to-guizang
description: 把 LearnPrompt/humanize-ppt(AST 演讲大纲 + 逐页媒体决策 + 生产简报 + 演讲体检)与 guizang-ppt-skill(单文件 HTML 网页 PPT / 可编辑 .pptx 渲染器)串成一条可复用的中文 演讲 PPT 生产流水线。当用户说"用 humanize 做 PPT""humanize→guizang""把材料做成能讲的 deck""先出大纲再渲染成 HTML/PPTX"时使用。本 skill 负责编排两个已装技能、跑通 brief→render→checkup 三段式,不重复它们内部逻辑。
slug: humanize-to-guizang
displayName: Humanize→Guizang 演讲PPT流水线
summary: 把 humanize-ppt 的 AST 大纲/生产简报与 guizang-ppt-skill 的中文 HTML/PPTX 渲染串成一条可复用的中文演讲 PPT 流水线(brief→render→checkup)。
version: 1.0.0
author: WorkBuddy-local
license: MIT
origin: workbuddy-user-crafted
display_name: Humanize→Guizang 演讲 PPT 流水线
display_name_en: Humanize to Guizang Pipeline
description_zh: humanize-ppt 出 AST 大纲与生产简报,guizang-ppt-skill 渲染成单文件 HTML 或可编辑 .pptx 的中文演讲 PPT 流水线。
description_en: Orchestrates humanize-ppt (AST outline + brief + checkup) with guizang-ppt-skill (HTML/PPTX renderer) into one reusable Chinese-presentation pipeline.
visibility: public
depends_on_skills:
  humanize-ppt: 必装。产生 AST 大纲、逐页媒体决策、生产简报(commands/guizang-agent.md)。本机路径 ~/.workbuddy/skills/humanize-ppt/
  guizang-ppt-skill: 必装。下游渲染器,输出单文件 HTML 或 .pptx。本机为 guizang-ppt-skill__skillhub(~/.workbuddy/skills/guizang-ppt-skill__skillhub/)

Humanize → Guizang 演讲 PPT 流水线

把两个已装技能串成一条"输入材料 → 能讲的 PPT"流水线。

  • humanize-ppt:不做渲染。它把原始材料 → AST 观众状态转移大纲 → 逐页视觉增强决策 → 生产简报(commands/guizang-agent.md + 一整套 AST 文件)。它也不是 Web 应用,是本地 Python CLI(仅标准库,零第三方依赖)。
  • guizang-ppt-skill:下游渲染器。读 humanize 的生产简报,按 guizang 模板产出 单文件 HTML 网页 PPT 或 可编辑 .pptx。

边界铁律:humanize 自己绝不渲染页面,只到"生产简报"为止。真出 PPT 这一步由本流水线调用 guizang 完成。详见 references/workflow.md。

三段式流程

[材料] → ① Brief(humanize) → ② Render(guizang) → ③ Checkup(humanize --qa-from)
            AST 大纲 + 简报           HTML 单文件 / .pptx        演讲体检(揪出只能看不能讲的页)

阶段 0 · 前置确认(动手前必做)

确认两个技能已安装:

ls ~/.workbuddy/skills/humanize-ppt/SKILL.md            # 必须存在
ls ~/.workbuddy/skills/guizang-ppt-skill__skillhub/SKILL.md   # 必须存在(__skillhub 变体)

若缺 guizang,本流水线无法产出真实 PPT——只能停在简报阶段,需提示用户先安装 guizang-ppt-skill。

.pptx 导出前置(仅当阶段 2 要出 PPTX 时):

# 用 WorkBuddy 管理的 python3.13 装 python-pptx(隔离环境,勿污染系统)
PY="$HOME/.workbuddy/binaries/python/versions/3.13.12/python.exe"
"$PY" -m venv "$HOME/.workbuddy/binaries/python/envs/default"   # 已存在可跳过
"$PY" "$HOME/.workbuddy/binaries/python/envs/default/bin/pip" install python-pptx

阶段 1 · Brief(humanize-ppt 出大纲 + 简报)

用管理版 Python 跑(路径用正斜杠或 Windows 绝对路径,不要在 Git Bash 里用反斜杠):

PY="$HOME/.workbuddy/binaries/python/versions/3.13.12/python.exe"
HUMANIZE="$HOME/.workbuddy/skills/humanize-ppt"
cd "$HUMANIZE"
"$PY" scripts/humanize_ppt.py \
  --source "D:/path/to/material.md" \
  --out "D:/path/to/out" \
  --renderer guizang \
  --title "你的 deck 标题" \
  --no-render

关键参数:

  • --renderer guizang:锁定中文 HTML 路线,产出 commands/guizang-agent.md 作为渲染入口。
  • --no-render:humanize 本身不渲染,必须加(否则它会尝试调下游但本环境不自动跑)。
  • --out:输出目录会被 humanize 清空重建,只在该目录为空/不存在/已是 Humanize 产物时。

跑完校验产物(缺一不可):

  • ast_outline.md — 观众状态转移大纲(每页推进观众的哪一步)
  • slide_plan.json — 逐页计划(标题/信息/可见内容/媒体决策/layout_hint)
  • commands/guizang-agent.md — 渲染权威契约,写明读取哪些 AST 文件、写到 outputs/guizang-rendered、用哪个 guizang 风格/主题

阶段 2 · Render(guizang-ppt-skill 出 HTML/PPTX)

读取 commands/guizang-agent.md 作为入口,再按 guizang 的 SKILL.md 执行:

  1. 风格选择(问用户,或按内容推荐):
    • 风格 A 电子杂志风(默认,人文/行业/商业发布)→ assets/template.html
    • 风格 B 瑞士国际主义风(科技/数据/工程)→ assets/template-swiss.html
  2. 拷模板到目标目录 ppt/index.html,同级建 images/。
  3. 选主题色(风格 A 5 套 / 风格 B 4 套,只能选预设,不允许自定义 hex)。
  4. 严格按 guizang 的 layouts.md / layouts-swiss.md 填内容——不要从零写 slide,类名以模板 <style> 为唯一来源(缺类整页崩)。
  5. 把 humanize 的 slide_plan.json 每页 visible_content + speaker_intent 落到对应 guizang 布局骨架。

输出 HTML(无需服务器,浏览器直接打开):

ppt/index.html   ← 单文件横向翻页 deck

若要可编辑 .pptx(PowerPoint/WPS 二次编辑):

GZ="$HOME/.workbuddy/skills/guizang-ppt-skill__skillhub"
# 方案 A:Python 脚本(无需浏览器,★☆☆ 精度,按类名推断)
"$PY" "$GZ/scripts/html_to_pptx.py" "ppt/index.html" "ppt/output.pptx" A 墨水经典
# 风格 B 用:B IKB蓝

浏览器高精度方案(Playwright + pptxgenjs,★★★★★)见 guizang references/pptx-guide.md,需 npm install + npx playwright install chromium,本环境按需启用。

阶段 3 · Checkup(humanize 演讲体检,可选但推荐)

渲染完把真实产物回灌 humanize 跑"演讲体检",揪出"只能看不能讲"的页:

"$PY" scripts/humanize_ppt.py --qa-from "D:/path/to/out/outputs/guizang-rendered/index.html" \
  --out "D:/path/to/out" --renderer guizang

每轮产出 qa_report.md + fix_prompt.md,最多 3 轮;仍有失败会标记 needs-human。把 fix_prompt.md 交给 guizang 重渲对应页即可。

触发语

  • "用 humanize 做一份中文演讲 PPT"
  • "humanize→guizang 跑一下这份材料"
  • "先出 AST 大纲,再渲染成 HTML/PPTX"
  • "给这份 deck 做演讲体检"

关键坑点(已实测)

  1. humanize 不渲染:必须本流水线补 guizang 渲染这一段,否则只拿到简报。
  2. 路径分隔符:在 Git Bash 下 --source/--out 用正斜杠或 Windows 绝对路径(D:/x/...),反斜杠 \ 会被当成转义导致 "Source not found"。
  3. Python 解释器:必须用管理版 3.13.12/python.exe,且 humanize 脚本零三方依赖(仅标准库),无需 venv/pip。但 guizang 的 .pptx 导出要 python-pptx,如上装。
  4. git 直连 github.com 在沙箱被拦:若要从源仓库更新 humanize/guizang,需用户本地下载解压后同步到 ~/.workbuddy/skills/,不要依赖 git clone。
  5. guizang 风格 A/B 互斥:一份 deck 只选一套模板 + 一套主题色,不能混用类名。

依赖技能路径(本机实测)

技能 路径
humanize-ppt ~/.workbuddy/skills/humanize-ppt/
guizang-ppt-skill ~/.workbuddy/skills/guizang-ppt-skill__skillhub/
管理版 Python ~/.workbuddy/binaries/python/versions/3.13.12/python.exe

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

  • 将 humanize-ppt 与 guizang-ppt-skill 串联成端到端中文演讲 PPT 流水线,解决实际生产痛点
  • 明确区分 brief→render→checkup 三段式职责,避免功能重复
Trigger Precision85/100

Highlights

  • 触发语覆盖典型使用场景(如"用 humanize 做 PPT"、"先出大纲再渲染")
  • 边界清晰,强调依赖已装技能,不混淆功能
Structure and Standards92/100

Areas to improve

  • 缺少显式 When to Use 章节 Reported severity: Minor

    文档内容已包含使用场景说明,但未使用标准章节标题

    Recommendation: 建议添加显式 "## When to Use" 章节以提升规范性

Highlights

  • Phase 划分清晰(阶段 0/1/2/3),流程完整
  • 提供端到端命令示例与关键参数说明
  • Frontmatter 完整,依赖技能路径明确
Execution Reliability88/100

Areas to improve

  • 未显式处理子进程执行失败错误码 Reported severity: Minor

    调用 humanize/guizang 脚本时未说明如何捕获和处理非零退出码

    Recommendation: 建议在阶段 1/2/3 添加错误处理说明(如检查 $? 或 try-catch)

Highlights

  • 工具路径与 Python 版本明确指定,避免环境歧义
  • 覆盖关键异常场景(路径分隔符、依赖缺失、目录清空警告)
  • 提供 .pptx 导出的两种方案及精度说明
Evidence Verifiability (mean of the first four)86/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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 106

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.

Translation pending; see source documentation.

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