这是一个基于意图识别的 PPT 处理工具集。Agent 应根据用户需求自动路由到相应的函数。
> 注意: 在调用以下命令时,请确保使用脚本的完整路径(相对于项目根目录或绝对路径)。
当用户提供主题或简单描述时调用。
node {{SKILL_PATH}}/scripts/chatppt_creator.js create_from_text --text "<主题>" --font_name "<字体>" --color "<颜色>" --language "<语言>" --report "" report 默认为 true,启用在线编辑报告模式。当用户提供详细结构化大纲时调用。
node {{SKILL_PATH}}/scripts/chatppt_creator.js create_from_custom_outline --custom_data '' --font_name "<字体>" --color "<颜色>" --report "" report 默认为 true。当用户提供本地文件(.txt, .docx 等)时:
Read 工具读取文件内容。create_ppt_from_custom_outline 所需的 JSON 格式。create_ppt_from_custom_outline。使用专家级 Prompt 驱动的工作流,生成高质量 Markdown 大纲,解析为 JSON,供审阅与微调后再生成。
node {{SKILL_PATH}}/scripts/chatppt_creator.js create_from_file_with_review --file_path "<本地文件>" --user_prompt "<要求>" --count_1 5 --count_2 3 --language zh-CN
输出 [PROMPT_START]...[PROMPT_END],请用 LLM 生成 Markdown 并保存到文件。
node {{SKILL_PATH}}/scripts/chatppt_creator.js create_from_file_with_review --file_path "<本地文件>" --user_prompt "<要求>" --count_1 5 --count_2 3 --language zh-CN --markdown_path "
输出 [OUTLINE_REVIEW_START]...[OUTLINE_REVIEW_END]。
准备补丁 JSON(支持 remove_catalog/rename_catalog/remove_sub_catalog/rename_sub_catalog),执行:
node {{SKILL_PATH}}/scripts/chatppt_creator.js apply_outline_patch --json_path "
仅在用户明确表示“可以生成”后,执行:
node {{SKILL_PATH}}/scripts/chatppt_creator.js generate_from_outline --json_path "
report 默认为 true。自动分析当前 AI 编码项目的架构 and 技术栈,生成项目总结或汇报 PPT。
node {{SKILL_PATH}}/scripts/chatppt_creator.js create_from_project_analysis --project_path "<项目绝对路径>" --user_prompt "<汇报重点>"为已有任务生成演讲稿。
node {{SKILL_PATH}}/scripts/chatppt_creator.js add_notes --task_id "" --report "" 在指定位置插入新页面。
node {{SKILL_PATH}}/scripts/chatppt_creator.js insert_page --task_id "" --slide_number "<页码>" --slide_type "<类型>" --text "<内容>" --report "" 更换风格重新生成。
node {{SKILL_PATH}}/scripts/chatppt_creator.js regenerate --task_id "" --font_name "<字体>" --color "<颜色>" --cover_id "<模板ID>" --transition "<1/2>" --report "" 根据标题和风格偏好预览可选的 PPT 模板封面。
node {{SKILL_PATH}}/scripts/chatppt_creator.js preview_covers --title "<标题>" --style "<风格>" --color "<颜色>" --count 4查看历史任务或特定任务的实时生成进度。
node {{SKILL_PATH}}/scripts/chatppt_creator.js check_status --task_id "" node {{SKILL_PATH}}/scripts/chatppt_creator.js check_status (显示最近 10 条记录)> 注意: 此功能生成的 PPT 为图片型幻灯片,拥有极佳的视觉效果,但不支持文本编辑。适用于对设计感要求高、无需二次修改的场景。
获取绘图PPT可用的风格或模板列表。
node {{SKILL_PATH}}/scripts/chatppt_creator.js list_banana_styles --type "