skill-typst-implementation

Implement Typst documents. Invoke for Typst-language implementation tasks.

438 stars

Best use case

skill-typst-implementation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Implement Typst documents. Invoke for Typst-language implementation tasks.

Teams using skill-typst-implementation should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/skill-typst-implementation/SKILL.md --create-dirs "https://raw.githubusercontent.com/benbrastmckie/nvim/main/.claude/extensions/typst/skills/skill-typst-implementation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/skill-typst-implementation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How skill-typst-implementation Compares

Feature / Agentskill-typst-implementationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Implement Typst documents. Invoke for Typst-language implementation tasks.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Typst Implementation Skill

Thin wrapper that delegates Typst implementation to `typst-implementation-agent` subagent.

## Trigger Conditions

This skill activates when:
- Task language is "typst"
- /implement command targets a Typst task
- Plan exists and task is ready for implementation

## Execution Flow

### Stage 1: Input Validation
Validate task_number exists and language is "typst".

### Stage 2: Preflight Status Update
Update status to "implementing" BEFORE invoking subagent.

### Stage 3: Prepare Delegation Context
Include task_context, plan_path, metadata_file_path.

### Stage 4: Invoke Subagent
Use Task tool with subagent_type: "typst-implementation-agent".

### Stage 5: Parse Subagent Return
Read metadata from `specs/{N}_{SLUG}/.return-meta.json`.

### Stage 6: Update Task Status (Postflight)
Update state.json and TODO.md based on result.

### Stage 7: Link Artifacts
Add artifact to state.json with summary.

### Stage 8: Git Commit
Commit changes with session ID.

### Stage 9: Return Brief Summary

## Error Handling

### Input Validation Errors
Return immediately if task not found or wrong language.

### Metadata File Missing
Keep status as "implementing", report error.

### Git Commit Failure
Non-blocking: Log failure but continue.

## MUST NOT (Postflight Boundary)

After the agent returns, this skill MUST NOT:

1. **Edit .typ files** - All Typst work is done by agent
2. **Run typst compile** - Compilation is done by agent
3. **Analyze or grep source** - Analysis is agent work
4. **Write summary/reports** - Artifact creation is agent work

The postflight phase is LIMITED TO:
- Reading agent metadata file
- Updating state.json via jq
- Updating TODO.md status marker via Edit
- Linking artifacts in state.json
- Git commit
- Cleanup of temp/marker files

Reference: @.claude/context/standards/postflight-tool-restrictions.md

---

## Return Format

Brief text summary (NOT JSON).

Related Skills

skill-z3-implementation

438
from benbrastmckie/nvim

Implement Z3 constraints. Invoke for Z3-language implementation tasks.

skill-web-implementation

438
from benbrastmckie/nvim

Implement web (Astro/Tailwind/TypeScript) changes following a plan. Invoke for web-language implementation tasks.

skill-typst-research

438
from benbrastmckie/nvim

Research Typst documentation tasks. Invoke for Typst-language research.

skill-python-implementation

438
from benbrastmckie/nvim

Implement Python code. Invoke for Python-language implementation tasks.

skill-neovim-implementation

438
from benbrastmckie/nvim

Implement Neovim configuration changes from plans. Invoke for neovim implementation tasks.

skill-nix-implementation

438
from benbrastmckie/nvim

Implement Nix configuration changes from plans. Invoke for nix implementation tasks.

skill-lean-implementation

438
from benbrastmckie/nvim

Implement Lean 4 proofs and definitions using lean-lsp tools. Invoke for Lean-language implementation tasks.

skill-latex-implementation

438
from benbrastmckie/nvim

Implement LaTeX documents. Invoke for LaTeX-language implementation tasks.

skill-epidemiology-implementation

438
from benbrastmckie/nvim

Implementation skill for R-based epidemiology analysis

skill-learn

438
from benbrastmckie/nvim

Scan codebase for FIX:/NOTE:/TODO:/QUESTION: tags and create structured tasks with interactive selection. Invoke for /learn command.

skill-deck

438
from benbrastmckie/nvim

Generate YC-style investor pitch decks in Typst

skill-todo

438
from benbrastmckie/nvim

Archive completed and abandoned tasks with CHANGE_LOG.md updates and memory harvest suggestions