svg-precision by dkyazzentwatwa/chatgpt-skills
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill svg-precision从严格的 JSON 规范(场景图)生成结构正确的 SVG,然后进行验证并可选择渲染 PNG 预览。
references/spec.md 中的模板)。python scripts/svg_cli.py build spec.json out.svgpython scripts/svg_cli.py validate out.svgpython scripts/svg_cli.py render out.svg out.png --scale 2canvas.viewBox 和明确的 canvas.width/。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
canvas.heightdefs 中,并通过 id 引用。python scripts/svg_cli.py build <spec.json> <out.svg>python scripts/svg_cli.py validate <svg>python scripts/svg_cli.py render <svg> <out.png> [--scale N]python scripts/svg_cli.py diff <a.svg> <b.svg> <diff.png> [--scale N](渲染 + 图像差异比较)from svg_skill import build_svg, validate_svg
svg_text = build_svg(spec_dict)
report = validate_svg(svg_text)
references/spec.md 中选择一个模板并填入具体数值。references/spec.md - 每种 SVG 类型的模式 + 可直接复制的模板references/recipes.md - 能一致渲染的布局和样式模式每周安装量
103
代码仓库
GitHub 星标数
23
首次出现
2026 年 1 月 24 日
安全审计
安装于
opencode93
gemini-cli88
codex87
claude-code83
cursor79
github-copilot78
Generate structurally correct SVGs from a strict JSON spec (scene graph), then validate and optionally render a PNG preview.
references/spec.md).python scripts/svg_cli.py build spec.json out.svgpython scripts/svg_cli.py validate out.svgpython scripts/svg_cli.py render out.svg out.png --scale 2canvas.viewBox and explicit canvas.width/canvas.height.defs (markers, gradients, clipPaths) and reference by id.python scripts/svg_cli.py build <spec.json> <out.svg>python scripts/svg_cli.py validate <svg>python scripts/svg_cli.py render <svg> <out.png> [--scale N]python scripts/svg_cli.py diff <a.svg> <b.svg> <diff.png> [--scale N] (renders + image-diffs)from svg_skill import build_svg, validate_svg
svg_text = build_svg(spec_dict)
report = validate_svg(svg_text)
references/spec.md and fill in concrete numbers.references/spec.md - schema + ready-to-copy templates per SVG typereferences/recipes.md - layout and styling patterns that render consistentlyWeekly Installs
103
Repository
GitHub Stars
23
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode93
gemini-cli88
codex87
claude-code83
cursor79
github-copilot78
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
40,000 周安装