重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
pptx-posters by k-dense-ai/claude-scientific-skills
npx skills add https://github.com/k-dense-ai/claude-scientific-skills --skill pptx-posters⚠️ 仅当用户明确要求 PPTX/PowerPoint 海报格式时使用此技能。
对于标准的研究海报,请使用 latex-posters 技能,该技能提供更好的排版控制,并且是学术会议的默认选择。
此技能使用 HTML/CSS 创建研究海报,然后可以导出为 PDF 或转换为 PowerPoint 格式。基于网页的方法提供:
仅在以下情况下使用此技能:
在以下情况下请勿使用此技能:
标准工作流程:在创建 HTML 海报之前,使用 AI 生成所有主要的视觉元素。
这是创建视觉冲击力强的海报的推荐方法:
目标:海报面积的 60-70% 应为 AI 生成的视觉效果,30-40% 为文本。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
⚠️ AI 生成的可视化内容中的所有文本必须具有海报可读性。
为海报生成图形时,您必须在每个提示中包含字体大小规格。海报图形需要在 4-6 英尺外观看,因此文本必须足够大。
每个海报图形的强制性提示要求:
POSTER FORMAT REQUIREMENTS (STRICTLY ENFORCE):
- ABSOLUTE MAXIMUM 3-4 elements per graphic (3 is ideal)
- ABSOLUTE MAXIMUM 10 words total in the entire graphic
- NO complex workflows with 5+ steps (split into 2-3 simple graphics instead)
- NO multi-level nested diagrams (flatten to single level)
- NO case studies with multiple sub-sections (one key point per case)
- ALL text GIANT BOLD (80pt+ for labels, 120pt+ for key numbers)
- High contrast ONLY (dark on white OR white on dark, NO gradients with text)
- MANDATORY 50% white space minimum (half the graphic should be empty)
- Thick lines only (5px+ minimum), large icons (200px+ minimum)
- ONE SINGLE MESSAGE per graphic (not 3 related messages)
⚠️ 生成前:检查您的提示并统计元素数量
示例 - 错误(7 阶段工作流程):
# ❌ 创建微小不可读的文本
python scripts/generate_schematic.py "Drug discovery workflow: Stage 1 Target ID, Stage 2 Synthesis, Stage 3 Screening, Stage 4 Lead Opt, Stage 5 Validation, Stage 6 Clinical Trial, Stage 7 FDA Approval with metrics." -o figures/workflow.png
示例 - 正确(3 个超级阶段):
# ✅ 相同内容,简化为可读的海报格式
python scripts/generate_schematic.py "POSTER FORMAT for A0. ULTRA-SIMPLE 3-box workflow: 'DISCOVER' → 'VALIDATE' → 'APPROVE'. Each word in GIANT bold (120pt+). Thick arrows (10px). 60% white space. ONLY these 3 words. NO substeps. Readable from 12 feet." -o figures/workflow_simple.png
⚠️ 海报不得在边缘处有文本或内容被截断。
预防规则:
1. 限制内容部分(最多 5-6 个部分):
✅ 良好 - 5 个部分,留有呼吸空间:
- 标题/页眉
- 引言/问题
- 方法
- 结果(1-2 个关键发现)
- 结论
❌ 糟糕 - 8 个以上部分挤在一起
2. 字数限制:
HTML 模板 (assets/poster_html_template.html) 提供:
标准布局:
┌─────────────────────────────────────────┐
│ HEADER: Title, Authors, Hero Image │
├─────────────┬─────────────┬─────────────┤
│ Introduction│ Results │ Discussion │
│ │ │ │
│ Methods │ (charts) │ Conclusions │
│ │ │ │
│ (diagram) │ (data) │ (summary) │
├─────────────┴─────────────┴─────────────┤
│ FOOTER: References & Contact Info │
└─────────────────────────────────────────┘
每个部分都应突出展示 AI 生成的视觉效果:
主图(页眉):
<img src="figures/hero.png" class="hero-image">
部分图形:
<div class="block">
<h2 class="block-title">Methods</h2>
<div class="block-content">
<img src="figures/workflow.png" class="block-image">
<ul>
<li>Brief methodology point</li>
</ul>
</div>
</div>
在创建 HTML 之前,生成所有视觉元素:
# Create figures directory
mkdir -p figures
# Hero image - SIMPLE, impactful
python scripts/generate_schematic.py "POSTER FORMAT for A0. Hero banner: '[TOPIC]' in HUGE text (120pt+). Dark blue gradient background. ONE iconic visual. Minimal text. Readable from 15 feet." -o figures/hero.png
# Introduction visual - ONLY 3 elements
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE visual with ONLY 3 icons: [icon1] → [icon2] → [icon3]. ONE word labels (80pt+). 50% white space. Readable from 8 feet." -o figures/intro.png
# Methods flowchart - ONLY 4 steps
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE flowchart with ONLY 4 boxes: STEP1 → STEP2 → STEP3 → STEP4. GIANT labels (100pt+). Thick arrows. 50% white space. NO sub-steps." -o figures/workflow.png
# Results visualization - ONLY 3 bars
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE bar chart with ONLY 3 bars: BASELINE (70%), EXISTING (85%), OURS (95%). GIANT percentages ON bars (120pt+). NO axis, NO legend. 50% white space." -o figures/results.png
# Conclusions - EXACTLY 3 key findings
python scripts/generate_schematic.py "POSTER FORMAT for A0. EXACTLY 3 cards: '95%' (150pt) 'ACCURACY' (60pt), '2X' (150pt) 'FASTER' (60pt), checkmark 'READY' (60pt). 50% white space. NO other text." -o figures/conclusions.png
关键:生成内容最少、简单的图形。
mkdir -p figures
# Generate each element with POSTER FORMAT specifications
# (See examples in Section 4 above)
复制模板:
cp skills/pptx-posters/assets/poster_html_template.html poster.html
更新内容:
在浏览器中预览:
open poster.html # macOS # or xdg-open poster.html # Linux
浏览器打印方法:
命令行(如果 Chrome 可用):
# Chrome headless PDF export
google-chrome --headless --print-to-pdf=poster.pdf \
--print-to-pdf-no-header \
--no-margins \
poster.html
选项 1:PDF 到 PPTX 转换
# Using LibreOffice
libreoffice --headless --convert-to pptx poster.pdf
# Or use online converters for simple cases
选项 2:使用 python-pptx 直接创建 PPTX
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation()
prs.slide_width = Inches(48)
prs.slide_height = Inches(36)
slide = prs.slides.add_slide(prs.slide_layouts[6]) # Blank
# Add images from figures/
slide.shapes.add_picture("figures/hero.png", Inches(0), Inches(0), width=Inches(48))
# ... add other elements
prs.save("poster.pptx")
提供的模板 (assets/poster_html_template.html) 包括:
/* Poster dimensions */
body {
width: 2592pt; /* 36 inches */
height: 3456pt; /* 48 inches */
}
/* Color scheme - customize these */
.header {
background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 50%, #3182ce 100%);
}
/* Typography */
.poster-title { font-size: 108pt; }
.authors { font-size: 48pt; }
.block-title { font-size: 52pt; }
.block-content { font-size: 34pt; }
| 类 | 用途 | 字体大小 |
|---|---|---|
.poster-title | 主标题 | 108pt |
.authors | 作者姓名 | 48pt |
.affiliations | 机构 | 38pt |
.block-title | 部分标题 | 52pt |
.block-content | 正文文本 | 34pt |
.key-finding | 高亮框 | 36pt |
对于每个计划的图形,验证:
拒绝以下模式:
对于每个在 25% 缩放下生成的图形:
✅ 通过标准(必须全部为真):
❌ 失败标准(如果任何一项为真,则重新生成):
AI 生成图形的错误:
HTML/导出错误:
内容错误:
此技能可与以下技能配合使用:
assets/ 目录中提供:
poster_html_template.html:主 HTML 海报模板(36×48 英寸)poster_quality_checklist.md:提交前验证检查清单references/ 目录中提供:
poster_content_guide.md:内容组织和写作指南poster_design_principles.md:排版、色彩理论和视觉层次poster_layout_design.md:布局原则和网格系统每周安装次数
64
代码仓库
GitHub 星标数
17.3K
首次出现
2026年1月20日
安全审计
安装于
opencode56
codex54
gemini-cli54
claude-code51
cursor51
github-copilot49
⚠️ USE THIS SKILL ONLY WHEN USER EXPLICITLY REQUESTS PPTX/POWERPOINT POSTER FORMAT.
For standard research posters, use the latex-posters skill instead, which provides better typographic control and is the default for academic conferences.
This skill creates research posters using HTML/CSS, which can then be exported to PDF or converted to PowerPoint format. The web-based approach offers:
ONLY use this skill when:
DO NOT use this skill when:
STANDARD WORKFLOW: Generate ALL major visual elements using AI before creating the HTML poster.
This is the recommended approach for creating visually compelling posters:
Target: 60-70% of poster area should be AI-generated visuals, 30-40% text.
⚠️ ALL text within AI-generated visualizations MUST be poster-readable.
When generating graphics for posters, you MUST include font size specifications in EVERY prompt. Poster graphics are viewed from 4-6 feet away, so text must be LARGE.
MANDATORY prompt requirements for EVERY poster graphic:
POSTER FORMAT REQUIREMENTS (STRICTLY ENFORCE):
- ABSOLUTE MAXIMUM 3-4 elements per graphic (3 is ideal)
- ABSOLUTE MAXIMUM 10 words total in the entire graphic
- NO complex workflows with 5+ steps (split into 2-3 simple graphics instead)
- NO multi-level nested diagrams (flatten to single level)
- NO case studies with multiple sub-sections (one key point per case)
- ALL text GIANT BOLD (80pt+ for labels, 120pt+ for key numbers)
- High contrast ONLY (dark on white OR white on dark, NO gradients with text)
- MANDATORY 50% white space minimum (half the graphic should be empty)
- Thick lines only (5px+ minimum), large icons (200px+ minimum)
- ONE SINGLE MESSAGE per graphic (not 3 related messages)
⚠️ BEFORE GENERATING: Review your prompt and count elements
Example - WRONG (7-stage workflow):
# ❌ Creates tiny unreadable text
python scripts/generate_schematic.py "Drug discovery workflow: Stage 1 Target ID, Stage 2 Synthesis, Stage 3 Screening, Stage 4 Lead Opt, Stage 5 Validation, Stage 6 Clinical Trial, Stage 7 FDA Approval with metrics." -o figures/workflow.png
Example - CORRECT (3 mega-stages):
# ✅ Same content, simplified to readable poster format
python scripts/generate_schematic.py "POSTER FORMAT for A0. ULTRA-SIMPLE 3-box workflow: 'DISCOVER' → 'VALIDATE' → 'APPROVE'. Each word in GIANT bold (120pt+). Thick arrows (10px). 60% white space. ONLY these 3 words. NO substeps. Readable from 12 feet." -o figures/workflow_simple.png
⚠️ POSTERS MUST NOT HAVE TEXT OR CONTENT CUT OFF AT EDGES.
Prevention Rules:
1. Limit Content Sections (MAXIMUM 5-6 sections):
✅ GOOD - 5 sections with room to breathe:
- Title/Header
- Introduction/Problem
- Methods
- Results (1-2 key findings)
- Conclusions
❌ BAD - 8+ sections crammed together
2. Word Count Limits:
The HTML template (assets/poster_html_template.html) provides:
Standard Layout:
┌─────────────────────────────────────────┐
│ HEADER: Title, Authors, Hero Image │
├─────────────┬─────────────┬─────────────┤
│ Introduction│ Results │ Discussion │
│ │ │ │
│ Methods │ (charts) │ Conclusions │
│ │ │ │
│ (diagram) │ (data) │ (summary) │
├─────────────┴─────────────┴─────────────┤
│ FOOTER: References & Contact Info │
└─────────────────────────────────────────┘
Each section should prominently feature AI-generated visuals:
Hero Image (Header):
<img src="figures/hero.png" class="hero-image">
Section Graphics:
<div class="block">
<h2 class="block-title">Methods</h2>
<div class="block-content">
<img src="figures/workflow.png" class="block-image">
<ul>
<li>Brief methodology point</li>
</ul>
</div>
</div>
Before creating the HTML, generate all visual elements:
# Create figures directory
mkdir -p figures
# Hero image - SIMPLE, impactful
python scripts/generate_schematic.py "POSTER FORMAT for A0. Hero banner: '[TOPIC]' in HUGE text (120pt+). Dark blue gradient background. ONE iconic visual. Minimal text. Readable from 15 feet." -o figures/hero.png
# Introduction visual - ONLY 3 elements
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE visual with ONLY 3 icons: [icon1] → [icon2] → [icon3]. ONE word labels (80pt+). 50% white space. Readable from 8 feet." -o figures/intro.png
# Methods flowchart - ONLY 4 steps
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE flowchart with ONLY 4 boxes: STEP1 → STEP2 → STEP3 → STEP4. GIANT labels (100pt+). Thick arrows. 50% white space. NO sub-steps." -o figures/workflow.png
# Results visualization - ONLY 3 bars
python scripts/generate_schematic.py "POSTER FORMAT for A0. SIMPLE bar chart with ONLY 3 bars: BASELINE (70%), EXISTING (85%), OURS (95%). GIANT percentages ON bars (120pt+). NO axis, NO legend. 50% white space." -o figures/results.png
# Conclusions - EXACTLY 3 key findings
python scripts/generate_schematic.py "POSTER FORMAT for A0. EXACTLY 3 cards: '95%' (150pt) 'ACCURACY' (60pt), '2X' (150pt) 'FASTER' (60pt), checkmark 'READY' (60pt). 50% white space. NO other text." -o figures/conclusions.png
CRITICAL: Generate SIMPLE figures with MINIMAL content.
mkdir -p figures
# Generate each element with POSTER FORMAT specifications
# (See examples in Section 4 above)
Copy the template:
cp skills/pptx-posters/assets/poster_html_template.html poster.html
Update content:
Preview in browser:
open poster.html # macOS # or xdg-open poster.html # Linux
Browser Print Method:
Command Line (if Chrome available):
# Chrome headless PDF export
google-chrome --headless --print-to-pdf=poster.pdf \
--print-to-pdf-no-header \
--no-margins \
poster.html
Option 1: PDF to PPTX conversion
# Using LibreOffice
libreoffice --headless --convert-to pptx poster.pdf
# Or use online converters for simple cases
Option 2: Direct PPTX creation with python-pptx
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation()
prs.slide_width = Inches(48)
prs.slide_height = Inches(36)
slide = prs.slides.add_slide(prs.slide_layouts[6]) # Blank
# Add images from figures/
slide.shapes.add_picture("figures/hero.png", Inches(0), Inches(0), width=Inches(48))
# ... add other elements
prs.save("poster.pptx")
The provided template (assets/poster_html_template.html) includes:
/* Poster dimensions */
body {
width: 2592pt; /* 36 inches */
height: 3456pt; /* 48 inches */
}
/* Color scheme - customize these */
.header {
background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 50%, #3182ce 100%);
}
/* Typography */
.poster-title { font-size: 108pt; }
.authors { font-size: 48pt; }
.block-title { font-size: 52pt; }
.block-content { font-size: 34pt; }
| Class | Purpose | Font Size |
|---|---|---|
.poster-title | Main title | 108pt |
.authors | Author names | 48pt |
.affiliations | Institutions | 38pt |
.block-title | Section headers | 52pt |
.block-content | Body text | 34pt |
For EACH planned graphic, verify:
Reject these patterns:
For EACH generated figure at 25% zoom:
✅ PASS criteria (ALL must be true):
❌ FAIL criteria (regenerate if ANY true):
AI-Generated Graphics Mistakes:
HTML/Export Mistakes:
Content Mistakes:
This skill works with:
Available in assets/ directory:
poster_html_template.html: Main HTML poster template (36×48 inches)poster_quality_checklist.md: Pre-submission validation checklistAvailable in references/ directory:
poster_content_guide.md: Content organization and writing guidelinesposter_design_principles.md: Typography, color theory, and visual hierarchyposter_layout_design.md: Layout principles and grid systemsWeekly Installs
64
Repository
GitHub Stars
17.3K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode56
codex54
gemini-cli54
claude-code51
cursor51
github-copilot49
前端设计技能指南:避免AI垃圾美学,打造独特生产级界面
53,200 周安装
.key-finding | Highlight box | 36pt |