视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
inference-and-rendering【文档与办公】Load DeTikZify models and adapters, build inference pipelines, generate TikZ, compile and rasterize documents, and troubleshoot programmatic synthesis workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about DeTikZify's Python inference surface: model loading, processor handling, adapter-backed text conditioning, DetikzifyPipeline, DetikzifyGenerator, TikzDocument, compile/rasterize/save, or MCTS-backed sampling.
Route away from this sub-skill when the main task is the browser UI, training loops, evaluation metrics, or dataset builders. Those workflows have dedicated sub-skills.
python scripts/api_smoke.py
python scripts/tikz_smoke.py
python scripts/mcts_smoke.py
detikzify.model.load(...) and detikzify.model.load_adapter(...)DetikzifyProcessor and AdapterProcessorDetikzifyPipeline.sample(...) and DetikzifyPipeline.simulate(...)DetikzifyGenerator and the MCTS bridge used inside the pipelineTikzDocument.compile(), rasterize(), save(), and error inspectionload(model_name_or_path, ...) for image-conditioned generation with the default processor flow.load_adapter(...) or a model that already carries an adapter when the request needs text prompts.sample(...) for a single best TikZ program and simulate(...) when the user wants search / multiple candidates.metric="model" as the perceptual path and metric="fast" as the compiler-diagnostics path.preprocess=True when you want the image trimmed and padded to a square before generation.compile_timeout and mcts_timeout separately; they control different stages.