Logo Elsevier Figure Style

Elsevier Figure Style

Cộng đồng
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.

Tổng quan

Nhà phát hànhguhou-hvi
Kho mãelsevier-figure-style
Tên kỹ năngelsevier-figure-style
Sao
89
Bản fork
1
Tệp đi kèm
21
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 21 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được guhou-hvi công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Elsevier Figure Style trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/guhou-hvi/elsevier-figure-style/tree/main/skills/elsevier-figure-style
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Elsevier Figure Style trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Elsevier Figure Style ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Elsevier Figure Style với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Elsevier Figure Style làm được gì?

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.

Vì sao nên dùng Elsevier Figure Style trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Elsevier Figure Style là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Elsevier Figure Style trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/guhou-hvi/elsevier-figure-style/tree/main/skills/elsevier-figure-style. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Elsevier Figure Style?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Elsevier Figure Style với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Elsevier Figure Style với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Elsevier Figure Style có miễn phí không?

Có. Kỹ năng này được guhou-hvi phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