Radiology Figure 标志

Radiology Figure

社区热门
huang-sir1
radiology-figure

使用 Python(matplotlib)为 Radiology(RSNA)、Nature 系列/npj、European Radiology、NEJM、Science 或 Lancet 系列期刊制作白底、可达到发表质量的学术图表:ROC 曲线、校准图、决策曲线分析、森林图/SROC 图、生存风险人数标注的 Kaplan-Meier 曲线、Bland-Altman 图、热图、影像组学图表、图形/视觉摘要,以及带注释的影像组图。默认以 The Lancet Digital Health 指南作为 Lancet 系列期刊的参考。当用户需要制作图表、优化图表、规划整套图表、按期刊要求调整图表格式,或检查重叠/拥挤问题时使用。输出可编辑的矢量文件(.svg/.pdf)及分辨率不低于 300 dpi 的栅格图,确保去标识化并符合期刊字体规范,绝不编造数据点。

Add to TypingMind

概览

发布者huang-sir1
代码仓库radiology-skills
技能名称radiology-figure
星标数
1.7K
复刻数
17
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huang-sir1 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Radiology Figure AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-figure
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huang-sir1/radiology-skills.git /tmp/radiology-skills
mkdir -p .claude/skills
cp -r /tmp/radiology-skills/radiology-skills/modules/radiology-figure .claude/skills/radiology-figure
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Radiology Figure,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Radiology Figure。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Radiology Figure 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Radiology Publication Figures

Use this skill to build figures that pass Radiology's technical and editorial bar: correct file format and resolution, legible typography, color-blind-safe palettes, honest axes, and the specific chart types imaging-AI reviewers expect (ROC, calibration, decision-curve, forest/SROC, Kaplan-Meier, Bland-Altman), plus de-identified annotated imaging panels.

