generate-pptx
SKILL.md
Generate PPTX
按“环境准备 -> 需求澄清 -> 页纲确认 -> 逐页 SVG 生成 -> 打包 PPTX”的顺序工作。
Workflow
1. Prepare the Python environment
先检查当前命令是否运行在虚拟环境里:
- 如果当前已经在虚拟环境中,直接复用当前解释器
- 如果当前不在虚拟环境中,在 skill 根目录下创建
.venv - 无论复用哪个解释器,都要确保装有
python-pptx
优先运行:
python skills/generate-pptx/scripts/ensure_skill_env.py