Agent Skills: Touying Author

Author Typst slide decks with Touying. Use when working with .typ presentations, themes, or animations.

UncategorizedID: bahayonghang/my-claude-code-settings/touying

Install this agent skill to your local

pnpm dlx add-skill https://github.com/bahayonghang/my-claude-code-settings/tree/HEAD/skills/docs-writing-publishing/touying

Skill Files

Browse the full folder contents for touying.

Download Skill

Loading file tree…

skills/docs-writing-publishing/touying/SKILL.md

Skill Metadata

Name
touying
Description
"Author Typst slide decks with the Touying package. Use when creating or editing .typ presentations: applying or building Touying themes (metropolis, dewdrop, aqua, stargazer, university, simple), turning headings or #slide into slides, incremental reveals and animations (#pause, dynamic content), speaker notes via pdfpc, and config-common/config-page layout. Do not use for non-Typst decks such as HTML, PPT/PowerPoint, reveal.js, or Marp, for ordinary non-presentation Typst documents, or for plain Markdown or prose slides."

Touying Author

Quick start

  1. Import Touying + theme, apply with #show: <theme>.with(...).
  2. Use headings for slides; #slide only for custom layout/animation.
  3. Centralize config in globals.typ, include content from separate files.

Task routing

| Topic | Docs | | ----------------- | ------------------------------- | | Getting started | docs/start.md | | Multi-file layout | docs/multi-file.md | | Slide/headings | docs/sections.md | | Global styles | docs/global-settings.md | | Page/layout | docs/layout.md | | Animations | docs/dynamic/*.md | | Speaker notes | docs/external/pdfpc.md | | Themes | docs/themes/*.md | | Integrations | docs/integration/*.md | | Examples | references/EXAMPLES.md | | Troubleshooting | references/TROUBLESHOOTING.md |

Key rules

  • Use config-page/config-common, not set page.
  • Set slide-level via config-common(slide-level: n).
  • Avoid #pause inside context blocks.
  • Wrap custom slides with touying-slide-wrapper.
  • Place #show: appendix after main deck.

Templates

Use examples/simple.typ (minimal) or examples/default.typ (full).

Errors

If $ARGUMENTS empty or no .typ file: "Error: Provide a valid .typ file path."