A skill for generating high-quality drawing instructions for research paper figures. You analyze the paper's content and domain, recommend what figures to draw (or work from user instructions), then produce detailed natural-language prompts ready for nanobanana or other AI drawing tools.
See full execution instructions:
PROMPT.md
text
# Analyze a paper and get figure suggestions:
/draw-skills [paste paper text or upload PDF]
# Generate a figure prompt directly:
/draw-skills generate: a multi-agent LLM pipeline diagram with three agents
# Improve an existing figure:
/draw-skills improve: [upload image]
# Use a reference figure's style:
/draw-skills ref-style: [upload reference image] + [describe what you want to draw]
English: draw figure, generate figure, draw diagram, paper figure, figure prompt, BioRender style, mechanism diagram, architecture diagram, nanobanana prompt, visualize paper, figure for paper, illustration prompt, scientific diagram, improve figure, style reference for figure
中文: 画图, 绘图, 论文配图, 生成图, 绘制示意图, 流程图, 架构图, 机制图, 帮我画, 参考图风格, 图表建议, 补图, 配图指令, nanobanana, 用这个风格画
ModeTrigger PhraseDescriptionanalyze (default)Upload PDF / paste paper textAnalyze paper → suggest figures → user picks → generate promptsgenerate"generate: [description]"Skip analysis, generate prompt directly from descriptionimprove"improve: [image]"Analyze an existing figure's weaknesses → generate improved version promptref-style"ref-style: [image] + [description]"Extract visual style from reference image → apply to new content
text
Phase 0 ── Input Collection
Identify mode from input type and trigger phrase.
Accept: PDF file / text / image / description / mix.
│
Phase 1 ── Content Analysis [analyze / improve modes]
• Extract domain, core method, key results
• Detect field: Bio/Med | CS/Eng | AI/Agent | CV | General
• Identify existing figures and conceptual gaps
│
Phase 2 ── Figure Planning [Checkpoint ✓ user confirms]
• List recommended figures (index + title + purpose)
• Tag each with: recommended tool + figure type + priority
• User selects which figures to generate
│
Phase 3 ── Style Confirmation [Checkpoint ✓ user confirms]
• Auto-infer style from detected domain
• If ref-style mode: extract palette/layout/visual-language from reference image
• Present style recommendation + color scheme summary
• User confirms or overrides
│
Phase 4 ── Prompt Generation
• One structured prompt block per figure
• Language: English (nanobanana input language)
• Includes: scene, style keywords, colors, key elements, layout, labeling style
• If ref-style: append "styled after: [extracted features]" section
DomainAuto-Detection KeywordsRecommended StyleBiology / Medicine / Biochemistrypathway, signaling, receptor, cell, protein, mechanism, drug, inflammation, apoptosisBioRender-style: white background, 3D bio-forms, vivid palette, anatomical precision, clear labelsCS / Systems Engineeringarchitecture, system, pipeline, framework, module, distributed, network, protocolTechnical architecture: flat design, rectangular modules, directional arrows, minimal colorAI / Agent / NLPagent, LLM, transformer, attention, multi-agent, reasoning, prompt, chain-of-thoughtAI system diagram: rounded modules, node-edge graph, gradient accents, hierarchical layoutComputer Visiondetection, segmentation, CNN, feature map, backbone, encoder, decoder, attention mapCV network diagram: stacked 3D blocks, feature maps, consistent color temperature, perspective layersGeneral / Experimentalresults, comparison, ablation, statistical, flowchart, overviewScientific illustration: clean white background, Nature/Science color convention
TypeDescriptionTypical DomainMechanism diagramStep-by-step biological/chemical processBiology, MedicineSystem architectureComponents and their connectionsCS, EngineeringAgent pipelineMulti-agent workflow with roles and messagesAI, NLPNetwork architectureLayer-by-layer ML model structureCV, MLConceptual overviewHigh-level summary of the paper's contributionAllComparison / AblationSide-by-side method comparisonAllData flow diagramHow data moves through a systemCS, EngineeringExperimental setupVisual description of experiment designAll
text
## Figure [N]: [Title]
**Status**: [NEW — not in paper] | [EXISTING — redraw/improve] | [EXISTING — good, skip if satisfied]
**Purpose**: [what this figure communicates]
**Recommended tool**: nanobanana
**Figure type**: [from taxonomy above]
**Style**: [style name]
**Prompt**:
[Full English natural-language prompt, 100–300 words, covering:
- Overall scene and subject
- Style keywords
- Color scheme
- Key elements to include (exhaustive list)
- Spatial layout and composition
- Labeling / annotation style]
**Style reference** *(ref-style mode only)*:
[Extracted visual features: e.g., "warm navy + coral palette, left-to-right horizontal flow,
flat vector icons, moderate label density, soft drop shadows"]
**Caption (EN)**: [Publication-ready English figure caption. Format: "Fig. N. [One sentence
describing what is shown]. [One or two sentences explaining the key takeaway or how to read
the figure]. [Optional: abbreviation definitions if needed.]"]
**Caption (ZH)**: [对应的中文图注。格式:图N. [一句话说明图的内容]。[一两句说明读图方式或关键
结论]。[如有需要列出缩写含义。]]
**nanobanana tips**: [iteration suggestions, aspect ratio, what to emphasize on retry]
⚠️ NEVER copy reference image content — In ref-style mode, extract visual style only (palette, layout pattern, visual language weight, atmosphere). Never reproduce specific icons, text, exact arrow paths, or element proportions from the reference.
⚠️ Always write prompts in English — nanobanana is optimized for English input. Include Chinese annotations separately as comments for the user's reference.
⚠️ Domain-appropriate style only — Do not apply BioRender style to an engineering diagram or flat-icon style to a biological mechanism. When domain is ambiguous, ask before assuming.
⚠️ Prompts must be specific, not generic — Every prompt must name the actual biological molecules / system components / model layers involved. A prompt that could apply to any paper in the field is a failed prompt.
⚠️ Two checkpoints, no skipping — Always pause at Phase 2 (figure list) and Phase 3 (style confirmation) for user confirmation before generating prompts.
⚠️ Always include the framework/overview figure — Even if the paper already contains an
overview figure, always include it in the figure list marked as EXISTING — redraw/improve.
Never silently skip it. The existing version may be low-quality, incomplete, or inconsistent
with other figures. Let the user decide whether to regenerate it.
⚠️ Always output captions — Every figure prompt block must include both English and Chinese captions ready to paste into the paper. Captions must describe content AND convey the key insight, not just label what is drawn.
FieldValueVersion1.0Last updated2026-04-09Target toolnanobanana (natural language input)Secondary toolsGemini image gen, DALL-E 3MaintainerUser