Logotipo de Draw Science

Draw Science

Comunidad
QIANJINYDX
draw-science

Create, revise, audit, and export publication-style scientific flowcharts and schematic workflows in diagrams.net/draw.io. Use for research-paper flowcharts, Nature-style workflows, graphical abstracts, method pipelines, experimental design, cohort/study flow, mechanism schematics, model architecture, editable .drawio files, and SVG/PDF-ready scientific diagrams, including 科研流程图, 论文流程图, draw.io作图, 方法流程图, 实验设计图, 技术路线图, 机制示意图, and 图形摘要. Start from a scientific message, topology, grid layout, semantic composite-element plan, collision-free routing, math-label contract, export contract, and reviewer-risk check. Build editable glyphs from draw.io primitives, such as bar miniatures, DNA helices, matrices, neural networks, cells, samples, and model blocks. Enforce alignment, non-overlap, readable labels, and MathJax formulas. Not for dashboards, generic business diagrams, or illustration-first artwork.

Descripción general

EditorQIANJINYDX
Repositorioresearch-drawio-skill
Nombre de la habilidaddraw-science
Estrellas
45
Forks
2
Archivos incluidos
17
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 17

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por QIANJINYDX en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Draw Science en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/QIANJINYDX/research-drawio-skill/tree/main/skills/draw-science
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/QIANJINYDX/research-drawio-skill.git /tmp/research-drawio-skill
mkdir -p .claude/skills
cp -r /tmp/research-drawio-skill/skills/draw-science .claude/skills/draw-science
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Draw Science en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Draw Science automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Draw Science no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Draw Science

Build scientific flowcharts as visual arguments, not decorative process maps. The diagram must make a paper's method, mechanism, cohort flow, model architecture, or analytical logic easier to review.

This skill mirrors the nature-figure philosophy: first define the scientific claim and evidence hierarchy, then choose the minimum diagram structure, then engineer the layout and connectors, then apply restrained journal style and export QA.

The output should not be an all-text box diagram when the topic has visual entities. Use editable draw.io primitives to build semantic glyphs for the key scientific objects, while keeping labels short and reviewable.

Routing Protocol

Follow these steps whenever the skill is invoked.

1. Load the manifest and core layer

Read manifest.yaml. Then read every file listed under always_load:

  • static/core/contract.md
  • static/core/stance.md

Do not draw from memory or from a favorite template before the contract exists. If the diagram contains formulas, load references/math-typesetting.md before authoring any formula labels. If the diagram contains biological structures, charts, tensors, model modules, or other visual entities, load references/composite-elements.md before drawing those entities. If the diagram is traced from a GPT/imagegen/raster reference and close visual matching matters, load references/strict-visual-comparison.md before final QA.

2. Establish the diagram contract before authoring

Create a compact working contract:

  1. Scientific message: the one-sentence point the flowchart must defend.
  2. Diagram role: method overview, experimental workflow, cohort flow, mechanism, analytical pipeline, graphical abstract, or hybrid figure panel.
  3. Topology: ordered nodes, grouped modules, edge meanings, branches, loops, and inputs/outputs.
  4. Layout blueprint: rows, columns, modules, gutters, and connector corridors.
  5. Composite-element plan: which nodes become grouped visual glyphs, which draw.io primitives compose them, and what each primitive means.
  6. Visual vocabulary: colors, shapes, icons, and labels that map to scientific entities rather than decoration.
  7. Math contract: formula cells, MathJax delimiters, and fallback plain labels.
  8. Export contract: target size, editable source, SVG/PDF needs, and review risks.

If the user provides only a topic, infer a provisional message and topology, then make the uncertainty visible in the working notes or response.

3. Use draw.io as the default editable source

Use diagrams.net/draw.io .drawio as the source format unless the user asks for another format. If no export format is specified, provide or prepare:

  • .drawio editable source as the primary artifact.
  • .svg as the primary publication/export preview.
  • .pdf or .png only when requested or needed for submission/preview.

When editing an existing .drawio, preserve user content, page structure, IDs, grouping, and geometry unless the requested redesign requires a change.

4. Engineer layout before connectors

Before writing edges, create a grid layout plan:

  • Place modules on a strict column/row grid with consistent node sizes.
  • Decide which major nodes should be visual glyphs instead of plain text boxes.
  • Reserve empty routing corridors between modules and around formula blocks.
  • Route connectors only through corridors, never through text-bearing shapes.
  • Use the simplest valid connector: direct line first, one-bend orthogonal line second, multi-bend detour only when it avoids a real obstacle.
  • Prefer separate label cells near connectors over text directly on long edges.
  • Avoid crossings by changing geometry before adding style.

For detailed rules, load references/layout-and-routing.md whenever creating or repairing a .drawio file.

5. Build semantic composite elements

Use grouped draw.io primitives when they clarify the science:

  • Use bars + axes for a "quantitative result" or "metric comparison" glyph.
  • Use paired circles + crossing rails for a DNA/RNA helix glyph.
  • Use tiled rectangles for matrices, heatmaps, attention maps, or omics tables.
  • Use circles connected by lines for neural networks, graphs, or cell-cell communication.
  • Use ellipses/circles with internal marks for cells, nuclei, organelles, or samples.

