Source: https://github.com/aipoch/medical-research-skills
When to Use
- Converting a research paper PDF into a literature-report PPTX with a standard academic slide structure (title → overview → results → conclusion).
- When the user requires figure-by-figure interpretation (including subpanels) and strict 1:1 mapping between each figure/table and slide content.
- When you must work offline-first (no external API calls) to extract text, figures, legends, and tables from a PDF.
- When the PPT must match a provided layout script (positions, aspect ratios, text boxes) and keep consistent styling across the deck.
- When the output narration must be professional Chinese, concise, and technically accurate.
Key Features
- Offline-first PDF parsing to extract:
- Title, journal, publication date, section text
- Figure images and legends grouped by figure number
- Tables and (optionally) graphical abstract
- Full-paper summary in professional Chinese (background + key findings).
- Results interpretation aligned per figure/subfigure, avoiding vague references.
- PPTX generation with:
- Fixed slide structure (Title / Overview / Figure slides / Final summary)
- Layout constraints matching a v5-style deck (coordinates, font sizes)
- Consistent panel-label styling and per-deck label color
- Per-figure slide “Summary:” one-liner
- Integration guidance for PPTX editing via
D:\\SKILL\\project\\PPTX\\SKILL.md.
Dependencies
- Local offline parsing workflow:
references/offline-parsing.md (version: N/A, repository-local)
- Figure/table interpretation rules:
references/figure-interpretation.md (version: N/A, repository-local)
- PPTX creation/editing skill:
D:\\SKILL\\project\\PPTX\\SKILL.md (version: N/A, local path)
- Optional local mapping file:
figure_titles_zh.txt (version: N/A, user/project-provided)
Example Usage
Input (user request)
Please convert this paper PDF into a literature-report PPT.
Requirements: interpret each figure, keep figure-to-text alignment, and follow the v5 layout rules.
Expected Workflow Output (offline-first → structured → PPTX)
Offline parse the PDF (no external APIs), following references/offline-parsing.md, and produce a local structured package:
- Cleaned metadata text: title, journal/date, headings
- Figure legends grouped by figure number
- Extracted images named:
Figure_1.jpg, Figure_2.jpg, ...
- Graphical abstract image (if present)
- Draft
explication.json aligned to figure order
Write Chinese content:
- Full-paper summary (background + key findings)
- Figure-by-figure Results interpretation (purpose → method → object → outcome)
- Concise critical appraisal (core contributions + internal limitations)
Generate PPTX with the required slide structure and layout constraints:
- Slide 1: Title + metadata (journal/date/presenter/report date)
- Slide 2: Overview (two text boxes; graphical abstract if present)
- Middle slides: one slide per figure/table in original order
- Final slide: overall summary + critical appraisal
Minimal runnable “deck plan” (content-to-slide mapping)
{
"deck_style": {
"language": "zh-CN",
"panel_label_color": "#065A82",
"transition_preset": "fade",
"entrance_preset": "appear"
},
"slides": [
{
"type": "title",
"title": "<Paper Title>",
"meta": {
"journal": "<Journal>",
"publication_date": "<YYYY-MM-DD>",
"presenter": "XXX",
"report_date": "<YYYY-MM-DD>"
}
},
{
"type": "overview",
"background": "<Chinese background summary>",
"findings": "<Chinese key findings summary>",
"graphical_abstract": "Graphical_Abstract.jpg"
},
{
"type": "figure",
"figure_id": "Figure_1",
"title": "Figure 1: <Chinese figure title if available>",
"image": "Figure_1.jpg",
"body_zh": [
"**A** ...",
"**B** ...",
"**Summary:** ..."
]
},
{
"type": "final_summary",
"core_highlights": ["..."],
"internal_limitations": ["..."]
}
]
}
Implementation Details
1) Offline-first PDF collection (must not call external APIs)
Follow references/offline-parsing.md and produce a local structured output containing:
- Cleaned text fields:
title, journal, publication_date
- section headings and key paragraphs (abstract/intro/results)
- Figures:
- images exported and named
Figure_1.jpg, Figure_2.jpg, ...
- legends grouped by figure number
- Tables:
- extracted table content and captions (as text or images, depending on the workflow)
- Graphical abstract:
- capture image and approximate placement if present
- Draft
explication.json:
- ordered by figure appearance
- each entry links legend → image filename → planned slide text blocks
Ignore supplementary items (e.g., Figure S1) unless explicitly requested.
2) Figure/table interpretation rules (Chinese, precise, aligned)
Use references/figure-interpretation.md and enforce:
- 1:1 mapping: every figure/table must be covered by exactly one corresponding slide section (or one slide if required).
- Each result paragraph must be complete:
- experimental purpose → method → object → concrete outcome (increase/decrease, up/down, etc.)
- Avoid vague phrases like “as shown in the figure”.
- Remove any leading
# markers from figure body lines.
- Bold leading panel labels and ranges:
A, A, B, A-C → **A**, **A, B**, **A-C**
- Add a one-sentence line at the end of each figure slide:
**Summary:** <one-sentence key result>
- Style “Summary” like panel labels (bold + label color)
3) Figure titles and localization
- Slide titles should use:
Figure X: <figure title> when a title can be extracted (e.g., from “Figure 1. ...”).
- Convert figure titles to Chinese when possible.
- Prefer a local mapping file
figure_titles_zh.txt if available:
- Format:
Figure_1<TAB>Chinese Title
4) Consistent per-deck styling parameters
- Panel label color: randomly choose one per deck from:
#2C5F2D, #F96167, #065A82, #990011
- Apply the same chosen color across all slides.
- Animations:
- Randomly choose one slide transition preset and one entrance preset per deck
- Keep them consistent across all slides
- Reveal order: title → text → image
5) PPT layout constraints (Match v5 slides)
If a user-provided layout script is accessible, follow it. Otherwise, use the following fixed coordinates (inches) and typography:
- Title slide
- Title box:
(2.0825, 1.796, 9.1683, 1.2), 32pt bold, centered
- Metadata block (left = 4.8673, width = 6.0, height = 0.6):
- Journal: top
4.5049, 18pt
- Presenter/date: top
5.2327 and 5.9049, 16pt
- Overview slide
- Background box:
(0.6, 0.6, 5.8, 6.2)
- Findings box:
(0.6, 3.4, 5.8, 3.4)
- Image:
(7.0, 0.8, 5.8, 5.6)
- Figure slides
- Title:
(0.6, 0.2, 12.0, 0.6), 22pt bold
- Text box:
(0.7749, 1.5102, 4.7498, 2.861), 14pt
- Image:
(7.0, 1.0, 5.8, 5.8)
- Summary slide
- Add borders
- “Core Highlights” box:
(0.6, 0.6, 5.8, 3.0)
- “Internal Limitations” box:
(6.7, 3.9, 6.0, 3.0)
6) PPTX editing integration
When creating or editing a .pptx, also follow the PPTX editing guidelines in:
D:\\SKILL\\project\\PPTX\\SKILL.md
1---2name: pdf-ppt3description: Create literature-report PPTX decks from PDF papers. Use when you must extract a paper’s metadata, summarize the study, interpret Results/Figures/Tables, and generate slides with 1:1 figure-to-text alignment and layout rules (triggered by requests like “PDF to PPT”, “literature report slides”, or “turn this paper into a presentation”).4license: MIT5---6> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
7
8## When to Use
9
10- Converting a research paper **PDF** into a **literature-report PPTX** with a standard academic slide structure (title → overview → results → conclusion).
11- When the user requires **figure-by-figure interpretation** (including subpanels) and strict **1:1 mapping** between each figure/table and slide content.
12- When you must work **offline-first** (no external API calls) to extract text, figures, legends, and tables from a PDF.
13- When the PPT must **match a provided layout script** (positions, aspect ratios, text boxes) and keep consistent styling across the deck.
14- When the output narration must be **professional Chinese**, concise, and technically accurate.
15
16## Key Features
17
18- Offline-first PDF parsing to extract:
19 - Title, journal, publication date, section text
20 - Figure images and legends grouped by figure number
21 - Tables and (optionally) graphical abstract
22- Full-paper summary in professional Chinese (background + key findings).
23- Results interpretation aligned **per figure/subfigure**, avoiding vague references.
24- PPTX generation with:
25 - Fixed slide structure (Title / Overview / Figure slides / Final summary)
26 - Layout constraints matching a v5-style deck (coordinates, font sizes)
27 - Consistent panel-label styling and per-deck label color
28 - Per-figure slide “Summary:” one-liner
29- Integration guidance for PPTX editing via `D:\\SKILL\\project\\PPTX\\SKILL.md`.
30
31## Dependencies
32
33- Local offline parsing workflow: `references/offline-parsing.md` (version: N/A, repository-local)
34- Figure/table interpretation rules: `references/figure-interpretation.md` (version: N/A, repository-local)
35- PPTX creation/editing skill: `D:\\SKILL\\project\\PPTX\\SKILL.md` (version: N/A, local path)
36- Optional local mapping file: `figure_titles_zh.txt` (version: N/A, user/project-provided)
37
38## Example Usage
39
40### Input (user request)
41
42> Please convert this paper PDF into a literature-report PPT.
43> Requirements: interpret each figure, keep figure-to-text alignment, and follow the v5 layout rules.
44
45### Expected Workflow Output (offline-first → structured → PPTX)
46
471. **Offline parse the PDF** (no external APIs), following `references/offline-parsing.md`, and produce a local structured package:
48 - Cleaned metadata text: title, journal/date, headings
49 - Figure legends grouped by figure number
50 - Extracted images named:
51 - `Figure_1.jpg`, `Figure_2.jpg`, ...
52 - Graphical abstract image (if present)
53 - Draft `explication.json` aligned to figure order
54
552. **Write Chinese content**:
56 - Full-paper summary (background + key findings)
57 - Figure-by-figure Results interpretation (purpose → method → object → outcome)
58 - Concise critical appraisal (core contributions + internal limitations)
59
603. **Generate PPTX** with the required slide structure and layout constraints:
61 - Slide 1: Title + metadata (journal/date/presenter/report date)
62 - Slide 2: Overview (two text boxes; graphical abstract if present)
63 - Middle slides: one slide per figure/table in original order
64 - Final slide: overall summary + critical appraisal
65
66### Minimal runnable “deck plan” (content-to-slide mapping)
67
68```json
69{
70 "deck_style": {
71 "language": "zh-CN",
72 "panel_label_color": "#065A82",
73 "transition_preset": "fade",
74 "entrance_preset": "appear"
75 },
76 "slides": [
77 {
78 "type": "title",
79 "title": "<Paper Title>",
80 "meta": {
81 "journal": "<Journal>",
82 "publication_date": "<YYYY-MM-DD>",
83 "presenter": "XXX",
84 "report_date": "<YYYY-MM-DD>"
85 }
86 },
87 {
88 "type": "overview",
89 "background": "<Chinese background summary>",
90 "findings": "<Chinese key findings summary>",
91 "graphical_abstract": "Graphical_Abstract.jpg"
92 },
93 {
94 "type": "figure",
95 "figure_id": "Figure_1",
96 "title": "Figure 1: <Chinese figure title if available>",
97 "image": "Figure_1.jpg",
98 "body_zh": [
99 "**A** ...",
100 "**B** ...",
101 "**Summary:** ..."
102 ]
103 },
104 {
105 "type": "final_summary",
106 "core_highlights": ["..."],
107 "internal_limitations": ["..."]
108 }
109 ]
110}
111```
112
113## Implementation Details
114
115### 1) Offline-first PDF collection (must not call external APIs)
116
117Follow `references/offline-parsing.md` and produce a local structured output containing:
118
119- Cleaned text fields:
120 - `title`, `journal`, `publication_date`
121 - section headings and key paragraphs (abstract/intro/results)
122- Figures:
123 - images exported and named `Figure_1.jpg`, `Figure_2.jpg`, ...
124 - legends grouped by figure number
125- Tables:
126 - extracted table content and captions (as text or images, depending on the workflow)
127- Graphical abstract:
128 - capture image and approximate placement if present
129- Draft `explication.json`:
130 - ordered by figure appearance
131 - each entry links legend → image filename → planned slide text blocks
132
133Ignore supplementary items (e.g., `Figure S1`) unless explicitly requested.
134
135### 2) Figure/table interpretation rules (Chinese, precise, aligned)
136
137Use `references/figure-interpretation.md` and enforce:
138
139- **1:1 mapping**: every figure/table must be covered by exactly one corresponding slide section (or one slide if required).
140- Each result paragraph must be complete:
141 - experimental purpose → method → object → concrete outcome (increase/decrease, up/down, etc.)
142- Avoid vague phrases like “as shown in the figure”.
143- Remove any leading `#` markers from figure body lines.
144- Bold leading panel labels and ranges:
145 - `A`, `A, B`, `A-C` → `**A**`, `**A, B**`, `**A-C**`
146- Add a one-sentence line at the end of each figure slide:
147 - `**Summary:** <one-sentence key result>`
148 - Style “Summary” like panel labels (bold + label color)
149
150### 3) Figure titles and localization
151
152- Slide titles should use: `Figure X: <figure title>` when a title can be extracted (e.g., from “Figure 1. ...”).
153- Convert figure titles to Chinese when possible.
154- Prefer a local mapping file `figure_titles_zh.txt` if available:
155 - Format: `Figure_1<TAB>Chinese Title`
156
157### 4) Consistent per-deck styling parameters
158
159- Panel label color: randomly choose **one** per deck from:
160 - `#2C5F2D`, `#F96167`, `#065A82`, `#990011`
161- Apply the same chosen color across all slides.
162- Animations:
163 - Randomly choose one slide transition preset and one entrance preset per deck
164 - Keep them consistent across all slides
165 - Reveal order: title → text → image
166
167### 5) PPT layout constraints (Match v5 slides)
168
169If a user-provided layout script is accessible, follow it. Otherwise, use the following fixed coordinates (inches) and typography:
170
171- **Title slide**
172 - Title box: `(2.0825, 1.796, 9.1683, 1.2)`, 32pt bold, centered
173 - Metadata block (left = 4.8673, width = 6.0, height = 0.6):
174 - Journal: top `4.5049`, 18pt
175 - Presenter/date: top `5.2327` and `5.9049`, 16pt
176- **Overview slide**
177 - Background box: `(0.6, 0.6, 5.8, 6.2)`
178 - Findings box: `(0.6, 3.4, 5.8, 3.4)`
179 - Image: `(7.0, 0.8, 5.8, 5.6)`
180- **Figure slides**
181 - Title: `(0.6, 0.2, 12.0, 0.6)`, 22pt bold
182 - Text box: `(0.7749, 1.5102, 4.7498, 2.861)`, 14pt
183 - Image: `(7.0, 1.0, 5.8, 5.8)`
184- **Summary slide**
185 - Add borders
186 - “Core Highlights” box: `(0.6, 0.6, 5.8, 3.0)`
187 - “Internal Limitations” box: `(6.7, 3.9, 6.0, 3.0)`
188
189### 6) PPTX editing integration
190
191When creating or editing a `.pptx`, also follow the PPTX editing guidelines in:
192
193- `D:\\SKILL\\project\\PPTX\\SKILL.md`