wyzz973

Paper Figure Pipeline — Data skill for Claude Code

Data community

Claude Code skill: end-to-end publication figures for papers — data-driven figure selection, palettes, SimSun + Times New Roman, one file per figure, automated checks, per-figure write-ups.

How to install Paper Figure Pipeline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wyzz973/paper-figure-pipeline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Paper Figure Pipeline does

Claude Code skill: end-to-end publication figures for papers — data-driven figure selection, palettes, SimSun + Times New Roman, one file per figure, automated checks, per-figure write-ups.

Alternatives in Data

  • Arcgis To Portaljs — Migrate a whole ArcGIS Hub site (opendata.arcgis.com or a Hub Premium custom domain) into a PortalJS Arc porta 2.3k ★
  • Claude Deep Research Skill — Enterprise-grade deep research skill for Claude Code with 8-phase pipeline, source credibility scoring, and au 1k ★
  • Wiki All — Run the full llmwiki pipeline end-to-end: build → graph → export all → lint 375 ★

README

paper-figure-pipeline

一个 [Claude Code](https://claude.com/claude-code) Skill:为论文(数学建模竞赛论文、学位论文、期刊或会议论文)成套绘制插图的全流程。

A Claude Code skill for producing a complete, reproducible set of publication figures from project data: figure types derived from the problem and the raw data, a researched or user-supplied palette, Chinese (SimSun) + English (Times New Roman) typography, one file per figure (PNG + PDF, 300 dpi), automated layout and legend checks, and a per-figure write-up ready for the paper.

它做什么

从读题、看原始数据开始,到交付为止共 9 步。其中 4 步(🔸)停下来和用户确认,其余直接做:

步骤 内容
1 🔸 读题、看原始数据;有多版结果时确认用哪一版作为正式数值
2 🔸 每问提出 ≥ 20 种贴合数据的候选图;上网调研配色或采用用户色板,用真实数据画样张
3 搭建可随数据重跑的 matplotlib 绘图工程(数值全部从数据实时计算)
4 🔸 每问先画 3–5 张代表图,确认风格后再批量画
5 按顺序画全部候选图:一图一文件,PNG + PDF,300 dpi,不拼子图
6 自动检查(文字重叠、越界、缺字、图例遮挡数据、可能缺图例),再逐张看图修改
7 逐图写说明:文件与尺寸、编码、数据、含义、解读、图注与正文写法
8 子 agent 分模块逐张复查修复,最后全量重画
9 🔸 交付:零告警、成图检查、提交推送、汇报

数据更新后:改路径 → 一键重画 → 用 `stats_diff.py` 找出说明文档里要同步修改的数字。

安装

用户级(所有项目可用):

git clone https://github.com/wyzz973/paper-figure-pipeline ~/.claude/skills/paper-figure-pipeline

项目级:克隆到项目里的 `.claude/skills/paper-figure-pipeline`。

安装后,在 Claude Code 里说“给论文画图”“每一问配图”“统一论文图的配色字体”“检查图的排版和图例”之类的话,会自动使用这个 skill;也可以输入 `/paper-figure-pipeline` 直接调用。

目录

SKILL.md                  流程、确认节点与原则
references/               按需读取的参考文档
  figure-catalog.md       图型库(按“要表达什么”分类)
  palette-research.md     配色调研:期刊作图规范、已核实的色板与色图
  style-rules.md          字体、字号、尺寸、图内元素、配色语义、可拼接组件
  qa-checklist.md         自动检查说明、逐张检查清单、常见瑕疵与改法
  doc-templates.md        候选图清单、逐图说明、总索引与汇报的模板
  subagent-prompts.md     调研、分问绘图、逐张复查的子 agent 任务模板
  pitfalls.md             字体、导出、环境、协作方面踩过的坑
assets/template/          绘图工程骨架,复制进项目即可使用
scripts/
  check_env.py            检查依赖、字体、中英混排缺字、PDF 字体嵌入
  palette_tool.py         由色板派生描边色,检查灰度、对比度与色盲可分性
  contact_sheet.py        生成缩略图总览,快速扫图
  check_output.py         交付前检查 PNG/PDF 成对、dpi、PDF 字体
  stats_diff.py           数