All skills
dkyazzentwatwa avatar

/svg-precision-skill

@103b430

Generate deterministic SVGs from structured specs with validation and rendering. Use for icons, diagrams, charts, UI mockups, and technical drawings.

Use this Skill: https://skilld.dev/gh/dkyazzentwatwa/chatgpt-skills/svg-precision-skill

This session only. Nothing lands on disk.

SKILL.md

≈43 tokens always: the name and description. ≈173 when used: this file. ≈3.4k more on demand in 8 files.

SVG Precision Skill

Build SVGs from explicit scene specifications, then validate before handing them off.

Workflow

  1. Translate the request into a concrete spec with fixed dimensions and coordinates.
  2. Use references/spec.md for templates and references/recipes.md for stable layout patterns.
  3. Build the SVG with scripts/svg_cli.py build.
  4. Validate with scripts/svg_cli.py validate.
  5. 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.

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk MEDIUM
  • Gen Agent Trust Hub15d

    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.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 103b430. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago

README badge

README badge for dkyazzentwatwa/chatgpt-skills/svg-precision-skill