tikz-illustration-pipeline

Generate and validate TikZ diagrams with automated spatial corrections and pdflatex compilation.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/yannickloth/health-me-cfs --skill tikz-illustration-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tikz-illustration-pipeline
Source: https://github.com/yannickloth/health-me-cfs/tree/main/.claude/skills/tikz-illustration-pipeline
Command: npx skills add https://github.com/yannickloth/health-me-cfs --skill tikz-illustration-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and validation of TikZ diagrams for LaTeX, removing the manual trial-and-error of layout, spacing, and compilation to produce publication-ready illustrations.

Core Features & Use Cases

  • Automated Diagram Generation: Produces complete LaTeX/TikZ source with appropriate libraries, styles, nodes, and arrows for common diagram types.
  • Spatial Validation & Compilation: Compiles with pdflatex, checks minimum horizontal and vertical clearances, detects overlaps and arrow intersections, and analyzes text fitting.
  • Iterative Correction Loop: Applies targeted corrections and re-validates up to three times before escalating with diagnostics and the current code.
  • Use Case: Create a process flow or system-architecture figure that is guaranteed to meet spacing constraints and compile cleanly into a PDF or embed as an inline TikZ block.

Quick Start

Generate a TikZ process-flow diagram with three labeled nodes and connecting arrows and provide a standalone LaTeX diagram file.

Frequently Asked Questions about tikz-illustration-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate TikZ diagram generation and fix overlapping nodes in LaTeX?

Automate TikZ diagram generation by compiling source code with pdflatex, checking spatial clearances, detecting overlaps, and applying up to three targeted correction cycles. This iterative validation process ensures your LaTeX diagrams compile cleanly without manual layout adjustments.

Can I generate a standalone TikZ diagram file for a process flow without manual spacing adjustments?

You can generate a standalone TikZ diagram file for process flows by enforcing minimum horizontal and vertical clearances during layout planning. The automated correction loop analyzes text fitting and arrow intersections, re-validating the diagram up to three times to produce publication-ready illustrations.

Does this TikZ generation approach work for system architectures and causal DAGs in pdflatex?

This approach works for system architectures, causal DAGs, hierarchies, and timelines in pdflatex by generating complete LaTeX source with appropriate libraries and styles. It compiles the diagram, analyzes spatial overlaps, and iterates corrections to ensure valid layout constraints.

What happens when a TikZ diagram fails compilation or has overlapping arrows?

When a TikZ diagram fails compilation or has overlapping arrows, the system applies targeted corrections and re-validates the layout. It iterates this correction loop up to three times before escalating with detailed diagnostics and the current code for manual review.

Do I need pdflatex installed to validate and compile TikZ diagrams with automated spatial correction?

You need pdflatex installed to validate and compile TikZ diagrams because the spatial validation process relies on compiling the LaTeX source to detect overlaps, arrow intersections, and text fitting issues. The automated correction loop depends on these compilation checks to iterate layout fixes.