pptx-posters
它能做什么
这个工具可以制作 PowerPoint(.pptx)格式的科研海报,而且海报内容可以继续编辑。它会确保海报符合特定的印刷和无障碍要求,并使用你提供的内容和素材。
适用场景
- ✓当你需要在 PowerPoint 中制作科研或学术会议海报时。
- ✓当你必须确认海报符合精确的印刷和无障碍规格时。
- ✓当你已经准备好所有内容和源文件,并且已经审核通过时。
技能链接
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/pptx-posters/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据我提供的内容和图片,制作一份学术会议海报(PowerPoint 格式),并确保它符合印刷和无障碍规格。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会读取一个说明文件(manifest),其中详细列出了海报上应该有什么,包括文字、图片以及它们的位置。在生成最终的 PowerPoint 文件之前,工具会先检查所有内容是否已经审核通过,以及文件是否正确。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PPTX posters
Scope
Use this skill only when the requested source/deliverable is an editable PowerPoint poster. Do not route an unspecified poster request here merely because PowerPoint is available.
The manifest 2.0 workflow generates a real one-slide .pptx from strict local JSON. It does not use
HTML conversion, external templates, schematic/image-generation services, API keys,
environment files, network requests, or mandatory figure styles.
Hard gates
Stop instead of guessing when any gate is unmet:
- The author has not supplied exact poster content and source records.
- Any claim, number, citation, author, affiliation, funding statement, figure, license, or QR target is unresolved.
- Current conference and printer requirements are not confirmed.
- Author approval is not bound to the current manifest content hash.
- An asset is remote, outside the manifest directory, unhashed, or unapproved.
- An input is
.pptm, contains macros/external relationships/OLE/embedded files, or is an untrusted template. - The requested workflow needs PowerPoint to be opened or executed automatically.
- A script reports a package, layout, DPI, contrast, or output-plan blocker.
Never fabricate missing material or leave a plausible placeholder. Drafts fail closed.
Install exact generation dependencies
In the poster project directory, create an environment outside this skill tree. Activate it before running the tools (macOS/Linux shown):
uv venv
source .venv/bin/activate
uv pip install "python-pptx==1.0.2" "Pillow==12.3.0" "lxml==6.1.3"
On Windows PowerShell, activate with .venv\Scripts\Activate.ps1. Then run the
CLI commands below from the skill directory with that environment still active.
Package installation needs network access unless the exact wheels are cached; the
poster tools themselves are local. Generation requires exactly:
python-pptx==1.0.2
Pillow==12.3.0
lxml==6.1.3
All CLIs use lazy optional imports, so python -B scripts/<tool>.py --help works
without these packages. Use -B to avoid bytecode artifacts.
Establish requirements before layout
Record these separately:
- physical trim width/height and orientation;
- bleed on each edge;
- safe margin inside trim;
- PowerPoint canvas width/height;
- uniform physical-artboard/canvas print scale;
- conference maximum dimensions and delivery format;
- printer trim, bleed, margin, scaling, color-mode, and proof requirements;
- final-output font and raster-DPI thresholds, each labeled as a heuristic or tied to an exact source.
- required font faces, workstation availability, embedding permission, and the substitution/proof workflow.
There is no universal poster size. Microsoft currently limits each custom PowerPoint dimension to 1–56 inches and uses one size for all slides. If the physical artboard is larger, use a proportional canvas only when the printer confirms scaling.
Read references/poster_layout_design.md.
Build the manifest
Copy assets/poster_manifest_template.json into the project. The template is
deliberately invalid until every replacement token, false confirmation, and draft
approval is resolved.
Follow references/manifest_spec.md and references/poster_content_guide.md.
The manifest requires:
- exact source IDs for document metadata, every element, and every asset;
- document title, subject, and author names joined by
;each at most 255 characters for the library core-properties API; no silent truncation; author_verified: trueon every source;author_approved: trueon every element and asset;- local PNG/JPEG paths and lowercase SHA-256 hashes;
- exact provenance and license/permission for every optional image;
- approved alt text and, when needed, a source-bound native long description;
- explicit reading order and design rectangles;
- visible exact fallback URL/text for every local QR image;
- confirmed conference/printer rules;
- declared sRGB contrast pairs and redundant data encoding;
- approval bound to canonical manifest content.
To obtain the content hash after all non-approval fields pass:
python -B scripts/validate_manifest.py poster.json \
--print-content-hash
Give that exact manifest and hash to the author. Then set approval.status to
approved, record approver and offset-aware timestamp, and copy the hash. Any
non-approval edit invalidates approval.
Validate the approved manifest and local assets:
…
常见问题
什么是“manifest”?
它是一个文本文件,详细记录了海报的所有内容,比如标题、文字、图片,以及它们应该如何排列。它是工具的主要指令。
工具可以替我编写海报内容吗?
不可以,你需要自己提供所有内容和源文件。工具只会对你已经准备并审核通过的内容进行整理和排版。
如果不符合印刷要求会怎样?
工具不会生成海报。它会停止运行,并告诉你哪些要求没有满足,方便你进行修改。
详情
作者的原始描述
Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.
热度
- GitHub 星标
- 51k
- 排名
- #3531
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …