home / skills / bahayonghang / my-claude-code-settings / academic-slides

This skill helps you generate, edit, and compile academic slides using Typst and Beamer, streamlining topic outlines and paper-based presentations.

npx playbooks add skill bahayonghang/my-claude-code-settings --skill academic-slides

Review the files below or copy the command above to add this skill to your agents.

Files (12)
SKILL.md
1.3 KB
---
name: academic-slides
description: Academic slide generation with dual engines
version: 1.0.0
category: document-generation
tags: [slides, latex, typst, beamer, touying, academic]
---

# Academic Slides

Generate/edit/compile/review academic slides. Supports **Typst Touying** and **LaTeX Beamer**.

## Workflows

| Workflow | Trigger | Action |
|----------|---------|--------|
| create | "创建幻灯片" | Generate from topic/outline |
| from-paper | "论文转幻灯片" | Extract from paper |
| edit | "编辑幻灯片" | Modify pages |
| theme | "切换主题" | Switch theme/font |
| compile | "编译" | Build PDF |
| review | "审查" | Quality check |

## Scripts (Layer 0)

Run `python scripts/<name>.py`:

- `detect_file.py` — Find .typ/.tex files
- `compile.py <file>` — Compile to PDF
- `validate_template.py <file>` — Check placeholders
- `analyze_structure.py <file>` — Parse structure
- `review_metrics.py <file>` — Quality scores

## Resources (Layer 2)

Load via `Read resources/<name>.md`:

- `WORKFLOWS.md` — Workflow steps
- `THEME_REFERENCE.md` — Theme config
- `REVIEW_CRITERIA.md` — Review standards
- `TYPST_SYNTAX.md` — Typst syntax
- `LATEX_SYNTAX.md` — LaTeX syntax
- `ERROR_PATTERNS.md` — Error fixes

## Defaults

Engine: Typst | Theme: university | Lang: zh | Aspect: 16:9 | Output: `output/`

Overview

This skill generates, edits, compiles, and reviews academic slide decks using two engines: Typst Touying and LaTeX Beamer. It streamlines workflows from paper-to-slides to theme switching and automated quality checks. The output is a ready-to-download PDF optimized for 16:9 presentations.

How this skill works

The skill inspects inputs such as topic descriptions, outlines, or academic papers and generates slide source code for Typst or Beamer. It can parse existing .typ or .tex files, apply themes, run compilation to PDF, and run review metrics to flag structure and style issues. Scripts automate detection, compilation, template validation, structure analysis, and review scoring to support end-to-end slide production.

When to use it

  • Create slides from a topic, outline, or abstract.
  • Convert a research paper into a concise slide deck.
  • Edit or refactor existing .typ or .tex slide sources.
  • Switch themes, fonts, or aspect ratios quickly.
  • Run automated compilation and quality review before presentation.

Best practices

  • Choose Typst for rapid layout and modern typography; use Beamer when LaTeX ecosystem integration is required.
  • Start with a clear outline: title, intro, methods, results, conclusions and allocate slides per section.
  • Validate templates and placeholders before compiling to avoid build failures.
  • Keep visuals simple: one main idea per slide and consistent theme across slides.
  • Run the review metrics to catch pacing, balance, and readability issues before finalizing.

Example use cases

  • Generate a conference talk deck from a submitted paper, including slides for motivation, data, and takeaways.
  • Edit an instructor’s lecture slides to adopt a university theme and 16:9 aspect ratio.
  • Compile a Typst or Beamer source file into a PDF for distribution or printing.
  • Review a draft slide deck and get a quality score with suggested fixes for layout and content density.

FAQ

Which engine should I pick for academic slides?

Use Typst for faster, modern layout and simpler syntax. Choose LaTeX Beamer when you need complex LaTeX packages or strict journal/conference templates.

Can the skill extract content directly from a PDF paper?

Yes. Provide the paper or key sections; the tool extracts structure and key points to build a concise slide outline for conversion.