agentleFS
VeryMathVeryMath/AI4Math-Writing/skills/math-beamer/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when the user wants to:

    line 14
  2. Distinctive:

    Do not use this skill to invent results, prove unverified theorems, fabricate citations, or make institutional-branded templates public …

    line 27
  3. Distinctive:

    If the source packet is missing, produce a source request or an outline of needed evidence.

    line 39
  4. Distinctive:

    Default to guided mode unless the user explicitly requests autonomous execution or has already supplied an approved brief, template, …

    line 44
  5. Distinctive:

    Do not interpret silence, a new attachment, or a general acknowledgement as approval for a later stage.

    line 56
  6. Distinctive:

    Do not build the full deck before all four gates have been approved or explicitly skipped.

    line 74
  7. Distinctive:

    ask only for missing brief-gate decisions.

    line 82
  8. Distinctive:

    Do not select a final template, write a full outline, or generate a full deck in the first response unless the user explicitly requests …

    line 85
  9. Very specific:

    Keep all slide-to-source mappings in slide-source-ledger.md, including theorem statements, formulas, figures, and numerical results.

    line 102
  10. Distinctive:

    Treat source placeholders in starter templates as prompts for the ledger.

    line 107
  11. Distinctive:

    Add visible source citations only when the user explicitly requests them.

    line 110
  12. Distinctive:

    Keep the ledger complete when visible citations are requested as well.

    line 111
  13. Very specific:

    Start from templates/preview-gallery.md, then confirm metadata in templates/catalog.yaml.

    line 115
  14. Distinctive:

    Wait for the style-gate decision before drafting the outline.

    line 124
  15. Very specific:

    Read the recorded template source and its local style files.

    line 164
  16. Distinctive:

    Treat requests to polish or improve layout as content adjustments within the selected framework.

    line 175
  17. Distinctive:

    Do not replace the cover, override template elements, or shrink global fonts to make the content fit.

    line 178
  18. Distinctive:

    If the user explicitly requests a style change, apply that change and retain the other template elements.

    line 180
  19. Distinctive:

    If the corresponding source is unavailable, state that limitation before reconstructing a layout.

    line 184
  20. Distinctive:

    If the user has already selected a template, carry that choice forward without asking them to select it again.

    line 210
  21. Distinctive:

    Create a talk thesis, section map, and slide budget.

    line 215
  22. Distinctive:

    Keep the template's typography, colors, and page structure.

    line 226
  23. Very specific:

    Write or update slide-source-ledger.md while drafting, not after the fact.

    line 235
  24. Distinctive:

    Do not remove assumptions or quantifiers to fit a slide.

    line 291
  25. Distinctive:

    Do not upgrade conjectures, heuristics, experiments, or proof sketches into proved statements.

    line 292
  26. Distinctive:

    Do not invent citations, theorem names, lemma dependencies, or numeric results.

    line 294
  27. Very specific:

    Keep formulas readable using align, split, multline, cases, and short prose anchors.

    line 296
  28. Distinctive:

    Use overlays only when they help the argument.

    line 298
  29. Distinctive:

    Prefer relative paths for figures and data.

    line 300
  30. Distinctive:

    Treat institutional logos, school colors, and downloaded templates as license-gated assets.

    line 302
  31. Distinctive:

    Read only the relevant files:

    line 321

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 .tex Beamer 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, or stop;
    • 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:

  1. Brief gate: confirm audience, language, duration, purpose, source of truth, and output form.
  2. Style gate: show two or three suitable template candidates with cover and content previews; wait for the user to choose one.
  3. Outline gate: present the talk thesis, section map, and slide budget; wait for approval or revision.
  4. 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:

  1. inspect the available source packet;
  2. report the source inventory, likely mathematical genre, and missing evidence;
  3. ask only for missing brief-gate decisions;
  4. 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.tex plus figures, bibliography, and local style files when needed.
  • PDF build output when compilation is approved and tools are available.
  • slide-source-ledger.md mapping 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:

NeedTemplate family
General seminarseminar-minimal-en, seminar-minimal-zh
Theorem-heavy talktheorem-proof-talk
Paper reading groupreading-group-paper
Optimizationoptimization-talk
Numerical analysis / scientific computingnumerical-analysis-talk
Algorithms / complexityalgorithm-talk
Probability / statisticsprobability-statistics-talk
Geometry / topologygeometry-topology-talk
Algebra / number theoryalgebra-number-theory-talk
Combinatorics / graph theorycombinatorics-graph-talk
Logic / foundations / category theorylogic-foundations-category-talk
Core analysisanalysis-core-talk
PDEpde-analysis-talk
Dynamical systemsdynamical-systems-talk
Control systemscontrol-systems-talk
Information / coding / cryptographyinformation-coding-crypto-talk
Experiment or data reportdata-experiment-results
Chinese course lecturecourse-lecture-zh
Thesis defensethesis-defense
Workshop tutorialworkshop-tutorial
Backup-heavy research talkbackup-heavy-talk
Posterbeamerposter-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.md
  • references/build-and-layout-audit.md
  • references/template-source-index.md
  • references/template-policy.md
  • templates/preview-gallery.md
  • templates/previews/
  • templates/catalog.yaml

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.