$npx -y skills add dkyazzentwatwa/chatgpt-skills --skill svg-precision-skillGenerate deterministic SVGs from structured specs with validation and rendering. Use for icons, diagrams, charts, UI mockups, and technical drawings.
| 1 | # SVG Precision Skill |
| 2 | |
| 3 | Build SVGs from explicit scene specifications, then validate before handing them off. |
| 4 | |
| 5 | ## Workflow |
| 6 | |
| 7 | 1. Translate the request into a concrete spec with fixed dimensions and coordinates. |
| 8 | 2. Use `references/spec.md` for templates and `references/recipes.md` for stable layout patterns. |
| 9 | 3. Build the SVG with `scripts/svg_cli.py build`. |
| 10 | 4. Validate with `scripts/svg_cli.py validate`. |
| 11 | 5. Render a PNG preview when the user needs a quick visual check. |
| 12 | |
| 13 | ## Rules |
| 14 | |
| 15 | - Set `viewBox`, width, and height explicitly. |
| 16 | - Prefer absolute coordinates and simple shapes. |
| 17 | - Treat text as risky when exact rendering matters. |
| 18 | - Avoid exotic filters unless they are necessary and testable. |