Skip to content
Back to skills

Typst Toolchain Version Updater

ASecurity

Updates the Typst, Rust, and Pandoc version matrix in 1solomonwakhungu/typst-dev-container and compatible forks, keeping every container build buildable. Use when bumping the Typst version, updating the Rust or Pandoc version matrix, fixing a multi-architecture container build, running scheduled toolchain updates, handling release-asset lag, or editing the GitHub Actions updater and image publishing workflow.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
developmentpythonrustbashdockergit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add 1solomonwakhungu/typst-dev-container --skill typst-toolchain-version-updater --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typst Toolchain Version Updater?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typst Toolchain Version Updater
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/1solomonwakhungu-typst-toolchain-version-updater/badge)](https://www.skillsdirectory.com/skills/1solomonwakhungu-typst-toolchain-version-updater)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typst-toolchain-version-updater
description: Updates the Typst, Rust, and Pandoc version matrix in 1solomonwakhungu/typst-dev-container and compatible forks, keeping every container build buildable. Use when bumping the Typst version, updating the Rust or Pandoc version matrix, fixing a multi-architecture container build, running scheduled toolchain updates, handling release-asset lag, or editing the GitHub Actions updater and image publishing workflow.
---

# Typst Toolchain Maintainer

Apply this workflow only to repositories that use the same layout and updater as
`1solomonwakhungu/typst-dev-container`.

## Preserve the buildability rule

The newest upstream release is not necessarily usable. Adopt a release only
after every artifact consumed by the Docker build exists:

- Typst needs both static musl archives:
  `typst-x86_64-unknown-linux-musl.tar.xz` and
  `typst-aarch64-unknown-linux-musl.tar.xz`.
- Pandoc needs both Linux archives:
  `pandoc-<version>-linux-amd64.tar.gz` and
  `pandoc-<version>-linux-arm64.tar.gz`.
- Rust needs the official `rust:<version>` Docker Hub tag because the
  Dockerfile builds from that image.

Release metadata alone does not prove these inputs are available. Preserve the
skip-forward behavior in `.github/scripts/update-toolchain.py` so a partially
published release does not break the scheduled update.

## Update the repository

Before editing, read:

- `.github/scripts/update-toolchain.py`
- `images/typst/Dockerfile`
- `images/typst/docker-bake.hcl`
- `src/typst/devcontainer-template.json`
- the workflows that call the updater or publish images

Run the updater from the repository root. Review its diff and keep these fields
in sync:

- the three buildable Typst versions in the bake matrix;
- the `LATEST` Typst version;
- the single Rust version in the bake matrix and Dockerfile default;
- the single Pandoc version across the bake matrix;
- `latest` plus the three explicit Typst proposals in the template metadata.

Do not hand-select a version that the updater rejected unless the upstream
artifacts have since become available and the same checks now pass.

## Verify changes

Use the narrowest checks that cover the edit:

```bash
python3 .github/scripts/update-toolchain.py
docker buildx bake --print -f images/typst/docker-bake.hcl typst
```

When Docker is available, build at least one target. For changes to architecture
mapping, downloads, or extraction, verify both `linux/amd64` and `linux/arm64`.
Inside a built image, check:

```bash
typst --version
pandoc --version
rustc --version
typst help watch
```

Also run the repository's targeted test workflow. If Docker or a second
architecture is unavailable, state exactly which build remains for CI rather
than claiming full verification.

Keep version-only pull requests mechanical. Explain any skipped upstream
release in the PR body with the missing asset or image tag that caused the
skip.

Files in this skill

  • SKILL.md2.9 KB
  • agents/openai.yaml238 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.