beamer-check
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "beamer-check" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3e08246195760be374db188e87ec9f5447b3586afdc88f8de0df473cd9d54242. Verify the upstream source and version against https://github.com/aspi6246/Claude-Code-Skills-for-Academics before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Check and fix compilation errors, layout issues, and visual problems in Beamer slides. Use when the user says “check my slides,” “fix my slides,” “slides won't compile,” “text overflowing,” or “slides look wrong,” or when validating Beamer slides before delivery. Also trigger on mentions of overflow boxes, overlapping content, broken images, or any Beamer formatting issues.
Introduction source: third_party · aspi6246 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- This skill implements a compile → inspect → fix → verify loop for Beamer slide decks. The goal is to catch and fix all issues before the user has to open the PDF themselves.
- Testing
- Not tested
Browse files
Frontmatter
name: beamer-check
description: >
Audit and fix Beamer slide decks for compilation errors, layout problems,
and visual issues. Use this skill whenever the user says "check my slides",
"fix my slides", "the slides don't compile", "text is running off the page",
"slides look wrong", or after generating a Beamer deck to verify it before
delivering. Also use when the user mentions overfull boxes, overlapping
content, broken images, or any Beamer formatting issue.Beamer Slide Deck Audit and Fix
Overview
This skill implements a compile → inspect → fix → verify loop for Beamer slide decks. The goal is to catch and fix all issues before the user has to open the PDF themselves.
Run the full audit protocol below. Do not skip the visual inspection phase — compilation warnings alone do not catch all layout problems.
Phase 1: Automated Compilation Check
Run the diagnostic script:
python {baseDir}/scripts/beamer_check.py <path-to-tex-file> --output-dir <work-dir>/beamer-check-output
This will:
- Compile the
.texfile twice with pdfLaTeX - Parse the log for errors, warnings, overfull/underfull boxes, and missing files
- Render every slide to a PNG image for visual inspection
- Write a
diagnostics.jsonsummary
Read the script output and the diagnostics.json file. Categorise every
issue found:
- Compilation errors — the PDF was not produced or is incomplete
- Missing files — images, packages, or fonts that could not be found
- Overfull hbox — content wider than the text area (text running off the right edge)
- Overfull vbox — content taller than the slide area (text running off the bottom)
- Warnings — package conflicts, deprecated commands, missing references
Phase 2: Visual Inspection
This is the most important phase. Many layout problems produce no warnings at all.
Open and examine EVERY rendered slide image in
beamer-check-output/slides/. For each slide, check for:
Text issues
- Text running off the right edge of the slide
- Text running off the bottom of the slide
- Text overlapping with other elements (headers, footers, images)
- Font size too small to read (below
\footnotesizeon a 16:9 slide) - Orphaned words or lines that look awkward
- Verbatim/code blocks that exceed the text width
Layout issues
- Itemize/enumerate lists that overflow the frame
- Tables wider than the slide
- Columns that are misaligned or overlapping
- Excessive white space on one side, crowded on the other
- Content obscured by the Beamer theme elements (navigation bar, footer)
Image issues
- Missing images (blank spaces or error markers)
- Images that are distorted (wrong aspect ratio)
- Images that are too small to be useful
- Images that overflow the frame boundary
Structure issues
- Empty slides (no content rendered)
- Duplicate slide titles
- Table of contents that doesn't match actual section structure
- Frame titles that are cut off
Phase 3: Fix
For every issue identified in Phases 1 and 2, apply the appropriate fix. Ask the user before editing their file.
Common fixes reference
Text running off the right edge (overfull hbox):
% Option 1: Allow slightly loose spacing
\begin{frame}[fragile]{Title}
\sloppy
Content here...
\end{frame}
% Option 2: Reduce font size for that frame
\begin{frame}{Title}
\small % or \footnotesize for more reduction
Content here...
\end{frame}
% Option 3: Break long lines manually
Very long text that needs to be broken\\
across multiple lines.
% Option 4: For URLs
\url{https://very-long-url.com/that/overflows}
% Replace with:
{\small\url{https://very-long-url.com/that/overflows}}
Content overflowing the bottom (overfull vbox):
% Option 1: Reduce font size
\begin{frame}{Title}
\small
Too much content...
\end{frame}
% Option 2: Use allowframebreaks to auto-split
\begin{frame}[allowframebreaks]{Title}
Lots of content that will auto-split across slides...
\end{frame}
% Option 3: Shrink the whole frame (use sparingly)
\begin{frame}[shrink=10]{Title}
Content...
\end{frame}
% Option 4 (best): Split into two slides manually
% This is usually the right answer for teaching slides
Verbatim/code blocks overflowing:
% Use fragile option on the frame
\begin{frame}[fragile]{Title}
\begin{verbatim}
code here
\end{verbatim}
\end{frame}
% For long code, reduce font size
\begin{frame}[fragile]{Title}
\begin{verbatim}
\small
code here
\end{verbatim}
\end{frame}
Tables too wide:
% Option 1: Use \resizebox
\resizebox{\textwidth}{!}{%
\begin{tabular}{lccccc}
...
\end{tabular}
}
% Option 2: Use \small or \footnotesize
{\footnotesize
\begin{tabular}{lccccc}
...
\end{tabular}
}
% Option 3: Use tabularx for automatic column width
\usepackage{tabularx}
\begin{tabularx}{\textwidth}{lXXX}
...
\end{tabularx}
Missing images:
% Add a fallback so compilation doesn't fail
\IfFileExists{image.png}{%
\includegraphics[width=0.8\textwidth]{image.png}
}{%
\textit{[Image not found: image.png]}
}
Column alignment issues:
% Make sure column widths sum to \textwidth
\begin{columns}[T] % T = top-aligned
\begin{column}{0.48\textwidth}
Left content
\end{column}
\begin{column}{0.48\textwidth}
Right content
\end{column}
\end{columns}
% Leave ~0.04\textwidth for the gap between columns
Phase 4: Verify
After applying fixes:
-
Run the diagnostic script again on the modified file:
python {baseDir}/scripts/beamer_check.py <path-to-tex-file> --output-dir <work-dir>/beamer-check-verify -
Confirm that:
- All previous compilation errors are resolved
- No new errors or warnings were introduced
- Overfull box count has decreased (ideally to zero)
-
Visually inspect the re-rendered slides again, focusing on the slides that were modified. Confirm the fixes worked and didn't introduce new layout problems.
-
If new issues are found, repeat Phases 3-4 until clean.
Phase 5: Report
Present a summary to the user:
Beamer Audit Complete
=====================
Slides checked: [N]
Issues found: [N]
Issues fixed: [N]
Remaining issues: [N] (with explanation if any)
Changes made:
- Slide 3: Reduced font size to \small (text overflow)
- Slide 7: Split into two slides (content exceeded frame)
- Slide 12: Added [fragile] option (verbatim block)
- ...
Important notes
- Always ask the user before editing their .tex file
- Prefer splitting content across slides over shrinking text — readability matters more than slide count
- The
[shrink]option is a last resort — it makes everything smaller, which is usually worse than splitting [allowframebreaks]is acceptable for reference/bibliography slides but looks bad for regular content — prefer manual splits- When in doubt, err on the side of more slides with less content
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 LaTeX Beamer 用户的刚需场景,解决编译错误和布局溢出的实际问题
- 提供完整的审计-修复-验证闭环流程,显著提升幻灯片交付质量
Highlights
- 触发词覆盖全面,包括多种口语化表达和具体问题描述
- 边界清晰,不易与其他文档处理技能混淆
Highlights
- 五阶段流程设计合理,步骤清晰且有明确出口条件
- 包含丰富的代码示例和最佳实践建议
Areas to improve
-
外部脚本依赖未验证 Reported severity: Major
执行依赖 {baseDir}/scripts/beamer_check.py 脚本,但未说明该脚本是否存在或如何处理其缺失情况
Recommendation: 增加脚本存在性检查逻辑,若缺失则提示用户提供或 fallback 到基础 pdflatex 编译
-
缺少显式 When to Use 章节 Reported severity: Minor
虽然 frontmatter description 已涵盖使用场景,但正文缺少独立的 When to Use 章节
Recommendation: 在 Overview 后添加显式 When to Use 小节以提升可读性
Highlights
- 对不可逆操作(编辑 .tex 文件)有用户确认机制
- 覆盖了常见异常场景的修复策略
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- very-long-url.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.