Skip to content

zlsjtj/FigureCraft

scientific-figure-studio

Unverified

FigureCraft 根据科学对象、关系和数据制作科研图与语义配色。适用于机制、硬件、分层材料、定量图及整套配图,交付可编辑图源和分别记录的技术、科学与视觉审阅,保留数值、拓扑和修改范围。

FileKindSize
SKILL.mdskill md8.5 KB
agents/openai.yamlconfig601 B
assets/reference_palettes.jsonconfig11.6 KB
examples/aperture-focus-demo/README.mdmarkdown3.1 KB
examples/aperture-focus-demo/audit/label-load.jsonconfig988 B
examples/aperture-focus-demo/audit/portable-rebuild.jsonconfig1.1 KB
examples/aperture-focus-demo/audit/review-scope.jsonconfig750 B
examples/aperture-focus-demo/audit/semantic-checks.jsonconfig1.5 KB
examples/aperture-focus-demo/brief.mdmarkdown1.4 KB
examples/aperture-focus-demo/caption.mdmarkdown765 B
examples/aperture-focus-demo/exports/baseline/figure.pdfbinary41.1 KB
examples/aperture-focus-demo/exports/baseline/figure.pngbinary47.7 KB
examples/aperture-focus-demo/exports/baseline/figure.svgother3.6 KB
examples/aperture-focus-demo/exports/final/figure.pdfbinary72.4 KB
examples/aperture-focus-demo/exports/final/figure.pngbinary28.0 KB
examples/aperture-focus-demo/exports/final/figure.svgother3.8 KB
examples/aperture-focus-demo/exports/final/figure_deuteranomaly100.pngbinary29.0 KB
examples/aperture-focus-demo/exports/final/figure_grayscale.pngbinary27.4 KB
examples/aperture-focus-demo/exports/first/figure.pdfbinary72.5 KB
examples/aperture-focus-demo/exports/first/figure.pngbinary46.8 KB
examples/aperture-focus-demo/exports/first/figure.svgother4.3 KB
examples/aperture-focus-demo/figure_spec.jsonconfig2.9 KB
examples/aperture-focus-demo/manifest.sha256.jsonconfig2.6 KB
examples/aperture-focus-demo/requirements.txtmanifest61 B
examples/aperture-focus-demo/review.mdmarkdown3.2 KB
examples/aperture-focus-demo/scripts/audit.pyscript3.3 KB
examples/aperture-focus-demo/scripts/rebuild.pyscript10.8 KB
examples/aperture-focus-demo/source/baseline.jsonconfig149 B
examples/aperture-focus-demo/source/final.jsonconfig895 B
examples/aperture-focus-demo/source/first.jsonconfig1.2 KB
examples/assembled-cutaway/README.mdmarkdown3.4 KB
examples/assembled-cutaway/author_geometry.pyscript9.2 KB
examples/assembled-cutaway/author_interface.pyscript8.5 KB
examples/assembled-cutaway/build.pyscript1.7 KB
examples/assembled-cutaway/development-review.jsonconfig1.6 KB
examples/assembled-cutaway/input/implementation.mdmarkdown2.1 KB
examples/assembled-cutaway/scenes/alternative.jsonconfig24.1 KB
examples/assembled-cutaway/scenes/first.jsonconfig21.3 KB
examples/assembled-cutaway/scenes/object-view.jsonconfig25.3 KB
examples/assembled-cutaway/scenes/selected.jsonconfig38.1 KB
examples/assembled-cutaway/views/alternative/figure.pdfbinary42.5 KB
examples/assembled-cutaway/views/alternative/figure.pngbinary86.5 KB
examples/assembled-cutaway/views/alternative/figure.svgother15.1 KB
examples/assembled-cutaway/views/first/figure.pdfbinary42.3 KB
examples/assembled-cutaway/views/first/figure.pngbinary84.6 KB
examples/assembled-cutaway/views/first/figure.svgother13.0 KB
examples/assembled-cutaway/views/object-view/alt.txtmarkdown521 B
examples/assembled-cutaway/views/object-view/caption.txtmarkdown435 B
examples/assembled-cutaway/views/object-view/figure.pdfbinary42.6 KB
examples/assembled-cutaway/views/object-view/figure.pngbinary81.9 KB
examples/assembled-cutaway/views/object-view/figure.svgother14.9 KB
examples/assembled-cutaway/views/object-view/qa-deuteranopia.pngbinary107.8 KB
examples/assembled-cutaway/views/object-view/qa-grayscale.pngbinary98.4 KB
examples/assembled-cutaway/views/selected/alt.txtmarkdown635 B
examples/assembled-cutaway/views/selected/caption.txtmarkdown501 B
examples/assembled-cutaway/views/selected/figure.pdfbinary43.7 KB
examples/assembled-cutaway/views/selected/figure.pngbinary84.4 KB
examples/assembled-cutaway/views/selected/figure.svgother23.4 KB
examples/assembled-cutaway/views/selected/qa-deuteranopia.pngbinary137.8 KB
examples/assembled-cutaway/views/selected/qa-grayscale.pngbinary123.4 KB
examples/bin-latch/README.mdmarkdown2.8 KB
examples/bin-latch/alt_text.txtmarkdown574 B
examples/bin-latch/build_figure.pyscript13.7 KB
examples/bin-latch/caption.txtmarkdown654 B
examples/bin-latch/comparison/new/final/figure.pngbinary107.9 KB
examples/bin-latch/comparison/new/final/figure.svgother9.4 KB
examples/bin-latch/comparison/new/final/manuscript.mdmarkdown9.9 KB
examples/bin-latch/comparison/new/first/figure.pngbinary108.1 KB
examples/bin-latch/comparison/new/first/figure.svgother9.4 KB
examples/bin-latch/comparison/new/first/manuscript.mdmarkdown9.9 KB
examples/bin-latch/comparison/old/final/figure.pngbinary115.3 KB
examples/bin-latch/comparison/old/final/figure.svgother8.1 KB
examples/bin-latch/comparison/old/final/figure/figure.pngbinary115.3 KB
examples/bin-latch/comparison/old/final/manuscript.mdmarkdown9.4 KB
examples/bin-latch/comparison/old/first/figure.pngbinary118.9 KB
examples/bin-latch/comparison/old/first/figure.svgother8.2 KB
examples/bin-latch/comparison/old/first/figure/figure.pngbinary118.9 KB
examples/bin-latch/comparison/old/first/manuscript.mdmarkdown9.4 KB
examples/bin-latch/comparison/plain/final/figure.pngbinary149.9 KB
examples/bin-latch/comparison/plain/final/figure.svgother8.4 KB
examples/bin-latch/comparison/plain/final/manuscript.mdmarkdown10.0 KB
examples/bin-latch/comparison/plain/final/mechanism.svgother8.4 KB
examples/bin-latch/comparison/plain/first/figure.pngbinary149.8 KB
examples/bin-latch/comparison/plain/first/figure.svgother8.4 KB
examples/bin-latch/comparison/plain/first/manuscript.mdmarkdown10.0 KB
examples/bin-latch/comparison/plain/first/mechanism.svgother8.4 KB
examples/bin-latch/figure.pdfbinary126.9 KB
examples/bin-latch/figure.pngbinary112.8 KB
examples/bin-latch/figure.svgother10.7 KB
examples/bin-latch/figure_deuteranopia.pngbinary113.6 KB
examples/bin-latch/figure_grayscale.pngbinary54.4 KB
examples/bin-latch/figure_spec.jsonconfig19.4 KB
examples/bin-latch/input/draft.mdmarkdown6.4 KB
examples/bin-latch/input/implementation_notes.mdmarkdown8.7 KB
examples/bin-latch/input/results.csvother677 B
examples/bin-latch/input/sources_and_limits.mdmarkdown5.6 KB
examples/bin-latch/input/task.mdmarkdown2.8 KB
examples/bin-latch/manuscript.mdmarkdown9.9 KB
examples/bin-latch/requirements.txtmanifest46 B
examples/bin-latch/results.csvother677 B
examples/bin-latch/review-first-look.mdmarkdown7.5 KB
examples/bin-latch/review-followup.mdmarkdown2.3 KB
examples/bin-latch/review-review.mdmarkdown12.8 KB
examples/cable-window/README.mdmarkdown2.4 KB
examples/cable-window/after/figure.pdfbinary44.0 KB
examples/cable-window/after/figure.pngbinary75.1 KB
examples/cable-window/after/figure.svgother8.8 KB
examples/cable-window/before/figure.pdfbinary41.8 KB
examples/cable-window/before/figure.pngbinary100.8 KB
examples/cable-window/before/figure.svgother8.1 KB
examples/cable-window/brief.jsonconfig1.3 KB
examples/cable-window/build_cable_demo.pyscript14.7 KB
examples/cable-window/caption-and-alt.mdmarkdown826 B
examples/cable-window/method-after.mdmarkdown684 B
examples/cable-window/method-before.mdmarkdown717 B
examples/co-wound-editorial/README.mdmarkdown3.7 KB
examples/co-wound-editorial/body.txtmarkdown286 B
examples/co-wound-editorial/build_figure.pyscript7.5 KB
examples/co-wound-editorial/candidates/diagonal-first.pngbinary113.7 KB
examples/co-wound-editorial/candidates/upright.pngbinary102.5 KB
examples/co-wound-editorial/document/clean.docxbinary139.9 KB
examples/co-wound-editorial/document/clean.jsonconfig416 B
examples/co-wound-editorial/document/clean.pdfbinary115.1 KB
examples/co-wound-editorial/document/page-1.pngbinary238.6 KB
examples/co-wound-editorial/selected/alt.txtmarkdown138 B
examples/co-wound-editorial/selected/assembly-roles.pngbinary11.1 KB
examples/co-wound-editorial/selected/assembly.pngbinary125.1 KB
examples/co-wound-editorial/selected/caption.txtmarkdown390 B
examples/co-wound-editorial/selected/detail-roles.pngbinary3.2 KB
examples/co-wound-editorial/selected/detail.pngbinary21.2 KB
examples/co-wound-editorial/selected/deuteranopia-approx.pngbinary107.3 KB
examples/co-wound-editorial/selected/figure.pdfbinary236.1 KB
examples/co-wound-editorial/selected/figure.pngbinary107.4 KB
examples/co-wound-editorial/selected/figure.svgother197.3 KB
examples/co-wound-editorial/selected/grayscale.pngbinary46.8 KB
examples/co-wound-editorial/selected/record.jsonconfig149.3 KB
examples/co-wound-editorial/validation.jsonconfig1.5 KB
examples/co-wound-laminate/README.mdmarkdown3.6 KB
examples/co-wound-laminate/body.txtmarkdown286 B
examples/co-wound-laminate/build_document.pyscript2.5 KB
examples/co-wound-laminate/build_laminate.pyscript9.6 KB
examples/co-wound-laminate/build_laminate_first.pyscript9.6 KB
examples/co-wound-laminate/caption-before.txtmarkdown231 B
examples/co-wound-laminate/caption.txtmarkdown425 B
examples/co-wound-laminate/continuous-v2/assembly-roles.pngbinary9.4 KB
examples/co-wound-laminate/continuous-v2/assembly.pngbinary114.5 KB
examples/co-wound-laminate/continuous-v2/deuteranopia-approx.pngbinary68.3 KB
examples/co-wound-laminate/continuous-v2/figure.pdfbinary193.4 KB
examples/co-wound-laminate/continuous-v2/figure.pngbinary67.3 KB
examples/co-wound-laminate/continuous-v2/figure.svgother157.0 KB
examples/co-wound-laminate/continuous-v2/grayscale.pngbinary30.5 KB
examples/co-wound-laminate/continuous-v2/record.jsonconfig147.5 KB
examples/co-wound-laminate/continuous-v2/tail-detail-roles.pngbinary1022 B
examples/co-wound-laminate/continuous-v2/tail-detail.pngbinary2.2 KB
examples/co-wound-laminate/document/before.docxbinary112.5 KB
examples/co-wound-laminate/document/before.pdfbinary91.5 KB
examples/co-wound-laminate/document/clean.docxbinary102.3 KB
examples/co-wound-laminate/document/clean.pdfbinary89.2 KB
examples/co-wound-laminate/document/review.docxbinary102.3 KB
examples/co-wound-laminate/document/review.pdfbinary89.3 KB
examples/co-wound-laminate/first-continuous/assembly-roles.pngbinary9.6 KB
examples/co-wound-laminate/first-continuous/assembly.pngbinary116.2 KB
examples/co-wound-laminate/first-continuous/deuteranopia-approx.pngbinary80.4 KB
examples/co-wound-laminate/first-continuous/figure.pdfbinary219.0 KB
examples/co-wound-laminate/first-continuous/figure.pngbinary78.6 KB
examples/co-wound-laminate/first-continuous/figure.svgother187.2 KB
examples/co-wound-laminate/first-continuous/grayscale.pngbinary34.3 KB
examples/co-wound-laminate/first-continuous/record.jsonconfig148.8 KB
examples/co-wound-laminate/first-continuous/tail-detail-roles.pngbinary4.2 KB
examples/co-wound-laminate/first-continuous/tail-detail.pngbinary22.8 KB
examples/co-wound-laminate/input.mdmarkdown1.3 KB
examples/co-wound-laminate/section-v2/assembly-roles.pngbinary9.4 KB
examples/co-wound-laminate/section-v2/assembly.pngbinary114.5 KB
examples/co-wound-laminate/section-v2/deuteranopia-approx.pngbinary81.1 KB
examples/co-wound-laminate/section-v2/figure.pdfbinary203.5 KB
examples/co-wound-laminate/section-v2/figure.pngbinary80.0 KB
examples/co-wound-laminate/section-v2/figure.svgother211.4 KB
examples/co-wound-laminate/section-v2/grayscale.pngbinary37.1 KB
examples/co-wound-laminate/section-v2/record.jsonconfig75.5 KB
examples/co-wound-laminate/selected/assembly-roles.pngbinary9.4 KB
examples/co-wound-laminate/selected/assembly.pngbinary114.5 KB
examples/co-wound-laminate/selected/deuteranopia-approx.pngbinary69.2 KB
examples/co-wound-laminate/selected/figure.pdfbinary193.4 KB
examples/co-wound-laminate/selected/figure.pngbinary68.1 KB
examples/co-wound-laminate/selected/figure.svgother157.3 KB
examples/co-wound-laminate/selected/grayscale.pngbinary30.8 KB
examples/co-wound-laminate/selected/record.jsonconfig147.5 KB
examples/co-wound-laminate/selected/tail-detail-roles.pngbinary1022 B
examples/co-wound-laminate/selected/tail-detail.pngbinary2.2 KB
examples/common-reference-demo/README.mdmarkdown2.3 KB
examples/common-reference-demo/alternative/build.pyscript7.4 KB
examples/common-reference-demo/alternative/caption.txtmarkdown453 B
examples/common-reference-demo/alternative/figure.pdfbinary72.6 KB
examples/common-reference-demo/alternative/figure.pngbinary39.9 KB
examples/common-reference-demo/alternative/figure.svgother8.0 KB
examples/common-reference-demo/alternative/figure_spec.jsonconfig17.0 KB
examples/common-reference-demo/caption.txtmarkdown569 B
examples/common-reference-demo/dev/REVIEW.mdmarkdown1.8 KB
examples/common-reference-demo/dev/attempt-01/rows.jsonconfig28.2 KB
examples/common-reference-demo/dev/attempt-01/rows/caption.txtmarkdown529 B

