/physics-illustration:physics-illustrationfrom physics-illustration
Draw clean physics and engineering illustrations: test setups, free-body diagrams, mechanism and joint schematics, angle/force/torque sketches. Fine black line art, serif math labels, colour-coded angle arcs, dashed construction rays, a value box and hatched ground, in the style of hand-made journal figures. Use when the user asks for an illustration, schematic, FBD, setup diagram or mechanism figure.
Ships in physics-illustration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Style references: examples/*.png, each drawn by the .py of the same name (6-axis arm pushing a block uphill,
spring–mass–damper, joint gravity torque, incline FBD). Look at the closest one before drawing and start from its script.
a. b. large serif top-left.$q_\mathrm{c}$, $\varphi_\mathrm{a}$. Forces as vectors: $\vec{F}_\mathrm{a}$.#D84040: the primary variable / state being explained#4078B8: secondary or derived quantities#489050 dashed: construction rays from a pivot#E0E0E8) top-right, one symbol = value per row, coloured as above.Use illustration_style.py in this skill's folder (matplotlib). Coordinates in mm of the real object.
import sys; sys.path.insert(0, "<this skill's folder>")
import illustration_style as T
fig, (ax,) = T.canvas(8, 6)
T.ground(ax, -200, 200, -170)
T.pivot(ax, (0, 0))
T.bar(ax, (0, 0), T.polar((0, 0), 15, 159))
T.angle(ax, (0, 0), 60, 0, 15, r"$q$")
T.arrow(ax, (50, -150), (20, -150), r"$\vec{F}_\mathrm{c}$")
T.legend(ax, (120, 150), [(r"$q = 15°$", T.RED)])
T.save(fig, "out/figure") # .png (300 dpi), .svg (editable in Illustrator/Inkscape), .pdf
Helpers:
canvas, panel, legend, savepolar, along, at, ground, wall, incline, pivot, bar (ghost=True for faded poses), block, mass, tilted_boxray, line, arrow, motion, torque, angle, dimension, path (dashed trajectory arc), tangent (direction of motion on an arc)spring, damperpolar(center, deg_from_down, r) measures angles from straight down.
examples/arm_push_incline.pdf (opens in a new tab)examples/arm_push_incline.png (opens in a new tab)examples/arm_push_incline.py (opens in a new tab)examples/arm_push_incline.svg (opens in a new tab)examples/incline_fbd.pdf (opens in a new tab)examples/incline_fbd.png (opens in a new tab)examples/incline_fbd.py (opens in a new tab)examples/incline_fbd.svg (opens in a new tab)examples/joint_gravity_torque.pdf (opens in a new tab)examples/joint_gravity_torque.png (opens in a new tab)examples/joint_gravity_torque.py (opens in a new tab)examples/joint_gravity_torque.svg (opens in a new tab)examples/spring_mass_damper.pdf (opens in a new tab)examples/spring_mass_damper.png (opens in a new tab)examples/spring_mass_damper.py (opens in a new tab)examples/spring_mass_damper.svg (opens in a new tab)illustration_style.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jatinmayekar/physics-illustration --plugin physics-illustration