Touying Author

Author, refactor, and troubleshoot Typst slide decks built with Touying

241 stars 16 forksDocuments & Office Files

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add apcamargo/typst-skills --skill touying-author
Manual install
git clone --depth 1 https://github.com/apcamargo/typst-skills.git /tmp/typst-skills
mkdir -p ~/.claude/skills
cp -r /tmp/typst-skills/touying-author ~/.claude/skills/touying-author

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Touying Author

Guide Typst presentation authoring with Touying, emphasizing clean structure, repeatable configuration, and slide-safe patterns.

## Quick start
- Import Touying and a theme, then apply the theme with `#show: <theme>.with(...)`.
- Keep configuration centralized; include slide content from separate files.
- Use headings to create slides; use `#slide` for custom layouts or animations.
- Start from `examples/simple.typ` for a minimal deck, or `examples/default.typ` for the bare theme.

Snippet from `examples/simple.typ`:

```typst
#import "@preview/touying:0.6.1": *
#import themes.simple: *

#show: simple-theme.with(
  aspect-ratio: "16-9",
  footer: [Simple slides],
)
```

## Best practices and code structure

- Use a single entry file (e.g., `main.typ`) that applies `#show` and all `config-*` calls.
- For multi-file decks, follow the `globals.typ` + `main.typ` + `content.typ` pattern; use `#include` for content and `#import` for globals to avoid circular refs.
- Docs use both `config.typ` (see `docs/start.md`) and `globals.typ` (see `docs/multi-file.md`) for the shared config file; pick one name and use it consistently in your project.
- For large decks, move `content.typ` into `sections/` and include `sections/content.typ` (and optional `sections/another-section.typ`) from `main.typ`.
- Prefer `config-page`, `config-common`, `config-info`, `config-colors`, `config-methods`, and `config-store` over direct `set page` or ad-hoc global `show`.
Read the full skill on GitHub

Details

Skill name
touying-author
Path
touying-author/SKILL.md
Repo updated
8 September 2026

FAQ

What does the Touying Author skill do?

Author, refactor, and troubleshoot Typst slide decks built with Touying

How do I install the Touying Author skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add apcamargo/typst-skills --skill touying-author. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Touying Author popular?

It lives in apcamargo/typst-skills, which has 241 GitHub stars and 16 forks.

Related skills

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.