examples/aperture-focus-demo/README.md

View on GitHub
# 固定开口:从流程说明到少字机制图

这个独立示例展示如何让同一个开口的几何关系承担解释,再把规则和验证细节分配给图注、正文。它是构造 DEMO;无需其他技能或原工作目录即可查看、重建和检查。

![最终候选](exports/final/figure.png)

先看 [brief.md](brief.md) 的科学事实,再比较 [baseline](exports/baseline/figure.png)、[首轮](exports/first/figure.png) 和[最终候选](exports/final/figure.png)。三图均为 160 × 84 mm。baseline 根据文字描述重建,首轮保留真实出现过的文字冲突;没有用修正图冒充首次产物。

读者应能看到:B 比开口高,轮廓抵住两角并留在左侧;A 比开口小且在右侧。最终图不增加新机制,只让原有主关系更容易辨认。完整规则、实际减字与代价见 [review.md](review.md);图注见 [caption.md](caption.md)。

## 文件

- `source/baseline.json`、`first.json`、`final.json`:三版可编辑场景输入。
- `exports/baseline/`、`first/`、`final/`:每版 SVG、矢量 PDF、PNG;最终版另有灰度和一种色觉模拟。
- `figure_spec.json`:对象、方向、锁定数值、身份、文字预算、单位和范围。
- `scripts/rebuild.py`:显式接收输入、输出、字体与 Poppler 路径,拒绝覆盖已有输出目录。
- `scripts/audit.py`:从实际最终 SVG/PDF 检查 17 个有限条件,不评价美感。
- `audit/`:几何检查、实际文字负载和审阅范围;`manifest.sha256.json` 绑定整理后的公开文件。

