Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/tikz-diagrams-guide
Create publication-quality scientific diagrams with TikZ in LaTeX
Passed 22 of 23 test cases with the skill, and 20 of 23 without it.
2 fixed20 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Can you provide a LaTeX TikZ snippet for a multi-layer neural network architecture? The diagram should feature an input layer with four nodes, a single hidden layer with three nodes, and an output layer with two nodes, with arrows connecting every node across adjacent layers and text labels above each layer.
| Checked | Without skill | With skill |
|---|---|---|
| Layer labels use relative positioning syntax such as above=0.5cm of I1 rather than explicit coordinates. | Missed | Passed |
| Adjacent layer node connections are drawn using nested foreach loops. | Passed | Passed |
The instructions your model reads when the skill loads.
A skill for creating publication-quality scientific diagrams directly in LaTeX using the TikZ package. Covers basic drawing commands, flowcharts, neural network architectures, data flow diagrams, and integration with PGFplots for camera-ready figures.
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning, shapes.geometric, calc, fit}
\begin{document}
\begin{tikzpicture}
% Your drawing commands here
\end{tikzpicture}
\end{document}
% Lines and shapes
\draw (0,0) -- (3,0) -- (3,2) -- cycle; % Triangle
\draw[thick, ->] (0,0) -- (4,0); % Arrow
\draw[dashed, blue] (0,0) circle (1.5); % Dashed circle
\filldraw[fill=gray!20, draw=black] (2,1) ellipse (1 and 0.5);
% Nodes (text labels with optional shapes)
\node[draw, rectangle, minimum width=2cm] (A) at (0,0) {Input};
\node[draw, circle] (B) at (3,0) {Process};
\draw[->] (A) -- (B);
% Relative positioning (requires positioning library)
\node[draw, rectangle] (C) [right=2cm of B] {Output};
\draw[->] (B) -- (C);
test cases passed, vs 20 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.