Skip to main content
skill CX Codex

svg-precision-skill — Claude Code skill: generate SVG from spec

svg-precision-skill — a skill for Claude Code, Codex, Cursor, Copilot and others: builds SVG from explicit coordinates and dimensions, validates output before delivery. Used for icons, diagrams, charts, UI mockups and technical drawings.

no license 306 installs ★ 136 updated 2026-04-08

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dkyazzentwatwa/chatgpt-skills --skill svg-precision-skill -a claude-code
Open on GitHub

What svg-precision-skill does

Request is translated into a spec with fixed dimensions, scripts/svg_cli.py build assembles the file, validate checks correctness, PNG rendering is generated on request. Uses templates from references/spec.md and stable layout patterns from references/recipes.md.

Installed via npx skills add with platform adapter specified. For Claude Code, skill file goes to ~/.claude/skills/svg-precision-skill/SKILL.md, for Codex to .agents/skills/, for Cursor to .cursor/skills/. GitHub Copilot uses gh skill install, Gemini CLI supports installation via npx or direct URL.

Sets viewBox, width and height explicitly, prefers absolute coordinates and simple shapes. Text is treated as risky where exact rendering matters. Filters are applied only when necessary and testable.

What it helps with

  • build an SVG icon from precise coordinates
  • generate a chart with fixed dimensions
  • validate SVG correctness before output
  • create a vector UI mockup with deterministic layout
  • render a technical drawing with explicit geometry

Example prompts for the agent

  • Build a 64×64 gear icon SVG with six teeth
  • Generate a 400×300 bar chart with three columns and validate the output
  • Create a 120×40 button mockup with rounded corners and text, output a PNG preview

How to install svg-precision-skill

1Skills CLI (Vercel)

npx skills add dkyazzentwatwa/chatgpt-skills --skill svg-precision-skill -a claude-code

2Manually: put the files in place

~/.claude/skills/svg-precision-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/svg-precision-skill/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about svg-precision-skill

How do I install svg-precision-skill in Claude Code?

Run npx skills add dkyazzentwatwa/chatgpt-skills --skill svg-precision-skill -a claude-code, the skill file will land in ~/.claude/skills/svg-precision-skill/SKILL.md.

What does svg-precision-skill do?

The skill builds SVG files from explicit specifications with defined coordinates and dimensions, validates correctness before delivery, and can generate PNG previews. Used for icons, diagrams, UI mockups and drawings.

Why are templates and layout patterns needed?

Templates from references/spec.md and patterns from references/recipes.md provide stable solutions for common elements. This speeds up assembly and reduces geometry errors.

Similar skills

All skills for Design →

From the same set12

The whole set →
crypto-ta-analyzer crypto-ta-analyzer runs indicator math over crypto or market OHLCV data and shows where signals agree and where they fight. CX Codex +1 1,600installs financial-calculator financial-calculator calculates loans, investments, NPV, retirement plans, savings, and risk scenarios from stated assumptions. Useful when the result needs schedules or charts. CX Codex +1 514installs document-converter-suite document-converter-suite turns PDFs, Office files, markdown, HTML and tables into editable formats. Useful when you need data out of a document or a rebuilt copy of it. CX Codex +1 495installs image-enhancement-suite The image-enhancement-suite skill for Claude Code processes images in chat with an agent, including background removal, sprite sheet generation, and palette extraction. CX Codex +1 308installs qr-code-generator qr-code-generator creates print-ready and web QR codes with clean HTTPS links, optional UTM tags, and batch processing. CX Codex +1 252installs data-storyteller data-storyteller turns CSV and spreadsheets into narrative reports with charts, quality audits, and statistics. Built for exploratory analysis and executive outputs. CX Codex +1 241installs mcp-builder mcp-builder — a skill for planning and building MCP servers with tools, schemas, error handling, and evaluation. Use when creating or refactoring MCP integrations. CX Codex +1 198installs media-toolkit The media-toolkit skill for Claude Code clips, converts, and analyzes audio and video with Python scripts. It handles captions, timelapses, GIFs, and batch operations. CX Codex +1 184installs

Project sponsors

Companies that keep this analytics open