nature-figure
Skill này làm gì
Skill này hướng dẫn agent xây dựng và sửa các biểu đồ khoa học cho bài báo trên tạp chí. Skill dành cho nhà nghiên cứu cần hình ảnh sạch, sẵn sàng để nộp.
Khi nào nên dùng
- ✓Khi bạn cần một hình nhiều panel được vẽ bằng Python hoặc R cho bản thảo.
- ✓Khi bạn muốn một hình có sẵn được sửa lại hoặc kiểm tra xem có sẵn sàng nộp không.
- ✓Khi bạn muốn vẽ một graphical abstract hoặc sơ đồ cơ chế bằng công cụ AI tạo hình.
Liên kết skill
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-figure/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
“Bạn có thể vẽ một hình ba panel từ bảng kết quả của tôi, sẵn sàng để nộp cho tạp chí không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết mã vẽ bằng Python hoặc R, render hình và kiểm tra xem nó đã sẵn sàng nộp chưa. Với các sơ đồ do AI tạo, nó làm theo một quy trình riêng có bước người review.
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.
Nature Figure Making — Router
Routing protocol
For a new task, load the core and matching resources below. Reuse already loaded guidance on follow-ups; load more only when the task needs it.
0. Check for graphical-abstract and AI-schematic routes
For every graphical-abstract planning, generation, revision, or audit task that uses AI, read references/ai-graphical-abstract-workflow.md first. It owns the message/audience brief, composition and palette workflow, policy gate, human scientific review, disclosure boundary, and provenance requirements. A Nature Careers article is practitioner advice, not submission clearance; verify the current official policy for the exact target journal.
If the request is planning or auditing only, do not ask for Python or R unless the user also asks to render or revise a data-driven figure.
If the user explicitly asks to generate a manuscript schematic, graphical abstract, mechanism diagram, concept illustration, or paper schematic with OpenRouter, GPT Image 2, an image-generation API, or similar wording, do not ask "Python or R?". This is a non-plotting AI-schematic route.
For this route:
- Read manifest.yaml and the
always_loadfiles. - Read references/ai-graphical-abstract-workflow.md.
- Read references/openrouter-image-generation.md.
- Use scripts/generate_openrouter_schematic.py when the user wants a real API call or a reproducible payload.
- Treat output as a draft schematic / graphical abstract, not as a quantitative data panel. Do not invent experimental values, author logos, institutional marks, or unsupported mechanisms. Keep internal usefulness separate from submission eligibility.
If the user wants a hand-built, editable vector schematic (architecture, pipeline, agent or model block diagram, or mechanism flow) rather than an AI-generated image, do not ask "Python or R?". Read references/vector-schematic-workflow.md and references/vector-schematic-style-rules.md, confirm the brief with the user before drawing, and run scripts/audit_svg_schematic.py on the SVG before delivery. This route never plots data.
Only continue to the Python/R backend gate for plotting, charting, data visualization, or manuscript figure assembly tasks that are not explicit OpenRouter AI image-generation requests.
1. Load the manifest and the core layer
Read manifest.yaml. It declares the backend axis, the allowed values, and the file paths each value maps to.
Also read every file listed under always_load (static/core/contract.md and static/core/stance.md). These hold the figure contract, the backend gate, the missing-runtime rule, the privacy rule, and the default operating stance that apply to every figure job.
2. Resolve the plotting backend
Backend selection applies only to rendering or editing plotting code. Reuse a choice already established in the same task and its follow-ups; do not ask again merely because a new message omits the language. Read-only figure review and backend-independent data inspection may proceed without this choice. If the backend remains unresolved, retain the one-time Python/R question and pause only dependent plotting steps. Explicit approval requirements and backend exclusivity remain in force.
Resolve the plotting backend from the current task before consulting the saved default. Decide the backend value in this order:
- If the current request explicitly chooses Python or R, use that backend and save it with
scripts/nature_figure_backend.py set pythonorscripts/nature_figure_backend.py set r. - If the request provides a clearly language-specific input file/workflow, use that backend and save it.
- Otherwise reuse a Python/R choice already established in this task. If none exists, run
scripts/nature_figure_backend.py getand use a returnedpythonorrpreference. - If neither a task choice nor a saved preference exists, ask exactly one concise question — Python or R? I will remember this as your default. — and pause only dependent plotting steps. After the user answers, save the answer before proceeding.
python— matplotlib / seaborn.r— ggplot2 / patchwork / ComplexHeatmap.
Do not
Câu hỏi thường gặp
Nó có tạo dashboard tương tác không?
Không. Skill cho biết nó không dành cho dashboard tương tác.
Nó có tạo được graphical abstract bằng AI không?
Có, nếu bạn yêu cầu. Skill có một lộ trình riêng cho sơ đồ do AI tạo, và lộ trình này đòi hỏi người có chuyên môn khoa học rà soát.
Nó có phân tích thống kê không?
Không. Nó dành cho việc vẽ hình, không dành cho phân tích chỉ có thống kê.
Chi tiết
Mô tả gốc của tác giả
Create, revise, audit, and export manuscript scientific figures in Python or R. Use for 论文配图、科研绘图、多面板图 and submission-ready plots, or explicitly requested AI-generated graphical abstracts and mechanism schematics. Not for interactive dashboards, data cleaning, or statistics-only analysis.
repo: Yuan1z0825/nature-skills
Độ phổ biến
- Sao GitHub
- 52k
- Vị trí xếp hạng
- #3402
- 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
nature-academic-search
52kGiúp agent của bạn tìm kiếm tài liệu học thuật từ nhiều nguồn, kiểm tra trích dẫn và xây dựng chiến lược tìm kiếm kiểu PubMed.
nature-citation
52kCung cấp cho agent của bạn cách tìm và kiểm tra các bài báo thuộc họ Nature để hỗ trợ các khẳng định trong bản thảo, rồi xuất sang trình quản lý tài liệu.
nature-data
52kHướng dẫn agent của bạn soạn hoặc kiểm tra phần Data and Code Availability mà tạp chí yêu cầu, và lên kế hoạch nơi chia sẻ bộ dữ liệu.
nature-downloader
52kDạy agent của bạn tải toàn văn bài báo nghiên cứu một cách hợp pháp, qua truy cập mở, quyền truy cập thư viện hoặc các kênh của nhà xuất bản.
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.