TikZ Scientific Figures
PM-Shawn/tikz-scientific-figures
Figuras científicas em PDF vetorial, editáveis, geradas por IA
Ver no GitHubSkill para gerar figuras científicas em nível de publicação usando TikZ/PGFPlots. Descreve a figura em linguagem natural; o agente escreve o código LaTeX, compila, verifica visualmente e entrega PDF vetorial editável junto ao fonte. Suporta gráficos, circuitos, diagramas biológicos, químicos, físicos e muito mais.
Instalação
npx convez-ai PM-Shawn/tikz-scientific-figures1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Gerar gráficos e plots para artigos científicos
- Criar diagramas de circuitos e esquemáticos técnicos
- Desenhar estruturas moleculares e diagramas biológicos
- Produzir diagramas de arquitetura, redes neurais e UML
Veredito

Skill robusto e bem arquitetado para pesquisadores e cientistas que precisam de figuras de alta qualidade prontas para publicação. Exige LaTeX instalado e curva de aprendizado moderada, mas entrega resultados profissionais e editáveis.
README
A tradução para o português deste README ainda está na fila.
tikz-scientific-figures
A Skill (for Claude Code / Codex and compatible agents) that generates
publication-grade scientific figures with TikZ / PGFPlots — reproducible,
vector (PDF), and re-editable. You describe the figure in plain language; the
agent writes the .tex, compiles it, visually self-checks the result, and hands
back a PDF plus the editable source.
What it can draw
- Data plots — line, scatter, bar (grouped/stacked), histogram, box/violin, log axis, heatmap, contour, 3D surface/scatter
- Circuits — resistors, capacitors, op-amps, RC/RLC (circuitikz)
- Schematics — flowcharts, block/signal diagrams, free-body & geometry
- Biology — immunofluorescence/tissue, cells, signaling pathways, plasmid/gene maps
- Chemistry — molecules, reaction schemes, energy profiles, lattices
- Physics — ray optics, Feynman diagrams, vector fields
- Math — commutative diagrams, Venn, number lines
- CS / ML — neural networks, system architecture, automata, trees, graphs, UML, ER, Gantt
- Composition — multi-panel (a)(b)(c), insets, significance markers, fit + CI bands, and annotating real microscopy/photo images
Publication-grade by default
Vector output · colour-blind-safe palettes (Okabe–Ito / viridis) · journal sizing (89 mm single / 183 mm double column, 7–9 pt) · units on every axis · LaTeX math · source always shipped alongside the PDF.
Install
- Copy the
tikz-scientific-figures/folder into your agent's skills directory (e.g.~/.claude/skills/). - Install a LaTeX toolchain once. Run the bundled check for OS-specific hints:
Needs: a LaTeX engine (bash scripts/check_env.shpdflatex),poppler(preview); for SVG exportdvisvgm+mutool. On Windows, MiKTeX auto-installs missing LaTeX packages on first compile.
Use
Just ask the agent, e.g. "draw a publication line chart from this data" or
"make an RC low-pass circuit diagram". See 使用说明.md for a
plain-language guide (Chinese).
Editing
- Ask the agent to change colours/ranges/data — it edits the
.tex/.csvin place. - Edit the source — each
.texhas aTUNABLESblock; data plots read adata.csv. - Visual polish —
bash scripts/export_svg.sh figure.texthenbash scripts/edit_svg.sh figure.svgopens a bundled local Method Draw editor;Ctrl/Cmd+Ssaves back to the SVG. (Once forked to SVG, the.texis frozen — seereferences/editing-guide.md.)
Layout
SKILL.md workflow + publication rules + editing rules
assets/ preamble.tex, template, bundled Method Draw editor
scripts/ check_env · compile · preview · export_svg · edit_svg
references/ per-domain recipes + editing guide + error table
License
The bundled Method Draw editor (assets/method-draw/) retains its own license
(see assets/method-draw/LICENSE).