跳到正文
cccskills
免费在 GitHub 公开

mathodology-figure-presets

Use when selecting, designing, generating or reviewing scientific figures, complex modeling charts, paper illustrations or image2-assisted visuals.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(70)

  • SKILL.md4.9 KB
  • agents/openai.yaml701 B
  • examples/f01-mosaic.pdf28.5 KB
  • examples/f01-mosaic.png103.9 KB
  • examples/f02-forecast.pdf24.8 KB
  • examples/f02-forecast.png89.0 KB
  • examples/f03-raincloud.pdf39.3 KB
  • examples/f03-raincloud.png71.2 KB
  • examples/f10-pareto.pdf27.6 KB
  • examples/f10-pareto.png64.4 KB
  • examples/f16-sensitivity.pdf27.8 KB
  • examples/f16-sensitivity.png42.0 KB
  • examples/f20-scenarios.pdf27.8 KB
  • examples/f20-scenarios.png65.0 KB
  • examples/f21-tornado.png35.8 KB
  • examples/f22-morris.png44.8 KB
  • examples/f23-convergence.png71.7 KB
  • examples/f24-bump.png47.2 KB
  • examples/f25-quantile-dots.png31.3 KB
  • examples/f26-exceedance.png52.4 KB
  • examples/f27-small-multiples.png120.8 KB
  • examples/f28-waterfall.png34.1 KB
  • examples/f29-gantt.png24.0 KB
  • examples/f30-routes.png49.8 KB
  • examples/f31-phase.png122.1 KB
  • examples/f32-bifurcation.png54.1 KB
  • examples/f33-pdp-ice.png111.2 KB
  • examples/f34-beeswarm.png74.1 KB
  • examples/f35-classifier.png48.2 KB
  • examples/f36-taylor.png70.9 KB
  • examples/f37-composition.png35.6 KB
  • examples/f38-calendar.png30.6 KB
  • examples/f39-evaluation.png55.2 KB
  • examples/f40-ternary.png41.7 KB
  • examples/f41-rank-caterpillar.png26.2 KB
  • examples/f42-backtest.png67.1 KB
  • examples/f43-spider.png59.0 KB
  • examples/f44-performance-profile.png35.3 KB
  • examples/f45-slope.png63.5 KB
  • examples/f46-adjacency.png37.6 KB
  • examples/README.md11.6 KB
  • references/experiments.md19.5 KB
  • references/figure-guidance.md3.2 KB
  • references/image2.md4.6 KB
  • references/matplotlib/confidence_ellipse.py.txt6.6 KB
  • references/matplotlib/contourf_demo.py.txt4.2 KB
  • references/matplotlib/fill_between_demo.py.txt4.5 KB
  • references/matplotlib/image_annotated_heatmap.py.txt10.3 KB
  • references/matplotlib/inset_locator_demo2.py.txt2.3 KB
  • references/matplotlib/LICENSE.txt4.7 KB
  • references/matplotlib/sankey_basics.py.txt3.5 KB
  • references/matplotlib/scatter_hist.py.txt4.5 KB
  • references/matplotlib/violinplot.py.txt4.8 KB
  • references/papers/plos-figure-3.png86.2 KB
  • references/papers/plos-figure-4.png33.6 KB
  • references/papers/plos-figure-5.png111.2 KB
  • references/papers/plos-figure-6.png25.9 KB
  • references/papers/plos-figure-7.png156.9 KB
  • references/papers/plos-figure-8.png54.0 KB
  • references/presets-advanced.md31.4 KB
  • references/presets.md25.7 KB
  • references/README.md4.6 KB
  • references/sources.tsv5.2 KB
  • references/style.md3.1 KB
  • scripts/render_advanced_examples.py25.2 KB
  • scripts/render_examples.py10.7 KB
  • templates/advanced_templates.py51.4 KB
  • templates/experiment_kits.py24.1 KB
  • templates/matplotlib_templates.py25.1 KB
  • templates/README.md11.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Mathodology Scientific Figure Presets

Choose a figure from the question the reader needs to answer. Complex figures are useful when their panels expose related evidence; complexity itself is not a quality measure. Use actual data and the user's paper language.

