extract-diagrams by clearsmog/claude-skills
npx skills add https://github.com/clearsmog/claude-skills --skill extract-diagrams从源文件中提取图表并转换为 SVG 格式,以供网页使用。
.typ 源文件 → CeTZ 提取(Typst 原生 SVG 输出).tex 源文件 → TikZ 提取(在项目级别配置,使用项目特定的 TEXINPUTS 和路径)Typst 可以直接输出 SVG,无需中间 PDF 文件。
.typ 文件中识别 CeTZ 图表grep -n '@preview/cetz' $ARGUMENTS
typst compile --format svg diagram.typ diagram.svg
.typ 文件中广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
typst compile --format svg standalone_diagram.typ output.svg.typ 源文件中编辑每周安装次数
1
仓库
GitHub 星标数
2
首次出现
1 天前
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Extract diagrams from source files and convert to SVG for web use.
.typ source → CeTZ extraction (Typst native SVG output).tex source → TikZ extraction (configure at project level with project-specific TEXINPUTS and paths)Typst can output SVG directly — no intermediate PDF needed.
.typ filegrep -n '@preview/cetz' $ARGUMENTS
typst compile --format svg diagram.typ diagram.svg
.typ filetypst compile --format svg standalone_diagram.typ output.svg.typ source fileWeekly Installs
1
Repository
GitHub Stars
2
First Seen
1 day ago
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
31,600 周安装