跳到正文
Skillpedia
写作18k · #10616

slides-polish

它能做什么

这个技能对现有的报告幻灯片进行最后的版式和排版处理,支持 Beamer 和 PowerPoint。适合希望幻灯片在投影仪上清晰可读的演讲者。

适用场景

  • ✓当生成的幻灯片基本没问题,但还需要最后的视觉调整时。
  • ✓当文字对投影仪来说太小,或超出了文本框时。
  • ✓当你希望把每张幻灯片与参考样式进行对照时。

技能链接

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/slides-polish/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/slides-polish/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的报告幻灯片大体没问题,但我需要最后调整一下字号和溢出问题,以便在投影仪上显示。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会根据参考样式逐页检查,并有针对性地修改字体、文本框、标注样式和间距。它只调整版式和排版,不改动内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Slides Polish: Per-Page Codex Review + Targeted Layout Fixes

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Codex default (fresh native reviewer) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.

Polish a generated slide deck — Beamer (.tex + .pdf) and/or PPTX — by running per-page Codex review against a reference visual and applying surgical fixes (font scaling, text-frame resize, callout-box style, em-dash spacing, anonymity placeholders, Chinese-font hints, italic style leaks) until each slide reads at the same visual weight as the reference.

Polish: $ARGUMENTS

What This Skill Is — and Is NOT

This skill polishes layout and typography only. It is the post-generation visual pass for an existing deck.

Hard scope rules (load-bearing — see Hard Invariants):

  • It does not rewrite content, claims, numbers, citations, URLs, author names, affiliations, or experiment results.
  • It does not add, remove, or reorder slides unless the user explicitly asks (e.g., — add-slide / — drop-slide flags).
  • It does not generate outlines, speaker scripts, or new Beamer/PPTX from paper source. That is /paper-slides's job.
  • It does not change figures or equations content.

If you do not yet have a deck, run /paper-slides first. If you want to change content, go back to /paper-slides Phases 1-2 (or rewrite the outline manually) — do not run /slides-polish for that.

Constants

  • REVIEWER_MODEL = gpt-6-astra — Codex MCP model for per-page review. xhigh reasoning is non-negotiable (see ../shared-references/effort-contract.md). If the account has no gpt-6-astra access, follow the canonical capability fallback chain in ../shared-references/reviewer-routing.md (the model fallbacks start with gpt-6.1-sol+xhigh; gpt-5.4 only as an explicit user override).
  • REVIEWER_REASONING = xhigh — Hard invariant; the effort knob does not change this.
  • CONTEXT_POLICY = fresh — Each per-page review uses a fresh Codex reviewer call (spawn_agent, never send_input). See ../shared-references/reviewer-independence.md. This prevents the reviewer from anchoring on prior fixes.
  • REFERENCE_VISUAL — Path to a PDF the user wants the polished deck to align with in visual weight (typography proportion, color discipline, callout density). Required input. If polishing PPTX only, the Beamer compile of the same talk is the ideal reference. If no reference exists yet, ask the user; do not silently default to "Why-RF" or any preset.
  • STYLE_PRESET = generic — Default style anchor. Other options: why-rf (academic-minimalist, derived from a 2025 academic talk), neurips, icml, iclr, cvpr. Presets influence color discipline + element library; the reference PDF is the visual ground truth, not the preset.
  • PPTX_SCALE_HINT = 1.6× — Heuristic multiplier from Beamer point sizes to PPTX point sizes for matched visual weight on 13.33"×7.5" PowerPoint at 16:9. Range 1.5-1.8×. The actual scale is always validated by visual review, never blindly applied.
  • INTERACTIVE = false — When false, applies the recommended fix automatically and continues to the next slide. When true (— interactive), pauses for user confirmation before each fix.
  • OUTPUT_VERSIONING = on — Output is a versioned file named <input-stem>_polished.<ext> (or _polished_v2, _v3, …). Snapshot of the input is preserved as <input-stem>_pre_polish.<ext>. The original is never overwritten. All edit operations target the _polished working copy.

💡 Override examples

  • /slides-polish talk_pptx/talk.pptx — reference: talk_beamer/main.pdf — style: why-rf
  • /slides-polish talk_beamer/ — reference: ./reference_talk.pdf — style: generic — effort: max
  • /slides-polish talk.pptx — reference: ./why_rf_2025.pdf — interactive

Prerequisites

The skill di

常见问题

它会修改幻灯片内容吗?

不会。该技能只打磨版式和排版。

它支持哪些格式?

带有 PDF 的 Beamer LaTeX,以及 PowerPoint 文件。

它需要前面的步骤吗?

在幻灯片生成之后效果最好,例如由论文幻灯片技能生成之后,或基于任何 PPTX 或 Beamer 文件。

详情

作者的原始描述

Per-page Codex review + targeted python-pptx / Beamer fixes for academic talk slides. Use AFTER /paper-slides (or any externally generated PPTX/Beamer) when the deck looks 'mostly OK' but the user wants a final pass that aligns visual weight with a reference, bumps PPTX fonts to projector-readable size, kills italic style leaks, fixes text-frame overflow, and catches per-slide layout drift. Trigger phrases: \"polish slides\", \"slides 排版不对\", \"PPTX 字体太小\", \"和 Beamer 比一下\", \"per-page review\", \"和 codex 一页一页过\".

repo: wanshuiyin/Auto-claude-code-research-in-sleep

热度

GitHub 星标
18k
排名
#10616
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能