计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
detikzify【效率与协作】Load, generate, compile, rasterize, evaluate, train, and serve DeTikZify and Ti*k*Zero workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task names DeTikZify, detikzify, TikZ synthesis, sketch-to-TikZ, figure reconstruction, TikZero, MCTS-based generation, or this repository's web UI, training, evaluation, or dataset workflows.
This skill is for the public detikzify Python package and its repo-owned workflows. It is self-contained: do not depend on the original checkout remaining available once the skill is generated.
Install the package with the extras that match the task:
pip install "detikzify[examples]"
Add legacy when you need the v1 / timm-backed model paths:
pip install "detikzify[examples,legacy]"
For compile/rasterize or web UI workflows, make sure TeX Live, latexmk, Ghostscript, and Poppler are available on the host.
Minimal import check:
python scripts/api_smoke.py
Minimal compile smoke:
python scripts/tikz_smoke.py
python -m detikzify.webui, model selection, sharing, and runtime UI options: use sub-skills/webui/SKILL.md.examples/eval.py workflow: use sub-skills/evaluation-and-metrics/SKILL.md.Node / MonteCarlo tree-search engine: use sub-skills/datasets-and-mcts/SKILL.md.load_adapter(...) or an already adapter-augmented processor whenever the task needs text-conditioned generation. Plain image-only loading is not enough for text prompts.torch.cuda.is_available() and a tiny CUDA allocation when the workflow depends on CUDA.TikzDocument, compile success, rasterizability, and non-empty output are distinct checks. A document can compile and still rasterize to an empty page.examples/refine.py, remember that it needs the TRL vision-support path plus TeX-backed compilation during reward computation.legacy extra and timm availability before assuming the model loader can resolve them.Read the smallest bundled reference or helper that matches the task:
python -m detikzify.webui --help wrapper.