## 重建

本示例实际验证使用 Python 3.12,需要 [requirements.txt](requirements.txt) 中的库、Arial regular/bold 和 Poppler `pdftoppm`。字体不随示例分发。SVG 使用 Arial;替换字体后需重新检查布局,不能沿用原视觉判断。

将本目录复制到任意新目录,然后从任意工作目录执行。下列大写名称是由使用者填写的实际路径,`NEW_OUTPUT` 必须尚不存在:

```text
python EXAMPLE/scripts/rebuild.py --input EXAMPLE/source/final.json --out NEW_OUTPUT --font ARIAL_TTF --bold-font ARIAL_BOLD_TTF --pdftoppm PDFTOPPM
python EXAMPLE/scripts/audit.py --figure-dir NEW_OUTPUT --out NEW_AUDIT_JSON
```

把 `final.json` 换为 `baseline.json` 或 `first.json` 可重建对应版本。几何 audit 针对机制图最终候选,不用于五框 baseline。整理时已实际复制公开脚本与输入至包外新目录,并从不同 cwd 重建;三版共 15 个导出文件与原件 SHA-256 一致,重建结果未放入技能包。

## 检查边界

原产物已实际查看正常色、灰度和 Machado 2009 deuteranomaly severity 100 单条件模拟;这些是绘图代理自审,不是人类阅读实验、作者认可或完整色觉认证。最终图的 XML、几何、PDF 与渲染 PNG 已检查。浏览器 SVG 显示未验证;不把 PDF 渲染当浏览器截图。重建是路径与依赖检查,不是又一次自然语言生成试用。

SVG 由独立图元和文字组成,PDF 嵌入字体子集,PNG 为位图。所有导出图原样收录,整理没有重新设计图形。原始运行环境日志不属于这个公开示例。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall