new-diagram

Automate TikZ diagram creation and iterative review from a snippet gallery.

1|1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/xashgg/claude-code-my-workflow-codex --skill new-diagram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-diagram
Source: https://github.com/xashgg/claude-code-my-workflow-codex/tree/main/.codex/skills/new-diagram
Command: npx skills add https://github.com/xashgg/claude-code-my-workflow-codex --skill new-diagram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, latex, xelatex, tikz, tikz-reviewer, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of TikZ diagrams, providing a structured approach to diagram design and ensuring adherence to specific rules for quality control.

Core Features & Use Cases

  • Predefined Snippets: Offers a gallery of TikZ diagram snippets to start with, saving time and ensuring consistency.
  • Rule-Based Creation: Applies prevention rules to ensure the diagrams are correctly structured and visually consistent.
  • Interactive Workflow: Guides users through selecting a snippet, customizing it, and ensuring it adheres to quality standards.
  • Use Case: Ideal for academic work where diagrams need to be publication-ready and adhere to specific design standards.

Quick Start

Create a new TikZ diagram with the snippet 'dag-basic'. If not specified, the output will default to 'Figures/new_diagram.tex'.

Frequently Asked Questions about new-diagram

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

FAQPage Schema
How do I automate TikZ diagram creation for academic LaTeX workflows?

Tikz diagram creation is automated by selecting templates from a predefined snippet gallery and applying built-in prevention and measurement rules to iteratively review and ensure publication-ready quality for academic LaTeX workflows.

What is the best way to ensure TikZ diagrams adhere to academic publication standards?

Ensuring TikZ diagrams meet publication standards requires applying strict prevention and measurement rules during creation to guarantee correct structural formatting and visual consistency across academic documents.

Do I need Python and xelatex installed to generate TikZ diagrams?

Yes, generating TikZ diagrams through this automated workflow requires Python, latex, xelatex, and tikz-reviewer dependencies installed in your environment to properly process, compile, and validate the snippet outputs.

Can I use predefined TikZ snippets to quickly build technical diagrams in Quarto?

Yes, you can use predefined TikZ snippets like 'dag-basic' to quickly build and customize technical diagrams in Quarto, with outputs defaulting to 'Figures/new_diagram.tex' when no specific file path is provided.

How does the iterative review process work for LaTeX diagrams?

The iterative review process for LaTeX diagrams applies measurement rules to evaluate customized snippets, guiding users through modifications until the final output meets strict quality control and visual consistency standards.

Why do my TikZ snippets fail visual consistency checks during academic diagramming?

TikZ snippets fail visual consistency checks during academic diagramming when they violate built-in prevention rules, requiring iterative customization and structured review to align the diagram structure with strict quality control standards.