nature-figure
Fungsinya
Skill ini memandu agent Anda membangun dan memperbaiki grafik ilmiah untuk makalah jurnal. Skill ini untuk peneliti yang membutuhkan gambar yang bersih dan siap diajukan.
Kapan dipakai
- ✓Saat Anda membutuhkan gambar multi-panel dibuat dengan Python atau R untuk naskah.
- ✓Saat Anda ingin gambar yang sudah ada direvisi atau diperiksa kesiapannya untuk diajukan.
- ✓Saat Anda ingin grafik abstrak atau diagram mekanisme digambar dengan alat gambar AI.
Link skill
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-figure/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Bisakah Anda membuat gambar tiga panel dari tabel hasil saya yang siap untuk diajukan ke jurnal?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menulis kode plot dalam Python atau R, merender gambar, lalu memeriksa kesiapannya untuk diajukan. Untuk skema buatan AI, agent mengikuti alur kerja terpisah yang menyertakan langkah tinjauan manusia.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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
Pertanyaan umum
Apakah skill ini membuat dashboard interaktif?
Tidak. Skill ini menyatakan bukan untuk dashboard interaktif.
Bisakah skill ini membuat grafik abstrak AI?
Bisa, jika Anda memintanya. Skill ini memiliki jalur terpisah untuk skema buatan AI yang membutuhkan tinjauan ilmiah.
Apakah skill ini menganalisis statistik?
Tidak. Skill ini untuk membuat gambar, bukan untuk analisis yang hanya berupa statistik.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 52k
- Peringkat
- #3402
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
nature-academic-search
52kMemungkinkan agent Anda mencari literatur akademik dari beberapa sumber, memverifikasi sitasi, dan menyusun strategi pencarian gaya PubMed.
nature-citation
52kMemberi agent Anda cara untuk mencari dan memeriksa makalah keluarga Nature yang mendukung klaim dalam naskah Anda, lalu mengekspornya ke pengelola referensi.
nature-data
52kMemandu agent Anda menyusun atau memeriksa pernyataan Ketersediaan Data dan Kode yang diminta jurnal, serta merencanakan tempat berbagi dataset.
nature-downloader
52kMengajari agent Anda mengambil makalah riset lengkap secara sah, lewat akses terbuka, akses perpustakaan, atau jalur penerbit.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.