Add Line
Adds a line between two points to an existing SVG file.
Usage
node .claude/skills/add-line/index.js <svg-file> <x1> <y1> <x2> <y2> <stroke> <width>
Parameters
svg-file- Path to the SVG file to modifyx1- Start X coordinatey1- Start Y coordinatex2- End X coordinatey2- End Y coordinatestroke- Stroke color as hex (default: #212121)width- Stroke width (default: 2)
Example
node .claude/skills/add-line/index.js output/art.svg 100 100 300 300 '#E53935' 3