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/co-wound-laminate/README.md

View on GitHub
# 三层共同卷绕:用尾端局部露出层序

三层材料共同卷绕两圈,再沿同一方向伸出。主图保留连续形体,尾端局部展示三层的相邻关系。**这是原创几何示意,没有实测尺寸、性能或场量。**

![连续卷绕的整体,以及同一尾端裁切出的三层局部](selected/figure.png)

[SVG](selected/figure.svg) · [PDF](selected/figure.pdf) · [PNG](selected/figure.png) · [输入条件](input.md) · [绘图源码](build_laminate.py)

## 为什么选择尾端

把同一视角放大,仍会被外层遮挡。这里改看能露出三层的尾端面;主图选区和引线说明局部来自哪里。它不是另加的一组材料,也没有加厚原来的层。

图宽 160 mm。曲面为位图,标签为矢量;可以修改源码中的几何、视角与光照后重建,不能在 SVG 中逐面编辑位图。

[看实际入稿 PDF](document/clean.pdf) · [Word 清稿](document/clean.docx) · [黄色审阅稿](document/review.docx) · [前稿 PDF](document/before.pdf)

## 重建

在仓库根目录运行,使用新输出目录:

```powershell
python examples/co-wound-laminate/build_laminate.py --out laminate-output --skill . --font C:/Windows/Fonts/arial.ttf --bold-font C:/Windows/Fonts/arialbd.ttf --pdftoppm <pdftoppm.exe完整路径>
```

加`--variant section`生成另一构图。依赖NumPy、Pillow、ReportLab与Poppler,使用本仓库`scripts/surface_renderer.py`。几何、相机、光照和标签均在Python源码;SVG/PDF是连续表面位图加矢量标签的混合文件,不是全矢量。表面修改后重建,不能在SVG里逐面编辑位图。导出记录包含实际表面分辨率、相机、源文件哈希和角色。灰度及一种近似色觉预览一并导出,不冒充完整色觉测试。

[清稿](document/clean.docx)、[PDF](document/clean.pdf)、[黄色稿](document/review.docx)与[前稿PDF](document/before.pdf)显示实际160 mm入稿。另需python-docx时可运行:

```powershell
python examples/co-wound-laminate/build_document.py --image laminate-output/figure.png --title "Co-wound layers on a hollow core" --body examples/co-wound-laminate/body.txt --caption examples/co-wound-laminate/caption.txt --out laminate-output/clean.docx
```

<details>
<summary>三种构图的取舍与评阅记录</summary>

| 真实方案 | 得到什么 | 失去什么及选择 |
|---|---|---|
| 首稿 整体加相同视角的尾段 | 物体与局部同形,体积完整 | 局部放大后仍被外层遮住;三个标签挤在很窄的边缘。见first-continuous |
| 完整体加整圈端视图 | 卷绕路径更易追踪,适合核对圈数 | 两幅对象需合并理解,支承管省略与方位转换增加负担;本任务未选。见section-v2 |
| 完整体加尾端面裁切 | 主体保留连续关系,局部直接呈现三层相邻关系 | 不如整圈端视图方便检查所有螺旋路径;另需明确局部裁切。见selected |

选用图的局部来自同一网格的尾端面,只取轴向24至28这一段,再等比例投影。它不是加厚材料,也没有新增三层。初次局部标签仅写“End face”,引线停在标题附近,匿名模型审阅认为归属不够直接。最终补了主图选区、接到局部边界的引线和“Tail end (cropped)”标签。首稿和反馈前稿保留,不把反馈修复说成一次生成已完成。

同一个主视图可以漂亮但遮住需要解释的关系。先选能露出该关系的面,再整理色彩、标签与光照;不能把同一遮挡面放大后依赖更多说明。圆滑表面不是审美认证:本例有清楚的形体与层级,仍是原创结构示意,未经作者或真人审美认可。

</details>
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