tikz

Audits TikZ diagrams for label, node, and arrow collisions via a six-pass workflow.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/groundnuty/macf-devops-toolkit --skill tikz-groundnuty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tikz
Source: https://github.com/groundnuty/macf-devops-toolkit/tree/main/.claude/profiles/paper-latex/skills/tikz
Command: npx skills add https://github.com/groundnuty/macf-devops-toolkit --skill tikz-groundnuty

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TikZ diagrams in TeX often suffer from residual visual collisions such as overlapping labels, text sitting on boxes, and crossing arrows. This skill provides a structured audit to detect and fix these collisions using mathematical gap calculations and explicit boundary checks, rather than relying on eyeballing.

Core Features & Use Cases

  • Automated six-pass audit workflow covering Bézier curves, label gaps, arrow label keywords, boundary collisions, margin checks, and debug bounding-box verification.
  • Pre-checks for scale usage and coordinate consistency to identify upstream risk factors.
  • Clear guidance on safe TikZ practices and preventive rules to minimize future collisions in LaTeX diagrams.
  • Use Case: debugging complex TikZ figures in academic papers, presentations, and technical reports.

Quick Start

Run the TikZ collision audit on your TeX file to identify and fix residual label collisions.

Frequently Asked Questions about tikz

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

FAQPage Schema
How do I detect overlapping labels and arrows in TikZ diagrams?

To detect overlapping labels and arrows in TikZ diagrams, you can run a structured six-pass collision audit that applies mathematical gap calculations and boundary checks to your LaTeX document.

Why do my TikZ node labels collide even after adjusting positions visually?

TikZ node labels collide because visual eyeballing misses scale and math-based width discrepancies. A formal audit enforces explicit boundary checks and label-gap validations to identify residual collisions accurately.

Can I audit Bezier curve intersections and boundary collisions in LaTeX TikZ?

Yes, you can audit Bezier curve intersections and boundary collisions in LaTeX TikZ by applying a multi-pass workflow that includes Bézier analysis, margin compliance checks, and debug bounding-box verification.

How do I fix text sitting on boxes in TikZ figures for academic papers?

To fix text sitting on boxes in TikZ figures, you apply mathematical gap calculations and label-gap checks from a six-pass audit workflow, ensuring strict margin compliance across all nodes and labels.

What is the best way to prevent future label placement conflicts in TikZ?

The best way to prevent future label placement conflicts in TikZ is to follow safe TikZ practices and preventive rules, using scale pre-checks and coordinate consistency validations to minimize upstream risk factors.

Does the TikZ collision audit work with complex figures using math-based widths?

Yes, the TikZ collision audit works with complex figures using math-based widths by performing pre-checks for scale usage and coordinate consistency, applying explicit boundary checks rather than relying on visual estimation.