Elsevier Figure Style 标志

Elsevier Figure Style

社区
guhou-hvi
elsevier-figure-style

Generate, revise, and audit source-backed quantitative manuscript figures, and visually audit exported schematic/conceptual figures and graphical abstracts without redrawing them in v0.1. Use for Elsevier-style manuscript figure generation, matplotlib or ggplot2 result plots, line charts, heatmaps, bar charts, scatter or Pareto plots, artwork export checks, pre-submission figure QA, mechanism/workflow diagram audits, graphical-abstract audits, or equivalent Chinese-language requests for paper figures and submission checks.

Add to TypingMind

概览

发布者guhou-hvi
代码仓库elsevier-figure-style
技能名称elsevier-figure-style
星标数
89
复刻数
1
附带文件
21
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 21 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 guhou-hvi 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Elsevier Figure Style AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/guhou-hvi/elsevier-figure-style/tree/main/skills/elsevier-figure-style
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/guhou-hvi/elsevier-figure-style.git /tmp/elsevier-figure-style
mkdir -p .claude/skills
cp -r /tmp/elsevier-figure-style/skills/elsevier-figure-style .claude/skills/elsevier-figure-style
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Elsevier Figure Style,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Elsevier Figure Style。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Elsevier Figure Style 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Elsevier Figure Style

Purpose

Apply this unofficial, source-backed workflow while generating quantitative result figures and while auditing manuscript figure exports. Verify the target journal's current Guide for Authors before submission. Never claim that this skill guarantees acceptance.

Use two tracks:

  • result: generate, revise, and audit line, heatmap, bar/barh, scatter, Pareto/frontier, ablation, and metric figures.
  • schematic: visually audit principle, mechanism, workflow, conceptual, and graphical-abstract exports. In v0.1, do not redraw or edit these figures unless the user separately requests an editing workflow.

Match the report language to the user's language. Keep command names, field names, and rule IDs unchanged.

Select the Profile

Use assets/elsevier_figure_style.json by default. It is the single manifest entry point for identity, resources, profiles, style values, export thresholds, and supported detectors.

Before first use of the bundled Python scripts, run python scripts/check_environment.py. The skills CLI copies Skill files but does not install Python packages. If dependencies are missing, ask before running the install command reported by the checker; do not modify the user's Python environment silently. R workflows require ggplot2 and jsonlite.

  • official: A-level official publisher and target-journal rules. Tool-input and style-integration findings use STYLE-* IDs and must not be described as official policy.
  • editor: official plus authorized redacted revision evidence and core D-level visual QA. Use by default.
  • strict: editor plus public cases and the complete visual QA checklist.

When the user supplies another manifest, pass it through --config or config_path. A new journal may reuse the built-in detectors without code changes; a genuinely new detector type still requires code.

Treat a manifest and its referenced files as one profile bundle. bundle_root defines the bundle boundary; schema and resource paths must be relative and remain inside it. Never weaken this boundary for an untrusted profile.

Establish the Figure Contract

Record:

  • Claim: the one-sentence conclusion the figure supports.
  • Track: result, schematic, or graphical-abstract.
  • Family: line, heatmap, bar, scatter, mixed, mechanism, workflow, graphical abstract, or R/ggplot2.
  • Profile: official, editor, or strict.
  • Target layout: minimal, single, one-half, double, or graphical abstract when known.
  • Artwork type: line, combination, or halftone.
  • Export target and target-journal overrides.

Generate Result Figures

For Python/matplotlib, load the selected profile and use the helper functions:

python
from elsevier_plot_style import apply_journal_style, figure_size, line_style_kwargs, style_axis, finalize_figure, save_figure

spec = apply_journal_style(config_path="path/to/profile.json")
fig, ax = plt.subplots(figsize=figure_size(spec=spec))
ax.plot(x, y, label="Model", **line_style_kwargs("model", spec=spec))
style_axis(ax, spec)
finalize_figure(fig, spec)
save_figure(fig, "figure_1", spec=spec, formats=("pdf", "tiff"), artwork_type="line")

For reproducible project-local imports, initialize a vendored module:

