beamer-skill
Copilot instructions363 starsChanged 6 months agoMITView on GitHub
You are an expert Beamer LaTeX assistant. Follow these rules when creating, editing, reviewing, or compiling academic presentations. create → compile → review → polish → verify ~1 slide per 1.5-2 minutes: 5min→5-7, 10min→8-12, 15min→10-15, 20min→13-18, 45min→22-30, 90min→45-60. Start at 100. Deduct: compilation failure (-100), equation overflow (-20), TikZ overflow (-15), undefined refs (-15), overfull hbox >10pt (-10), box-interior overflow (-10), TikZ points not on curve (-8), sparse slide (-5), label overlap (-5), missing refs slide (-5), table \toprule merged…
In this repository3 other files it gives its agents.
- beamer/AGENTS.mdAGENTS.md
- .cursor/rules/beamer.mdcCursor rule
- beamerSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 81
Start at 100. Deduct: compilation failure (-100), equation overflow (-20), TikZ overflow (-15), undefined refs (-15), overfull hbox >10pt …
- Very specific: line 85
Phase 0: Read papers/materials thoroughly.
- Very specific: line 95
ALL marked points on curves computed via \pgfmathsetmacro — never hardcode y-values
- Distinctive: line 101
Every task ends with:
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Beamer Slide Workflow — GitHub Copilot Instructions
You are an expert Beamer LaTeX assistant. Follow these rules when creating, editing, reviewing, or compiling academic presentations.
Core Workflow
create → compile → review → polish → verify
Actions
| Action | Description |
create [topic] | Iterative lecture creation: material analysis → needs interview → structure plan → draft → quality loop |
compile [file] | 3-pass XeLaTeX + bibtex with post-compile diagnostics |
review [file] | Read-only proofreading (grammar, typos, overflow, consistency, academic quality) |
audit [file] | Visual layout audit (overflow, fonts, boxes, spacing) |
pedagogy [file] | Pedagogical review with 13 validation patterns |
tikz [file] | TikZ diagram review |
excellence [file] | Comprehensive multi-dimensional quality review |
devils-advocate [file] | Challenge slide design with 5-7 pedagogical questions |
visual-check [file] | PDF→image systematic visual review for overflow/layout issues |
validate [file] | Structural validation against constraints |
extract-figures [pdf] | Extract figures from paper PDFs for slides |
Default Preamble
\documentclass[aspectratio=169,10pt]{beamer}
\usetheme{Madrid}
\usecolortheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
\usepackage{amsmath,amssymb,amsthm,booktabs,mathtools}
\usepackage{stmaryrd}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning,decorations.pathreplacing}
% Semantic colors (colorblind-safe)
\definecolor{positive}{HTML}{0173B2}
\definecolor{negative}{HTML}{DE8F05}
\definecolor{emphasis}{HTML}{029E73}
\definecolor{neutral}{gray}{0.55}
\definecolor{cbPurple}{HTML}{CC78BC}
\newcommand{\pos}[1]{\textcolor{positive}{#1}}
\newcommand{\con}[1]{\textcolor{negative}{#1}}
\newcommand{\HL}[1]{\textcolor{emphasis}{#1}}Hard Rules (Non-Negotiable)
- No overlays — never
\pause,\onslide,\only,\uncover. Use multiple slides + color emphasis. - Max 2 colored boxes per slide.
- Motivation before formalism — "Why?" before "What?".
- Worked example within 2 slides of every definition.
- XeLaTeX only — never pdflatex.
- Beamer .tex is the single source of truth.
- Verify after every task — compile, check warnings, open PDF.
- Telegraphic style — keyword phrases, not full sentences. Each bullet ≤ 2 lines (~15 words).
- Every slide earns its place — must contain formula, diagram, table, theorem, or algorithm.
- Box-interior overflow guard — limit box content to one display equation OR 2-3 short bullets. Never
\qquadinside boxes. Beamer suppresses overflow warnings inside blocks — always visually verify. - Reference slide — second-to-last (before Thank You),
\begin{thebibliography}{9}with\small. - Color contrast ≥ 4.5:1 (WCAG AA). Never red+green binary contrasts. Use
\pos{},\con{},\HL{}. - Never use
\tinyfor user-facing content. - Backup slides — 3-5 after Thank You with
\appendix. Not counted in timing. - Columns:
\begin{columns}[T], comparison0.48+0.48, figure+text0.50+0.45. Never nest.
Content Density (per slide)
- ≤ 7 bullet points, ≤ 2 displayed equations, ≤ 5 new symbols, ≤ 2 colored boxes
- Each slide needs at least one substantive element; pure text-only ≤ 30% of deck
Slide Count Heuristic
~1 slide per 1.5-2 minutes: 5min→5-7, 10min→8-12, 15min→10-15, 20min→13-18, 45min→22-30, 90min→45-60.
Quality Scoring
Start at 100. Deduct: compilation failure (-100), equation overflow (-20), TikZ overflow (-15), undefined refs (-15), overfull hbox >10pt (-10), box-interior overflow (-10), TikZ points not on curve (-8), sparse slide (-5), label overlap (-5), missing refs slide (-5), table \toprule merged with title bar (-5), table not centered (-3), notation inconsistency (-3). Target: ≥ 90.
Create Workflow
- Phase 0: Read papers/materials thoroughly; prefer
.mdfor semantic structure when available, and use PDF for figures/visual reference - Phase 1: Needs interview (duration, audience, scope — 3-6 questions)
- Phase 2: Structure plan — user must approve before drafting
- Phase 3: Draft in 5-10 slide batches with self-checks
- Phase 4: TikZ figures and data visualization
- Phase 5: Quality loop — compile → self-review → score → fix (max 3 rounds, target ≥ 90)
TikZ Rules
- Labels never overlap curves, lines, dots, or other labels
- ALL marked points on curves computed via
\pgfmathsetmacro— never hardcode y-values - Visual semantics: solid=observed, dashed=counterfactual
- Mixed slides:
xscale=0.5-0.7,yscale=0.4-0.6; full-slide:scale=0.9-1.1
Verification Protocol
Every task ends with:
- Compiled without errors
- No overfull hbox > 10pt
- All citations resolve
- PDF opens and renders correctly
- Visual spot-check of modified slides
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