Composite elements must be editable, grouped, and semantic. They are not clip art. Each repeated primitive should encode a real object, category, feature, or data structure. Do not draw arbitrary chart glyphs with invented values. For detailed recipes, load references/composite-elements.md.

6. Classify the diagram archetype

Choose the closest archetype before layout:

  • experimental workflow
  • computational pipeline
  • study/cohort flow
  • method architecture
  • mechanism schematic
  • multi-omics/data-integration workflow
  • graphical abstract
  • hybrid multi-panel flowchart

Use one dominant archetype. Treat secondary archetypes as supporting modules, not competing layouts.

7. Load references only when needed

Use the references.on_demand table in manifest.yaml.

FileOpen when
references/archetypes.mdNeed to choose or combine flowchart archetypes
references/style-guide.mdNeed typography, color, shape, arrow, spacing, and panel-label rules
references/composite-elements.mdNeed editable grouped glyphs such as DNA, bar-chart miniatures, matrices, networks, cells, tissues, or model blocks
references/layout-and-routing.mdNeed grid alignment, connector routing, collision avoidance, or dense model diagrams
references/math-typesetting.mdNeed formulas, symbols, MathJax, or draw.io mathematical typesetting
references/drawio-authoring.mdNeed to create or edit .drawio/mxGraph XML directly
references/export-preview.mdNeed to export PNG/SVG/PDF previews, verify draw.io Desktop CLI, or run visual preview checks
references/strict-visual-comparison.mdNeed to compare exported draw.io PNG against a GPT/imagegen/raster reference or diagnose mismatch regions
references/qa-contract.mdBefore final delivery, export, reviewer-facing audit, or journal submission

Operating Rules

  • The scientific logic outranks style. Delete nodes and branches that do not carry a unique piece of evidence or procedural meaning.
  • Prefer one clear reading path over a dense network. Use branches only for real alternatives, controls, or parallel assays.
  • Draw the layout from a grid plan, not by eye. Nodes in the same semantic lane must share aligned x/y coordinates and dimensions.
  • Avoid all-text diagrams. For each major scientific entity, ask whether it should be a grouped visual glyph made from draw.io primitives.
  • Build composite glyphs from simple editable shapes, not raster icons. Group their child elements, use stable IDs, and keep a short label near the group.
  • If a dedicated SVG has already been inserted for the same scientific object, treat that SVG as the visual glyph and do not also draw a duplicate primitive glyph unless the user explicitly asks for a hybrid editable reconstruction.
  • Keep labels outside glyph interiors unless the label is an intentional symbol such as A/C/G/T on a base or a channel mark. Text must not cover primitive shapes.
  • Treat connector routing as a first-class design object. No connector may pass through a text label, formula cell, node body, matrix tile, or module title.
  • Minimize connector bends. Remove micro-jogs and redundant waypoints before final delivery.
  • Render mathematical notation through draw.io MathJax syntax: set math="1" in the graph model and use \(...\) or $$...$$ delimiters.
  • Use restrained journal style: white background, clean typography, subtle module grouping, consistent arrows, and low-saturation color families.
  • Reclaim whitespace after replacing primitive glyphs with SVGs: recenter the SVG, move labels closer with safe padding, shrink stale placeholder regions, and reroute connectors with the fewest bends that remain valid.
  • Make text editable and readable at final print size. Avoid rasterized labels, decorative shadows, gradients, and clip-art-like icons.
  • Run scripts/qa_drawio.py on generated uncompressed .drawio files when Python is available, then fix all reported layout or source-integrity issues.
  • For final or visually sensitive figures, export PNG/SVG previews with scripts/export_drawio_preview.py, inspect the preview, and iterate until inserted SVGs, formulas, labels, connectors, and canvas crop render correctly.
  • For traced reference figures, run scripts/compare_drawio_reference.py against the exported PNG and use the diff overlays and worst-tile report to drive another edit pass before delivery.
  • For close GPT/imagegen/raster tracing, run at least three strict export/compare/fix iterations and require a final strict-comparison pass before calling the figure complete. Failed strict metrics are not acceptable merely because the redraw is editable, vectorized, or formula-cleaned.
  • Keep a private working trail private. Do not expose private paths, filenames, internal template names, or provenance unless the user explicitly asks.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Draw Science?

Create, revise, audit, and export publication-style scientific flowcharts and schematic workflows in diagrams.net/draw.io. Use for research-paper flowcharts, Nature-style workflows, graphical abstracts, method pipelines, experimental design, cohort/study flow, mechanism schematics, model architecture, editable .drawio files, and SVG/PDF-ready scientific diagrams, including 科研流程图, 论文流程图, draw.io作图, 方法流程图, 实验设计图, 技术路线图, 机制示意图, and 图形摘要. Start from a scientific message, topology, grid layout, semantic composite-element plan, collision-free routing, math-label contract, export contract, and rev...

¿Por qué usar Draw Science en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Draw Science está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Draw Science en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/QIANJINYDX/research-drawio-skill/tree/main/skills/draw-science. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Draw Science?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Draw Science?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Draw Science con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Draw Science?

QIANJINYDX la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