bash
python scripts/init_figure_style_project.py --target <project> --config assets/elsevier_figure_style.json

Then import helpers from figure_style in the target project.

For R/ggplot2, source scripts/elsevier_theme.R, then use theme_journal(), journal_palette(), and save_journal(). The compatibility aliases theme_elsevier(), elsevier_palette(), and save_elsevier() remain available. R has no static checker in v0.1.

Revise Result Figures

  1. Load references/python-workflow.md or references/r-workflow.md.
  2. Replace ad hoc fonts, colors, widths, markers, DPI, and export options with the selected profile.
  3. Keep semantic overrides only when they encode meaning, such as thresholds, baselines, intervention windows, highlighted frontier points, or discrete classes.
  4. Mark an intentional static-checker override on the same or preceding line:
python
# figure-style: allow STYLE-01 - benchmark threshold must remain red
ax.axhline(limit, color="red")
  1. Run the Python checker and inspect every remaining warning.

Audit Figures

Load references/submission-checklist.md. When an export is available, also load references/visual-audit-workflow.md.

Run the Python source checker:

bash
python scripts/check_elsevier_figure_style.py --path <script-or-dir> --config assets/elsevier_figure_style.json --profile editor

Run bitmap metadata checks with an explicit artwork type when known:

bash
python scripts/check_exported_figure_metadata.py --path <figure-or-dir> --config assets/elsevier_figure_style.json --figure-type result --artwork-type combination --target-layout single --profile editor

Use --format json for machine-readable findings and --fail-on warn for a stricter CI gate. Both checkers fail by default on FAIL findings or invalid inputs. The source checker also returns an input error when Python files are present but no supported matplotlib figure calls are detected; do not interpret that case as a style PASS.

For visual QA:

  1. Actually open or render the final export at the intended display size.
  2. Do not report a visual PASS for any figure that was not viewed.
  3. For PDF/SVG/EPS, render a preview when the environment cannot inspect the format directly; do not alter the original.
  4. For result figures with code and exports, report source findings, metadata findings, then visual findings.
  5. Report FAIL, then WARN, then notable PASS items with location, rule ID, and a concrete fix.

Resources

  • assets/elsevier_figure_style.json: default versioned manifest.
  • assets/journal_figure_profile.schema.json: manifest schema.
  • scripts/elsevier_plot_style.py: Python profile loader and plotting helpers.
  • scripts/elsevier_theme.R: R profile loader and ggplot2 helpers.
  • scripts/check_elsevier_figure_style.py: profile-aware Python static checker.
  • scripts/check_exported_figure_metadata.py: bitmap and export metadata checker.
  • scripts/init_figure_style_project.py: project-local helper/profile initializer.
  • scripts/check_environment.py: Python version and runtime-dependency preflight.
  • requirements.txt: runtime dependencies copied with the Skill.
  • references/submission-checklist.md: profile-aware submission checklist.
  • references/visual-audit-workflow.md: exported-figure visual QA workflow.
  • references/source-basis/rule-registry.md: rule IDs, evidence levels, and implementation coverage.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Elsevier Figure Style AI 技能有什么作用?

Generate, revise, and audit source-backed quantitative manuscript figures, and visually audit exported schematic/conceptual figures and graphical abstracts without redrawing them in v0.1. Use for Elsevier-style manuscript figure generation, matplotlib or ggplot2 result plots, line charts, heatmaps, bar charts, scatter or Pareto plots, artwork export checks, pre-submission figure QA, mechanism/workflow diagram audits, graphical-abstract audits, or equivalent Chinese-language requests for paper figures and submission checks.

为什么在 TypingMind 中使用 Elsevier Figure Style?

因为您只需安装一次,就能搭配任何模型使用。Elsevier Figure Style 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Elsevier Figure Style?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/guhou-hvi/elsevier-figure-style/tree/main/skills/elsevier-figure-style。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Elsevier Figure Style?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Elsevier Figure Style 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Elsevier Figure Style 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Elsevier Figure Style AI 技能免费吗?

是的。guhou-hvi 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