figure-style
Skill này làm gì
Skill này dạy agent các tiêu chuẩn để tạo hình khoa học sẽ xuất hiện trong bài báo hoặc báo cáo. Skill bao gồm độ chính xác, nhãn rõ ràng, màu nhất quán và kiểm tra hình đã kết xuất, mà không áp đặt một phong cách hình ảnh cụ thể.
Khi nào nên dùng
- ✓Khi nhà nghiên cứu cần một biểu đồ sẽ xuất hiện trong bài báo, báo cáo hoặc file xuất đã lưu.
- ✓Khi một hình phải khớp chính xác với dữ liệu và có nhãn rõ ràng, dễ đọc.
- ✓Khi một biểu đồ có vấn đề về màu hoặc nhãn và cần kiểm tra chất lượng.
Liên kết skill
https://github.com/aipoch/open-science/blob/main/resources/skills/figure-style/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Vẽ biểu đồ cuối cùng cho báo cáo của tôi từ dữ liệu này, với nhãn rõ ràng và màu khớp giữa các khung.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent áp dụng các quy tắc hình cho mã vẽ, gồm kiểm tra dữ liệu, tiết kiệm nhãn và quy tắc màu. Agent kết xuất hình và kiểm tra bức ảnh trước khi giao hình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Publication-Grade Figure Rules
A checklist for correct, legible, internally-consistent scientific figures. This
skill does not impose a visual house style — frame, font, and palette are
parameters. Before plotting, follow the Notebook call below and invoke
apply_figure_style().
Open-Science Notebook call
Every notebook_execute request whose code uses a function named in this skill
includes this skill ID:
{ "kernelSkillIds": ["figure-style"], "code": "apply_figure_style()\n..." }
kernelSkillIds contains the skill ID; function calls belong in code. This
request is complete as written: call the named functions directly and do not add
an import or discovery step.
§0 Scope
Load trigger (same rule as the system prompt's "Publication-grade plots" section): this skill is for final-deliverable figures — those shipping in a report, paper, or export, or saved as an artifact the user will keep — not for exploratory/intermediate plots (quick looks, EDA, sanity checks), which are drawn plainly without it. Once loaded, "every plot" below means every plot you render toward the deliverable.
§1–§3, §8, and §9 are correctness — they apply to every plot, in every
context, and have no aesthetic content. §4–§7 are guidance — defaults that
produce a clean result but that a deliberate alternative can override
(individual rules inside §4–§7 that state a factual/perceptual invariant — e.g.
§4.4 semantic-zero centering, §4.5 CVD, §6.9 leader anchoring — still bind). On
its own, this skill is the inner tier (make one plot good); figure-composer
and paper-narrative supply multi-panel and whole-paper context.
§1 Data fidelity & self-consistency
1.1 Excluded rows. A row marked excluded or flagged in the source data is either omitted entirely or drawn with a visually distinct open/hatched marker and named in the key. It never enters a summary statistic plotted alongside the included rows.
1.2 Comparable conditions only. Arms measured under non-comparable conditions (different N, epoch budget, initialization, protocol) are not plotted as visual peers. Separate them with a facet break or a marker on the label, and state the difference once in the caption.
1.3 Self-consistency. Every key, threshold, and title inside the figure must be satisfied by every plotted row. Before saving, walk each categorical outcome label back to the rule that defines it; if a row's value contradicts its label or the title, the figure is wrong, not the data.
1.4 Claim-titles must be true. A sentence-title (§5.1) is tested against every category on the axis before rendering. If any contradicts it, qualify the title ("on 3 of 4 pairs") or downgrade it to a description.
1.5 State n and what was held fixed. Every panel that draws a summary mark
states n and the unit of replication, and every small-multiple that holds a
variable fixed states the fixed value — in the panel or, when §2 budget is
tight, in the caption.
1.6 Reference structure is reference. A tree, ordering, or topology drawn as context (a scale bar, a category strip) uses an established reference, not one inferred from the plotted data. Infer the structure only when the structure is the result.
1.7 One number per claim. A quantitative claim (runtime, accuracy, count) has exactly one canonical value across every panel, caption, and the abstract. Define what it measures and use that value everywhere.
§2 Label economy — floor and ceiling
The figure shows the pattern; the caption carries the context. Design for a general scientific reader, not the author.
2.1 Floor (non-removable). Every distinct mark, series, glyph, or comparator must be identifiable from the figure alone. The caption explains why it matters, not what it is. A label is non-removable if deleting it leaves a reader asking "what is that?"; it is removable only if the question becomes "why is that there?". Comparator labels name the thing ("prior method", "no joint training"), never a bare role word ("baseline", "previous"). Any term a general scientist can't parse gets a one-word gloss.
2.2 Ceiling. Per panel: title + axis labels + tick labels + series identity (labeled once per row of small multiples) + at most 2–3 result annotations. Count the strings; >6 beyond axes/ticks means you're over. The ceiling counts narrative annotations (callouts, value labels, brackets) — identity labels are floor, not budget.
**2
Câu hỏi thường gặp
Nó có áp dụng cho các biểu đồ nhanh không?
Không. Skill dành cho sản phẩm cuối cùng, còn các biểu đồ khám phá nhanh được vẽ đơn giản.
Nó có đặt phong cách riêng của tạp chí không?
Không. Skill nói khung, phông chữ và bảng màu là tham số mà người dùng có thể đặt.
Lệnh Notebook làm gì?
Nó áp dụng các thiết lập phong cách hình trước khi vẽ, bằng cách gọi hàm phong cách mà skill nêu tên.
Chi tiết
Mô tả gốc của tác giả
Publication-grade correctness and legibility rules for final-deliverable scientific figures, not exploratory plots. Use for a figure that will ship in a report, paper, export, or kept artifact. Covers data fidelity, label economy, color threading, chart choice, layout, and render-then-verify QA without imposing a visual house style. For multi-panel composition use `figure-composer`; for whole-paper ordering use `paper-narrative`.
repo: aipoch/open-science
Độ phổ biến
- Sao GitHub
- 5.4k
- Vị trí xếp hạng
- #14862
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
alphafold2
5.4kGiúp agent của bạn dự đoán cấu trúc 3D của protein từ trình tự của nó, kể cả phức hợp protein, bằng AlphaFold2 qua công cụ chạy ColabFold.
boltz
5.4kGiúp agent của bạn dự đoán cấu trúc của phức hợp protein, DNA, RNA và phân tử nhỏ bằng mô hình mã nguồn mở Boltz-2, với ước tính ái lực liên kết tùy chọn.
borzoi
5.4kGiúp agent của bạn dự đoán các track hoạt động trên toàn bộ genome, như biểu hiện gen và khả năng tiếp cận, từ trình tự DNA, và so sánh các biến thể theo tác động dự đoán.
chai1
5.4kGiúp agent của bạn dự đoán cấu trúc của phức hợp protein, axit nucleic và ligand từ một file FASTA, bằng mô hình Chai-1 được cấp phép Apache.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.