nature-figure
O que ela faz
Orienta seu agente a construir e corrigir gráficos científicos para artigos de periódicos. Ela é para pesquisadores que precisam de figuras limpas e prontas para submissão.
Quando usar
- ✓Quando você precisar de uma figura com vários painéis feita em Python ou R para um manuscrito.
- ✓Quando quiser revisar ou conferir se uma figura existente está pronta para submissão.
- ✓Quando quiser um resumo gráfico ou um diagrama de mecanismo desenhado com uma ferramenta de imagem por IA.
Link da skill
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-figure/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Pode fazer uma figura com três painéis a partir da minha tabela de resultados, pronta para submissão a um periódico?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escreve o código de plotagem em Python ou R, renderiza a figura e confere se ela está pronta para submissão. Para esquemas feitos por IA, segue um fluxo separado que inclui uma etapa de revisão humana.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela faz painéis interativos?
Não. A skill diz que não serve para painéis interativos.
Ela consegue fazer um resumo gráfico feito por IA?
Sim, se você pedir. A skill tem uma rota separada para esquemas feitos por IA, que exige revisão científica.
Ela analisa estatísticas?
Não. Ela serve para fazer figuras, e não para análises somente estatísticas.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 52 mil
- Posição no ranking
- #3402
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
nature-academic-search
52 milPermite que seu agente pesquise literatura acadêmica em várias fontes, verifique citações e monte estratégias de busca no estilo PubMed.
nature-citation
52 milOferece ao seu agente uma forma de encontrar e conferir artigos da família Nature que sustentam as afirmações do seu manuscrito, e exportá-los para um gerenciador de referências.
nature-data
52 milOrienta seu agente a redigir ou revisar as declarações de Disponibilidade de Dados e de Código que os periódicos exigem, e a planejar onde compartilhar conjuntos de dados.
nature-downloader
52 milEnsina seu agente a obter artigos científicos completos de forma legal, por acesso aberto, acesso pela biblioteca ou pelas rotas das editoras.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.