math-beamer
Skill11 starsChanged 9 days agoMITView on GitHub
Use when creating, revising, or auditing source-grounded mathematical Beamer slide decks from papers, notes, proofs, lectures, experiments, or existing LaTeX slides across pure mathematics, applied mathematics, computational mathematics, statistics, optimization, geometry, topology, algebra, number theory, combinatorics, graph theory, logic, foundations, category theory, analysis, PDEs, dynamical systems, control theory, information theory, coding theory, cryptography, and teaching contexts.
In this repository2 other files it gives its agents.
- ai4math-writingSkill
- paper-writingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
31 rules. About 0 are common, 26 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill when the user wants to:
- Distinctive: line 27
Do not use this skill to invent results, prove unverified theorems, fabricate citations, or make institutional-branded templates public …
- Distinctive: line 39
If the source packet is missing, produce a source request or an outline of needed evidence.
- Distinctive: line 44
Default to guided mode unless the user explicitly requests autonomous execution or has already supplied an approved brief, template, …
- Distinctive: line 56
Do not interpret silence, a new attachment, or a general acknowledgement as approval for a later stage.
- Distinctive: line 74
Do not build the full deck before all four gates have been approved or explicitly skipped.
- Distinctive: line 82
ask only for missing brief-gate decisions.
- Distinctive: line 85
Do not select a final template, write a full outline, or generate a full deck in the first response unless the user explicitly requests …
- Very specific: line 102
Keep all slide-to-source mappings in slide-source-ledger.md, including theorem statements, formulas, figures, and numerical results.
- Distinctive: line 107
Treat source placeholders in starter templates as prompts for the ledger.
- Distinctive: line 110
Add visible source citations only when the user explicitly requests them.
- Distinctive: line 111
Keep the ledger complete when visible citations are requested as well.
- Very specific: line 115
Start from templates/preview-gallery.md, then confirm metadata in templates/catalog.yaml.
- Distinctive: line 124
Wait for the style-gate decision before drafting the outline.
- Very specific: line 164
Read the recorded template source and its local style files.
- Distinctive: line 175
Treat requests to polish or improve layout as content adjustments within the selected framework.
- Distinctive: line 178
Do not replace the cover, override template elements, or shrink global fonts to make the content fit.
- Distinctive: line 180
If the user explicitly requests a style change, apply that change and retain the other template elements.
- Distinctive: line 184
If the corresponding source is unavailable, state that limitation before reconstructing a layout.
- Distinctive: line 210
If the user has already selected a template, carry that choice forward without asking them to select it again.
- Distinctive: line 215
Create a talk thesis, section map, and slide budget.
- Distinctive: line 226
Keep the template's typography, colors, and page structure.
- Very specific: line 235
Write or update slide-source-ledger.md while drafting, not after the fact.
- Distinctive: line 291
Do not remove assumptions or quantifiers to fit a slide.
- Distinctive: line 292
Do not upgrade conjectures, heuristics, experiments, or proof sketches into proved statements.
- Distinctive: line 294
Do not invent citations, theorem names, lemma dependencies, or numeric results.
- Very specific: line 296
Keep formulas readable using align, split, multline, cases, and short prose anchors.
- Distinctive: line 298
Use overlays only when they help the argument.
- Distinctive: line 300
Prefer relative paths for figures and data.
- Distinctive: line 302
Treat institutional logos, school colors, and downloaded templates as license-gated assets.
- Distinctive: line 321
Read only the relevant files:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Math Beamer
Build and audit mathematical Beamer decks that are meant to be presented, compiled, and traced back to source material. This skill covers mathematical slide structure, not generic slide decoration.
Use When
Use this skill when the user wants to:
- turn a mathematical paper, lecture note, proof sketch, experiment log, or theorem outline into a Beamer deck;
- revise an existing
.texBeamer project for mathematical clarity, source-grounded claims, or build reliability; - select a reusable template for a seminar, reading group, defense, course, workshop, poster, or domain-specific math talk;
- audit theorem/proof/algorithm/formula/figure slides for notation, assumptions, overclaiming, and layout risks;
- build a Chinese, English, or bilingual mathematics deck with reproducible LaTeX commands.
Do not use this skill to invent results, prove unverified theorems, fabricate citations, or make institutional-branded templates public without checking license and logo rights.
Inputs
- Required: presentation goal, source packet, target audience, language, talk duration or slide count, and preferred output folder.
- Optional: existing Beamer source, bibliography, figures, data files, institutional style constraints, template choice, handout/poster mode, speaker notes, and compile command.
If the source packet is missing, produce a source request or an outline of needed evidence. Do not produce a full deck with unsupported claims.
Guided Interaction Contract
Default to guided mode unless the user explicitly requests autonomous execution or has already supplied an approved brief, template, outline, and sample direction.
- Work on one stage at a time. Ask only for decisions needed by the current stage.
- End every guided response with a checkpoint containing:
- current stage;
- what was completed;
- the decision needed from the user;
- available responses:
approve,revise,reject,skip, orstop; - what will happen after approval.
- Do not interpret silence, a new attachment, or a general acknowledgement as approval for a later stage.
- A user may combine stages only by explicitly providing the decisions for each skipped checkpoint.
The following gates are mandatory in guided mode:
- Brief gate: confirm audience, language, duration, purpose, source of truth, and output form.
- Style gate: show two or three suitable template candidates with cover and content previews; wait for the user to choose one.
- Outline gate: present the talk thesis, section map, and slide budget; wait for approval or revision.
- Sample gate: compile representative pages as described in Stage 4, keeping the selected template's page types. Compare them with the selected previews, then show the result for approval of typography, density, and formula treatment within that template.
Do not build the full deck before all four gates have been approved or explicitly skipped.
For the first response:
- inspect the available source packet;
- report the source inventory, likely mathematical genre, and missing evidence;
- ask only for missing brief-gate decisions;
- state the next checkpoint.
Do not select a final template, write a full outline, or generate a full deck in the first response unless the user explicitly requests autonomous execution.
Outputs
- Beamer source tree, usually
main.texplus figures, bibliography, and local style files when needed. - PDF build output when compilation is approved and tools are available.
slide-source-ledger.mdmapping slide claims, theorem statements, formulas, algorithms, figures, and numeric results to sources.- Build and layout report covering command, engine, warnings, errors, references, citations, missing assets, fonts, and overfull boxes.
- Revision notes that distinguish mathematical meaning risks from mechanical layout fixes.
Source Attribution
- Keep all slide-to-source mappings in
slide-source-ledger.md, including theorem statements, formulas, figures, and numerical results. - By default, do not add
Source: ...or来源:……lines at the bottom of each slide, source footnotes, or repeated source bars. Do not turn ledger entries into visible slide text. - Treat source placeholders in starter templates as prompts for the ledger; omit those placeholders from the rendered slides. Preserve the template's title, author, and page-number footer without adding source text.
- Add visible source citations only when the user explicitly requests them. Keep the ledger complete when visible citations are requested as well.
Template Selection
Start from templates/preview-gallery.md, then confirm metadata in
templates/catalog.yaml. Inspect both the cover and first-content preview.
Filter the catalog to two or three candidates and present each candidate with:
- template name and preview paths;
- visual character and mathematical genre fit;
- strengths, density risks, language, and build engine;
- a recommendation without silently making the final choice.
Wait for the style-gate decision before drafting the outline. Select the smallest template that matches the mathematical genre:
| Need | Template family |
| General seminar | seminar-minimal-en, seminar-minimal-zh |
| Theorem-heavy talk | theorem-proof-talk |
| Paper reading group | reading-group-paper |
| Optimization | optimization-talk |
| Numerical analysis / scientific computing | numerical-analysis-talk |
| Algorithms / complexity | algorithm-talk |
| Probability / statistics | probability-statistics-talk |
| Geometry / topology | geometry-topology-talk |
| Algebra / number theory | algebra-number-theory-talk |
| Combinatorics / graph theory | combinatorics-graph-talk |
| Logic / foundations / category theory | logic-foundations-category-talk |
| Core analysis | analysis-core-talk |
| PDE | pde-analysis-talk |
| Dynamical systems | dynamical-systems-talk |
| Control systems | control-systems-talk |
| Information / coding / cryptography | information-coding-crypto-talk |
| Experiment or data report | data-experiment-results |
| Chinese course lecture | course-lecture-zh |
| Thesis defense | thesis-defense |
| Workshop tutorial | workshop-tutorial |
| Backup-heavy research talk | backup-heavy-talk |
| Poster | beamerposter-a0 |
Institutional or downloaded templates are references until their license, branding, personal data, and build status are checked.
Preserve The Selected Template
The selected template defines the deck's layout as well as its colors. Apply these rules in guided mode, autonomous mode, and later revisions. Skipping a checkpoint does not discard an existing template choice.
- Record the selected template name, source path, cover/content previews, and explicitly requested style changes in the existing brief or source packet. Reuse that choice when continuing the work.
- Read the recorded template source and its local style files. For bundled
templates, the entry point is
templates/packs/<name>/main.tex; for supplied templates, use their actual entry point. Start the deck from those sources; replace the title, author, date, sections, and frame contents while retaining the template setup and layout commands. For an existing deck, continue from its source and approved style changes. - Preserve the theme, color and font settings, aspect ratio, margins, cover
structure, frame-title treatment, headline, footline, navigation, and block
styles. Keep the existing title-page mechanism, such as
\titlepage. Content may use suitable text, formulas, figures, tables, or columns within that framework. Matching the palette alone is not template reuse. - Treat requests to polish or improve layout as content adjustments within the selected framework. Resolve overflow through shorter wording, formula line breaks, or additional frames while preserving mathematical meaning. Do not replace the cover, override template elements, or shrink global fonts to make the content fit.
- If the user explicitly requests a style change, apply that change and retain the other template elements. If proposing a redesign, show the specific change for the user's decision before applying it. General approval of an outline or sample does not permit further template changes.
- If the corresponding source is unavailable, state that limitation before reconstructing a layout; do not describe a reconstruction as reuse of the selected template.
Compare rendered samples and the final deck with the selected previews and
approved samples using references/build-and-layout-audit.md. Correct
unrequested style changes before delivery.
Guided Workflow
Stage 0: Source Intake
Inspect the source packet and identify the mathematical genre: theorem, proof, algorithm, computation, experiment, survey, lecture, defense, or poster. Separate confirmed sources from missing or conflicting evidence.
Stage 1: Brief Gate
Confirm audience, language, duration or slide count, presentation purpose, authoritative source, output folder, build permission, and institutional branding constraints. Recommend sensible defaults, but wait for approval.
Stage 2: Style Gate
Show two or three template candidates from the preview gallery. Explain the tradeoffs and wait for the user to select or revise the shortlist. If the user has already selected a template, carry that choice forward without asking them to select it again. Record it as described above.
Stage 3: Outline Gate
Create a talk thesis, section map, and slide budget. Keep most talks to two to four main sections unless the user requests a long lecture. Identify the role of each planned theorem, proof, algorithm, figure, or experiment frame. Wait for approval.
Stage 4: Sample Gate
Draft and compile at least one content-dense mathematical frame from the selected template's source, plus its cover with actual metadata when the template has a cover. For a single-page poster, use the compiled poster page. Compare the rendered pages with the selected previews before showing them. Keep the template's typography, colors, and page structure; review density, notation, and formula treatment within that layout. Wait for sample approval.
Stage 5: Full Deck
Extend the approved sample source into the full deck, retaining the selected
template and explicit style changes. Build from source-grounded claims.
Preserve assumptions, domains, quantifiers, theorem status, proof status,
citations, and numeric results.
Write or update slide-source-ledger.md while drafting, not after the fact.
Apply the Source Attribution defaults when deciding what appears on slides.
Stage 6: Build And Audit
Compile with the appropriate engine:
- English default:
latexmk -pdf -interaction=nonstopmode -halt-on-error main.tex - Chinese or mixed CJK default:
latexmk -xelatex -interaction=nonstopmode -halt-on-error main.tex
Audit the log, PDF, references, citations, figures, fonts, overfull boxes, navigation, and frame density. Compare representative rendered pages with the selected template and approved samples, including the cover when present. Restore any unrequested template changes, including overrides introduced while fixing layout. Report any change that could affect mathematical meaning.
Stage 7: Delivery
Return the deck, evidence ledger, build report, unresolved risks, and focused revision options.
Mathematical Coverage Rules
- Pure mathematics: separate definitions, examples, theorem statements, proof ideas, key lemmas, proof sketches, and limitations.
- Algebra and number theory: track notation, object categories, field/ring assumptions, examples, and dependency diagrams.
- Geometry and topology: prefer diagrams and local-to-global structure maps; record conventions for orientation, metrics, charts, homology, or bundles.
- Core analysis: preserve spaces, norms, operators, constants, convergence modes, regularity, limiting arguments, and counterexamples.
- PDE: preserve function spaces, boundary conditions, regularity, constants, domains, estimates, and weak/strong formulation choices.
- Combinatorics and graph theory: state finite/infinite setting, graph conventions, extremal parameters, random model, and dependency method.
- Logic, foundations, and category theory: state formal system, semantics, universe/size conventions, functorial direction, and coherence assumptions.
- Probability and statistics: state sample spaces, filtrations, distributions, estimators, sample sizes, confidence or concentration statements, and simulation conditions.
- Optimization: state variables, feasible sets, assumptions, algorithm steps, convergence claims, rates, solver/data conditions, and failure modes.
- Numerical analysis and scientific computing: include discretization, error metrics, stability conditions, implementation settings, and reproducibility.
- Dynamical systems: record phase space, invariant sets, stability notions, bifurcation parameters, and qualitative diagrams.
- Control systems: record state/input/output spaces, controllability or observability assumptions, stability notion, controller class, and robustness margins.
- Information, coding, and cryptography: record alphabets, channel or adversary model, rate/security parameter, asymptotic regime, and theorem status.
- Teaching decks: optimize for one concept per slide, worked examples, recap frames, and exercises rather than paper-style claim density.
Review Rules
- Do not remove assumptions or quantifiers to fit a slide.
- Do not upgrade conjectures, heuristics, experiments, or proof sketches into proved statements.
- Do not invent citations, theorem names, lemma dependencies, or numeric results.
- Keep formulas readable using
align,split,multline,cases, and short prose anchors; avoid raw$$. - Use overlays only when they help the argument. Overlays must not change equation numbering or hide assumptions.
- Prefer relative paths for figures and data. Do not reference local absolute paths.
- Treat institutional logos, school colors, and downloaded templates as license-gated assets.
Failure Modes
- Missing source packet: list required sources and provide only a deck outline.
- Conflicting sources: identify the conflict and ask which source is authoritative.
- Compile failure: report root file, command, engine, first fatal error, missing files, unresolved references/citations, and the smallest next fix.
- Layout failure: identify overloaded frames, long formulas, overfull boxes, unreadable figures, and title/navigation collisions.
- Template mismatch: restore the selected layout and explicit style changes, recompile, and compare again. Do not present matching colors as compliance.
- License or branding uncertainty: keep the template in the reference index and do not vendor it into public templates.
References
Read only the relevant files:
references/math-domain-patterns.mdreferences/build-and-layout-audit.mdreferences/template-source-index.mdreferences/template-policy.mdtemplates/preview-gallery.mdtemplates/previews/templates/catalog.yaml
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.