Core stance

  • Vector first. Primary output is editable .svg (or .pdf); secondary is a ≥ 300 dpi raster (TIFF/PNG). Keep text as text (svg.fonttype='none'), not outlines, so editors can re-typeset.
  • One figure, one message. Each panel answers one question; no two panels duplicate it. Panels are labelled A, B, C (Radiology-family) or a, b, c (Nature-family — the case is venue-dependent, never mixed within one manuscript; see "When to open extra files").
  • Honest graphics. Axes start where the data demand (don't truncate to exaggerate); show uncertainty (CI bands, error bars); state n.
  • De-identify every image. No PHI burned into pixels, no faces/identifiers; scrub DICOM overlays; report windowing (WL/WW) and add a scale bar where size matters.
  • Match the journal. Sans-serif (Arial/Helvetica), figure width to column — Radiology-family single ~85 mm / double ~170 mm, or Nature-family single 89 mm / double 183 mm (max height 170 mm) — adequate font size at final print size (≈ 7–9 pt min). Confirm the target venue before sizing the first figure.
  • Never fabricate data. Plot only supplied/loaded values; mark simulated/example data clearly.

When to use

  • Statistical figures: ROC (+ DeLong annotation), calibration, decision-curve, forest, SROC, Kaplan-Meier (with numbers-at-risk), Bland-Altman, box/violin, heatmaps/clustermaps.
  • Radiogenomics: MOFA/factor plots, deconvolution stacked bars, habitat maps, correlation heatmaps.
  • Imaging panels: multi-row montages, before/after, arrows/insets, windowing labels, scale bars.
  • Flow diagrams: CONSORT / STARD / PRISMA patient-selection diagrams.

When to open extra files

FileOpen when
references/radiology-figure-guidelines.mdFile format, resolution, size, fonts, color, panel labelling, de-identification rules
references/chart-types.mdChoosing/parameterising the right statistical chart (ROC, calibration, DCA, forest, KM, Bland-Altman, heatmap)
references/imaging-panels.mdBuilding montages: windowing, arrows, insets, scale bars, anonymisation, panel layout
references/api.mdThe matplotlib rcParams preamble, color palette, and reusable helper functions (ROC/calibration/forest/KM)
references/design-theory.mdTypography, layout grid, color-blind-safe palettes, anti-redundancy, accessibility
references/color-systems.mdPicking ONE palette (Okabe-Ito / NPG / Morandi) and mapping color→meaning so every figure matches
references/survival-figures.mdKaplan-Meier integrity (curve ↔ numbers-at-risk ↔ censoring), numbers-at-risk done right, time-dependent (IPCW) ROC/calibration/DCA, incremental-value framing
references/figure-set-consistency.mdUnifying palette/fonts/axes across all figures, and cross-validating every figure number against the manuscript tables and data before export
references/nature-figure-spec.mdTarget is a Nature-portfolio venue instead of Radiology — column widths (89/183 mm), lowercase panel letters, RGB, legend word cap, Extended Data/Source Data display-item split
references/figure-intent-and-render-qa.mdFull figure set planning, crowded/colliding labels, DCA/KM/heatmap layout problems, final-size render review, source-data crosswalk, or premium academic visual polish
references/journal-family-visual-style.mdTarget journal family is known, the user supplied author-guide PDFs/classic articles, or the figure set needs Nature/npj or European Radiology visual taste

Workflow

  1. Confirm the target venue (Radiology-family default, or Nature-family → nature-figure-spec.md) before sizing the first figure — column widths and panel-letter case differ and are painful to change after the set is built.
  2. For venue-specific visual taste, open journal-family-visual-style.md and apply the target family's panel lettering, legend density, graphical abstract, table, and source-data conventions.
  3. For full figure sets or layout-sensitive figures, open figure-intent-and-render-qa.md and create the figure intent table plus source-data crosswalk before drawing.
  4. Pick the chart for the message (chart-types.md). Discrimination → ROC; reliability → calibration; clinical value → decision-curve; agreement → Bland-Altman; time-to-event → Kaplan-Meier; meta-analysis → forest/SROC; whole-study summary → graphical abstract.
  5. Start the script with the rcParams preamble and palette from api.md.
  6. Build the panel(s) with helper functions; add CI bands, n, and clear axis labels with units; label panels via panel_letter()/add_panel_letter() (api.md) with the case set for the confirmed venue — never hardcode chr(65+i) per script.
  7. For imaging panels, confirm de-identification, add windowing labels + scale bar + arrows; keep grayscale unless color encodes data.
  8. Export .svg (text-as-text) and a 300–600 dpi raster; check legibility at final print width.
  9. QA (see contract) and inspect the final render for overlap/clipping before returning.

Output contract

  1. Figure plan — what each panel shows and why; the chart type chosen.
  2. Figure intent / source-data crosswalk — for full figure sets or submission figures, show what claim each panel supports and where the data came from.
  3. Script — a single runnable .py starting with the rcParams preamble; data inputs clearly marked (real vs example).
  4. Files — figure.svg (primary) + figure.png/.tiff at ≥ 300 dpi.
  5. QA notes — fonts embedded as text, color-blind check, axis honesty, n shown, de-identification confirmed for any image panel, final-size render checked for no overlap/clipping, and venue-family visual style checked when applicable.

QA checklist (run before returning)

  • rcParams preamble present; output is .svg with svg.fonttype='none' and a ≥ 300 dpi raster.
  • Every axis labelled with units; legend present; panels labelled A/B/C or a/b/c per the confirmed venue, consistently across the whole figure set.
  • Uncertainty shown (CI band/error bars) and n stated.
  • Color-blind-safe; not reliant on red/green alone; sufficient contrast.
  • Imaging panels de-identified; windowing + scale bar present where relevant.
  • No invented data points; example data flagged.
  • Final exported render inspected at target size; no label/tick/legend/number overlap, clipping, or text crossing plot elements.
  • Venue-family rules satisfied when applicable (panel-letter case, background, legend length, graphical abstract blocks, Source Data/table expectations).

Handoffs

  • The statistic behind the plot (AUC CI, DeLong, ICC, calibration metrics, net benefit) → radiology-stats.
  • Whether the figure satisfies a checklist item (flow diagram for STARD/CONSORT), or the Reporting Summary/Nature Portfolio checklist → radiology-reporting.
  • Figure legends/captions prose, display-item plan (main vs Extended Data) → radiology-writing.
  • Source Data files, Extended Data vs Supplementary Information wording → radiology-data.
  • Full figure set finished and ready for a harsh read before submission → radiology-prereview.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Radiology Figure AI 技能有什么作用?

使用 Python(matplotlib)为 Radiology(RSNA)、Nature 系列/npj、European Radiology、NEJM、Science 或 Lancet 系列期刊制作白底、可达到发表质量的学术图表:ROC 曲线、校准图、决策曲线分析、森林图/SROC 图、生存风险人数标注的 Kaplan-Meier 曲线、Bland-Altman 图、热图、影像组学图表、图形/视觉摘要,以及带注释的影像组图。默认以 The Lancet Digital Health 指南作为 Lancet 系列期刊的参考。当用户需要制作图表、优化图表、规划整套图表、按期刊要求调整图表格式,或检查重叠/拥挤问题时使用。输出可编辑的矢量文件(.svg/.pdf)及分辨率不低于 300 dpi 的栅格图,确保去标识化并符合期刊字体规范,绝不编造数据点。

为什么在 TypingMind 中使用 Radiology Figure?

因为您只需安装一次,就能搭配任何模型使用。Radiology Figure 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Radiology Figure?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-figure。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Radiology Figure?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Radiology Figure 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Radiology Figure 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Radiology Figure AI 技能免费吗?

是的。huang-sir1 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