Help us improve
Share bugs, ideas, or general feedback.
From light
Plans which figures and tables a research paper needs, where to place them, and what each should convey. Evaluates necessity from a reviewer's perspective to avoid redundancy.
npx claudepluginhub light0305/light-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/light:light-figure-planningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
图表服务论点,不是装饰。每个图表先回答:**它支撑哪个 claim?删掉它论文会不会缺一块?**
Generates publication-grade scientific figures and tables using pubfig and pubtab workflows. Handles chart selection, LaTeX export, and figure review.
Audits whether manuscript figures support their claims across 8 rhetorical dimensions: chart-type fit, axis design, visual hierarchy, data density, caption clarity, perceptual accuracy, and narrative arc.
Guides chart type selection by data structure, accessible color palettes like viridis and Okabe-Ito, figure composition, and journal formatting for scientific publications and talks.
Share bugs, ideas, or general feedback.
图表服务论点,不是装饰。每个图表先回答:它支撑哪个 claim?删掉它论文会不会缺一块?
.drawio 即 XML,可程序化批量改)。inkscape in.svg --export-type=pdf,svg,转曲 --export-text-to-path)或 Adobe Illustrator(行业标准,.ai 私有非开放格式,跨工具存 PDF/SVG)。把异源面板(mpl 导出 PDF + 位图 + 文字标签)自由对齐组装成单张投稿图。pdf.fonttype=42 避免 Type-3 字体被拒。#E69F00 #56B4E9 #009E73 #F0E442 #0072B2 #D55E00 #CC79A7),连续量用 viridis/plasma/cividis;颜色之外加冗余编码(线型/marker);灰度+色盲双测。figure_export.py JOURNAL_SPECS 为唯一真相源;三档制经联网多源核实 2026-06-11):单栏 55(5.5 cm)、双栏 120(12 cm)、整页 183(18.3 cm)。注意 Science 无"175"这一档。JOURNAL_SPECS,用 journal="custom", custom_width_mm=<db01实测值> 逃生通道出图。ggsave(w,h,units='mm',dpi=300)、mpl figsize 换算)。databases/db07-figures/resources_real.md;高级/领域规范图查 databases/db07-figures/figure_advanced_cards.md;figure_cards.md 只保留模板 + canonical 索引,不得再写实体卡。figure_card。某个具体论文的 F1/F2、caption、目标期刊、导出文件路径属于项目级产物,写入仓库根目录下的 databases/db09-projects/projects/<project_name>/version_history.md 与 projects/<project_name>/figures/manifest.md,不直接塞回 db07。figure_type;如果确实没有匹配,再规划新增一张可复用 figure_card 到 resources_real.md 或 databases/db07-figures/figure_advanced_cards.md,并保持 figure_type 全库唯一。规划卡分两层,避免把项目执行字段误写成 db07 schema:
figure_type, paper_source, research_field, purpose, data_required, layout, color_scheme, annotation_style, caption_style, possible_code_tool, replication_notes, where_to_place_in_paper。figure_id, priority, target_journal, column, caption_draft, output_formats, source_card。F# 命名图、T# 命名表(F=Figure、T=Table,如 F1/F2/T1),与 m07 论文模板的 [图位 F1]/[表位 T1] 占位对齐,作为图↔图号↔caption 的锚点。databases/db07-figures/resources_real.md::跨数据集主结果对比(分组柱+误差棒),便于 m11 照卡执行、后续追溯;只有确认为全新图表模式时,才标注 source_card: new_canonical_candidate -> databases/db07-figures/resources_real.md(或 databases/db07-figures/figure_advanced_cards.md)并后续回写 db07。figure_export.py(light-figure-drawing)的 JOURNAL_SPECS 键之一:nature/science/cell/plos/ieee/elsevier/mdpi。决定物理栏宽 mm、最小字号、首选格式,执行技能据此直接传 save_for_journal,避免栏宽臆测导致整张图物理尺寸作废。表外刊(如中文刊)填 target_journal: custom 并在规划卡补 custom_width_mm: <mm>(数据须有来源:db01 卡或实测记录,禁止臆测),执行端走 save_for_journal(..., journal="custom", custom_width_mm=...) 逃生通道。single/double/full/onehalf(须为该刊在 JOURNAL_SPECS 里实有的键:full 仅 science/mdpi;onehalf 仅 plos/elsevier)。target_journal: custom 时 column 省略,直接以 custom_width_mm 为准。
建议工具二选一判定:异源面板组合(代码图 + 位图 + 文字标签)/ 需逐像素对齐与自由精修 → 手工矢量编辑(Inkscape/Illustrator);同源同类数据图、追求复现性 → 代码生成(GridSpec/subplots)。
概念/示意类可先出 ASCII 线框 + 文案 + 配色 + 图标/图表类型建议(content-first 蓝图),把信息架构定死再交执行。规划卡交 m11 绘制;与 m07/m08 同步确保图文一致。项目级风格、图号、caption 与导出路径登记到仓库根目录下的 databases/db09-projects/projects/<project_name>/version_history.md 与 projects/<project_name>/figures/manifest.md;只有跨项目可复用的新图表模式才回写 db07 canonical 文件。全文图表风格由 a07 维护。
工具真实端点、API 参数、各绘图库用法与已知坑见 references.md。