snowmanzhuang/yixueaiganhuo-ppt/yixueaiganhuo-ppt
Claude Code and agent skill by snowmanzhuang/yixueaiganhuo-ppt
- community
Checking that the SKILL.md file is still in the repository.
Use when creating a complete editable medical academic PowerPoint deck from papers, PDFs, Figures, screenshots, or support documents, or when converting an existing visual slide deck/image PDF into editable PPTX. Handles task routing, medical source understanding, Figure inventory, PPT planning, GPT Image 2 slide generation through editppt image, page-worker reconstruction, and final PPTX assembly.
Install
npx vskill@latest install snowmanzhuang/yixueaiganhuo-ppt/yixueaiganhuo-pptSKILL.md
yixueAIganhuo-PPT
yixueAIganhuo-PPT is now the 唯一完整 skill for the end-to-end workflow:
The 统一父 agent in this skill is a scheduler. It creates the task directory, maintains global state, dispatches workers, controls concurrency, collects structured results, and runs deterministic editppt commands. It does not personally absorb full PDF text, every Figure detail, every prompt, OCR details, or page-level manifest.json decisions into its context.
Parent context budget: keep the parent thread limited to routing decisions, worker dispatch, state paths, validation summaries, and final reporting. Do not perform medical PPT planning in the parent thread. The parent must dispatch the 医学上游 worker before reading full source text and must keep structured artifacts only in its own context.
Do not ask the user to approve sub-agent spawning. Once the skill is chosen and prerequisites are satisfied, sub-agent dispatch is part of the workflow. Do not ask for a reply such as a permission phrase; proceed with worker dispatch and report progress.
References
references/single-skill-prd.md: product and architecture baseline for the merged single-skill workflow.references/workflow-overview.md: upstream medical planning DAG.references/prompt-key-selection.md: style key selection and per-slide prompt construction.references/style_selector/: local HTML style selector page and 001-019 template/example preview assets.references/provider-config.md: unifiededitppt imagebackend contract.references/medical-integrated-workflow.md: parent orchestration, worker boundaries, concurrency, incremental page intake, and failure handling.references/cli-helper.md:editpptinstall check and command manual.references/page-decision-tree.md: page-worker object-source decisions.references/manifest-schema.md:editpptrun/page JSON contracts.scripts/start-style-selector.py: launches the local style selector page from the skill bundle.scripts/classify-task-route.py: lightweight helper for initial task-route classification.scripts/validate-slide-prompt.py: full-authoring rich GPT Image 2 prompt gate before slide-image worker dispatch.scripts/validate-slide-ready.py: full-authoring preflight gate before downstream conversion commands.prompts/medical-upstream-worker.md: prompt template for medical planning workers.prompts/medical-slide-image-worker.md: prompt template for single-slide image generation workers.prompts/page-worker.md: prompt template for downstream editable page workers.
Retained Capabilities
The skill keeps the original medical creation value:
- source reading and concise medical summary
- PDF/Figure inventory and evidence Figure selection
- target slide structure and narrative planning
ppt_plan.json- Chinese speaker notes
- page dependencies
- per-slide GPT Image prompt writing
The skill also embeds the downstream editable reconstruction value:
editpptCLI- page worker dispatch
manifest.json- OCR/text hints
- foreground image asset reconstruction
- PPT native element reconstruction
- page validation
- final deck assembly through
editppt run finalize
Deprecated Components
The old yixue text-overlay editable path is deprecated. Do not use legacy OCR/image-repair PPTX scripts as the current execution path. The authoritative editable path is now the embedded editppt page-worker workflow.
Task Routing
Before creating downstream jobs, inspect the user request and input files, then write task_route into task_state.json.
Recommended helper:
Use the helper output as structured guidance, then apply the rules below. If a PDF preview clearly shows title/authors/abstract/body/references, choose FULL_AUTHORING_FROM_SOURCE even when the user says "转 PPTX".
task_route | Use When | Execution | |
|---|---|---|---|
FULL_AUTHORING_FROM_SOURCE | Inputs are source material for a new medical PPT: research PDF, medical paper, report, article, manuscript, guideline, support document, Figure folder, chart image, screenshot evidence, or mixed reference assets. A PDF with title/authors/abstract/body/references or journal-style columns is source material even if the user says "转 PPTX". | Default route. Run the 医学上游 worker first, create ppt_plan.json, generate new 16:9 slide images through editppt image, then send generated slide images to page workers. Do not run editppt prepare on a research/material PDF as the first action. | |
DIRECT_VISUAL_CONVERSION | The user explicitly wants an existing visual slide deck, screenshot set, exported image-only PPT, or already-designed page PDF converted to editable PPTX while preserving the current pages as-is. Clear visual signals include 16:9 slide pages, existing slide titles/layouts, or page screenshots meant to be reconstructed rather than interpreted as evidence. | Skip medical upstream authoring. Run direct visual conversion with editppt prepare on the visual input, then page workers and editppt run finalize. | |
AMBIGUOUS_INPUT | A PDF/image set could plausibly be either source material or an existing visual slide deck after quick inspection. | Ask one concise clarification. Suggested wording: "这份 PDF 是制作医学 PPT 的资料,还是已有幻灯片/截图需要转可编辑 PPTX?" If inspection clearly shows a medical paper/source document, do not ask; choose FULL_AUTHORING_FROM_SOURCE. |
Do not treat a research/material PDF as an existing visual slide deck merely because it is a PDF.
Full Authoring Hard Gate
For FULL_AUTHORING_FROM_SOURCE, the final PPTX is invalid unless every slide passes the complete chain:
prompts/slideNN.txtfollows the rich prompt schema fromreferences/prompt-key-selection.mdand passes:
slides/slideNN.pngis generated byeditppt image generate/edit/batchthrough the 页面生成 worker.slide_results/slideNN.jsonhasstatus: "IMAGE_READY",passed: true, andimage_backend.tool_callshowingeditppt image generate/edit/batch.scripts/validate-slide-ready.pypasses for every generated slide beforeeditppt prepareoreditppt run add-page.- Every page is reconstructed by a page worker, recorded by
editppt run record, and assembled only byeditppt run finalize.
Do not use @oai/artifact-tool, python-pptx, HTML/SVG screenshots, local PIL composition, direct native PPT generation, legacy yixue scripts, or any presentation/PPTX authoring shortcut as a substitute final path. If workers or image backend are unavailable, stop and report the blocker; do not downgrade to a simpler PPTX path.
Preflight Questions Gate
Before dispatching the 医学上游 worker for FULL_AUTHORING_FROM_SOURCE, ask a concise preflight question block unless all required values are already known.
Before showing the block, start the bundled style selector server from this skill and use the printed 点击打开:... URL as {style_selector_url}. Do not automatically open the browser; present the URL in the question block so the user can click it when needed:
If the local server cannot start, use the printed 本地文件兜底:... file URL instead. The launcher resolves paths relative to its own script location, so it works when the whole skill folder is copied to another computer or installed under another username.
The block must start with: "请先回答下面几个问题:"
Use numbered emoji labels only:
If no PaddleOCR-VL token is detected, append the third question:
If a PaddleOCR-VL token is already detected, do not show the OCR prompt; ask only questions 1️⃣ and 2️⃣. The OCR token question is optional and must not block generation if the user chooses to skip.
The page count remains a hard gate. Ask the user for the target slide count before dispatching the 医学上游 worker unless the request already gives an explicit count. Do not default to any page count. Do not offer preset page-count choices. Record the confirmed number in task_state.json as target_slide_count_confirmed and pass it to the upstream worker as TARGET_SLIDE_COUNT.
The style selector is optional. If the user gives a valid selector (001-019, a matching style name fragment, or a style JSON filename/path), record it in task_state.json as style_selector and pass it to the upstream worker as STYLE_SELECTOR. If the user does not choose a style, record and pass STYLE_SELECTOR=001.
If the user gives a range, ask for one concrete number. If the user refuses to decide, stop and ask for a numeric page count; do not silently choose a count and do not present preset options.
Parent Workflow
- Create one task directory, for example
output/yixueAIganhuo-PPT/<run_id>/. - Classify the task with the Task Routing rules and write
task_routetotask_state.json. - If
task_routeisDIRECT_VISUAL_CONVERSION, follow Direct Visual Conversion Workflow below and skip the full-authoring steps 4-15. - Write
task_state.jsonwith run phase, worker ids, per-slide status, paths, retries, concurrency slots,task_route,style_selector, and optionalstyle_selector_url. - Dispatch the 医学上游 worker using
prompts/medical-upstream-worker.md. The parent passesTARGET_SLIDE_COUNTonly aftertarget_slide_count_confirmed=true, and passesSTYLE_SELECTORafter the user chooses a style or the parent defaults it to001; it does not create the PPT outline or slide prompts itself. - Receive only structured upstream artifacts:
source_inventory.jsonfigure_inventory.jsonplans/ppt_plan.jsonprompts/slideNN.txt
- Validate that
ppt_plan.jsonhas one entry per target slide, continuous slide numbers, speaker notes, asset bindings, prompt files, and page dependencies. - Validate every slide prompt before dispatching 页面生成 workers:
Do not dispatch a 页面生成 worker with a summary-style prompt, a prompt that only says "medical academic style", or a prompt that lacks layout geometry, evidence/asset bindings, negative constraints, and continuity rules.
- Configure or verify the unified image backend:
Use editppt config only when API fallback credentials are needed.
- Dispatch 页面生成 worker jobs:
- slide 1 first
- slide 2 after slide 1 exists, with slide 1 as style reference
- slide 3+ after slide 2 exists, with slide 1 and slide 2 as style references
- Every 页面生成 worker must call
editppt image generate/edit/batch. It writesslides/slideNN.pngandslide_results/slideNN.json. - Before the first generated slide enters downstream conversion, run the real slide image preflight:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.md
Popularity
- Repository stars
- 163
- Repository forks
- 32
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/snowmanzhuang/yixueaiganhuo-ppt/yixueaiganhuo-ppt)