Agent-facing guidance

Read default figure guidance when starting figure work or briefing another agent. It is the canonical reusable instruction: select a code template, fill real data, run it and inspect the resulting PNG/PDF. Use it as adaptable guidance, not a fixed pipeline.

Before the first figure

Ask once per modeling task, unless the answer is already known:

是否有可用的 image2 模型?通过当前工具、已配置接口,还是手动生成使用?

Use the host's question mechanism and continue independent analysis while waiting. Do not repeat the question in every specialist or turn. Read image2 usage for available, manual, unavailable and pending cases. Do not claim a generic image tool is image2 or collect API keys in chat.

Default rendering route

Without image2, with a pending answer, or with only manual image2 access, use the 46 callable code templates by default. Copy the matching function into the working task, bind actual data, execute it, and export PNG/PDF. Do not stop at a plotting prompt or wait for image2. Quantitative figures use this same data-driven route even when image2 is available. Adapt the closest template when needed; never substitute synthetic preview values for missing data.

Choose and build

  1. Write the figure's intended conclusion as a question before seeing the result. Identify data, units, comparison, uncertainty and the available paper space.
  2. Use the base selector F01–F20 or the advanced selector F21–F46 (sensitivity screening, convergence, risk curves, schedules, routes, dynamics, model explanation, evaluation matrices). Load the relevant cards, not the entire reference collection. If the data cannot support a preset, choose its simpler alternative or explain the missing input. Prefer a figure that answers the question directly over a more elaborate one.
  3. Adapt the card's plotting and caption prompts using the actual columns, measured results and scientific meaning. Do not force the data to match a preview. Follow style and export guidance.
  4. Use numerical plotting tools for quantitative marks. image2 can assist illustrations, mechanism diagrams and layout concepts; rebuild quantitative layers from data. Never use generated pixels as computed evidence.
  5. Inspect the rendered figure at publication size, then inspect its placement in the compiled paper. Fix illegibility and misleading encodings; remove decorative panels that do not support the argument.

When a figure reports an experiment (sensitivity, robustness, baseline or ablation comparison, repeated stochastic runs, backtesting), design it with the experiment kits: they call the task's own model, record seeds and budgets, and return inputs for the matching template and a three-line table.

Deliver the figure, a caption, its source-data or calculation location and a rerun instruction. The format is flexible. State actual limitations; do not invent statistical significance or claim that appearance implies an award.

Reference and example library

  • Sources and visual references: six PLOS reference figures (including counterexamples), eight Matplotlib source-text snapshots, licenses and a per-file provenance manifest. Read snapshots before adaptation; they are not executable installation or workflow steps.
  • Synthetic example gallery: previews of F01–F46 and two optional scripts, render_examples.py and render_advanced_examples.py (which also has --self-test for the advanced templates and kits). The examples illustrate presentation and statistical labeling, not evidence for a contest problem.
python3 .claude/skills/mathodology-figure-presets/scripts/render_examples.py --output work/figure-examples
python3 .claude/skills/mathodology-figure-presets/scripts/render_advanced_examples.py --output work/figure-examples-advanced

The demos use NumPy and Matplotlib; the F08 template and the Sobol and profile kits additionally require SciPy. If dependencies are absent, use the host's available runtime or install them in an isolated environment; no dependencies are needed just to read and use the prompts. Existing numerical tools in R, MATLAB or another language are equally acceptable for task-specific figures.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when planning a modeling solution, selecting the next useful step or briefing a specialist.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

Use when reviewing mathematical validity, evidence, reproducibility, figures or a submission draft.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

Use when checking skill metadata, references or repository boundaries, or preparing an explicitly requested skills release.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

Use when finding literature, datasets, domain facts, citation details or licensed figure references.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

Use when maintaining the skills-only repository or checking whether a change belongs here.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

Use when adding, editing or reviewing skills, role prompts or skill metadata.

中文简介正在准备中。当前显示原文说明。

sweetcornna/mathodology3112026年10月22日 更新

查看 sweetcornna 的全部技能

报告此技能的问题