new-diagram

Generate TikZ diagrams with predefined snippets and validation rules.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/fredmilhome/laffer_tobacco --skill new-diagram-fredmilhome
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-diagram
Source: https://github.com/fredmilhome/laffer_tobacco/tree/main/.claude/skills/new-diagram
Command: npx skills add https://github.com/fredmilhome/laffer_tobacco --skill new-diagram-fredmilhome

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

Crafting detailed TikZ diagrams can be time-consuming and error-prone, particularly in terms of aligning curves, labels, and dimensions. This Skill streamlines the creation of TikZ diagrams by providing a library of snippets and automation for common diagram structures, as well as pre-applying necessary rules.

Core Features & Use Cases

  • Snippet-Based Creation: Choose from a variety of pre-defined diagram snippets to quickly begin building complex diagrams.
  • Interactive Edits: Use real-time editing to modify diagrams based on specific requirements.
  • Automatic Validation: Ensures the diagrams adhere to visual standards and prevent common issues with explicit rules enforcement.
  • Review & Loop Process: Provides a structured process for reviewing the diagram and making necessary revisions until approved.
  • Conversion Options: Offers the capability to convert diagrams into SVG format for integration into other documents, like presentations.

Quick Start

Use the 'new-diagram' skill with 'example_snippet' and an output file name of 'example_diagram'.

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 generation without manual alignment errors?

Automated TikZ diagram generation applies prevention rules and coordinate maps to enforce explicit node dimensions and directional edge labels, eliminating manual alignment errors. Built-in compilation and reviewer loops ensure quality assurance.

What is the best way to start building a TikZ diagram from a snippet?

The best way to start building a TikZ diagram is selecting a pre-defined snippet and specifying an output file name. Interactive edits and automatic validation then refine the structure through a structured review loop.

Does this TikZ generation tool support exporting to SVG for presentations?

Yes, this TikZ generation tool supports converting diagrams into SVG format. This allows seamless integration of generated technical diagrams and data visualizations into other documents like presentations.

Can I use standalone class TikZ diagrams for educational materials?

Yes, you can use standalone class TikZ diagrams for educational materials. The tool supports TikZ's standalone class and automates creation of data visualizations and technical diagrams tailored for educational contexts.

Why do my TikZ diagrams have misaligned curves and labels?

TikZ diagrams often have misaligned curves and labels due to missing explicit node dimensions and unapplied coordinate maps. Automated generation pre-applies prevention rules to enforce constraints and resolve alignment issues.