svg-precision-skill
Generate deterministic SVGs from structured specs with validation and rendering. Use for icons, diagrams, charts, UI mockups, and technical drawings.
How do I install this agent skill?
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill svg-precision-skillIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill generates and renders SVG files from JSON specifications. It contains security vulnerabilities where crafted specifications could lead to local file inclusion (LFI) or server-side request forgery (SSRF) through the SVG image element. Additionally, it uses an insecure XML parser for its validation functionality, which is susceptible to various XML-based attacks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
SVG Precision Skill
Build SVGs from explicit scene specifications, then validate before handing them off.
Workflow
- Translate the request into a concrete spec with fixed dimensions and coordinates.
- Use
references/spec.mdfor templates andreferences/recipes.mdfor stable layout patterns. - Build the SVG with
scripts/svg_cli.py build. - Validate with
scripts/svg_cli.py validate. - Render a PNG preview when the user needs a quick visual check.
Rules
- Set
viewBox, width, and height explicitly. - Prefer absolute coordinates and simple shapes.
- Treat text as risky when exact rendering matters.
- Avoid exotic filters unless they are necessary and testable.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/dkyazzentwatwa/chatgpt-skills/svg-precision-skill">View svg-precision-skill on skillZs</a>