Add Rectangle
Adds a rectangle to an existing SVG file.
Usage
node .claude/skills/add-rect/index.js <svg-file> <x> <y> <width> <height> <fill>
Parameters
svg-file- Path to the SVG file to modifyx- Top-left X coordinatey- Top-left Y coordinatewidth- Rectangle widthheight- Rectangle heightfill- Fill color as hex (default: #1E88E5)
Example
node .claude/skills/add-rect/index.js output/art.svg 100 450 60 180 '#1E88E5'