---
name: "latex-tikz-vector-graphics"
description: "Draw high-precision mathematical diagrams, finite state machines, and neural nets with TikZ."
metadata:
  author: "LaTeX Project"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "draw neural network architecture tikz"
  - "create finite state machine tikz"
  - "plot mathematical curve pgfplots"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# LaTeX TikZ Procedural Vector Graphics

Programmatically draws technical diagrams inside LaTeX using TikZ: node positioning, custom arrows, matrix layouts, Bayesian networks, and PGFPlots coordinate graphs.

## When to Invoke
Invoke this skill whenever you need to:
- draw neural network architecture tikz
- create finite state machine tikz
- plot mathematical curve pgfplots

## Execution SOP & Rules
1. Enclose diagrams within \begin{tikzpicture} ... \end{tikzpicture} environments.
2. Use relative node positioning (e.g. [right=of nodeA]) rather than hardcoded coordinates.
3. Define reusable node styles with \tikzset{block/.style={rectangle, draw, rounded corners}}.
4. Export standalone SVG or PDF graphics using the standalone document class.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
