跳到正文
cccskills
免费在 GitHub 公开

figures4papers

Create, polish, and troubleshoot figures4papers-style publication-ready matplotlib figures, including grouped bars, trends, radar charts, heatmaps, concept diagrams, manifolds, and high-DPI/vector export workflows.

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

查看安装方法

包含的文件(20)

  • SKILL.md6.1 KB
  • references/project-patterns.md3.9 KB
  • references/repo-provenance.md3.1 KB
  • references/repo-routing-metadata.json332 B
  • references/style-and-export.md4.0 KB
  • references/troubleshooting.md4.5 KB
  • scripts/check_figure_env.py4.2 KB
  • scripts/figure_style_helpers.py9.5 KB
  • sub-skills/bar-comparison-figures/references/bar-recipes.md9.2 KB
  • sub-skills/bar-comparison-figures/references/troubleshooting.md7.9 KB
  • sub-skills/bar-comparison-figures/scripts/bar_comparison_template.py19.9 KB
  • sub-skills/bar-comparison-figures/SKILL.md6.9 KB
  • sub-skills/concept-manifold-diagrams/references/concept-manifold-recipes.md7.1 KB
  • sub-skills/concept-manifold-diagrams/references/troubleshooting.md6.0 KB
  • sub-skills/concept-manifold-diagrams/scripts/concept_manifold_template.py14.6 KB
  • sub-skills/concept-manifold-diagrams/SKILL.md3.7 KB
  • sub-skills/trend-radar-heatmap-figures/references/trend-radar-heatmap-recipes.md9.1 KB
  • sub-skills/trend-radar-heatmap-figures/references/troubleshooting.md6.7 KB
  • sub-skills/trend-radar-heatmap-figures/scripts/trend_radar_heatmap_template.py20.3 KB
  • sub-skills/trend-radar-heatmap-figures/SKILL.md3.2 KB

SKILL.md(原文)

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

figures4papers

Use this repo skill when the user wants publication-quality Python/matplotlib figures in the figures4papers house style: polished paper plots, wide comparison panels, print-safe encodings, radar or heatmap layouts, conceptual manifolds, clean typography, and reproducible PNG/PDF/SVG export.

This repository is a script-and-skill collection, not an installable Python package. Future agents can use this generated skill without the original checkout by following the bundled references and scripts below.

Load this skill when

  • The user asks for a paper, slide, or report figure rather than exploratory data analysis.
  • The figure should use a consistent publication look: sans-serif typography, blue/green/red/neutral palette roles, clean spines, high DPI, and vector text.
  • The request mentions grouped bars, ablations, wide metric comparisons, legend-only axes, trend lines, event timelines, radar/polar comparisons, heatmaps, matrix panels, concept distributions, manifolds, Swiss-roll diffusion visuals, shaded spheres, or geodesic/arrow diagrams.
  • The user needs to adapt a safe template, validate data shapes, create output directories, or fix matplotlib font, TeX, backend, or export errors.
  • The task names figures4papers or asks for the same style as a figures4papers example.

Do not load for

  • Interactive dashboards or web visualization with Plotly, Altair, Bokeh, or dashboard frameworks.
  • GIS/geographic mapping, Figma/Illustrator-first infographic work, or purely exploratory plots without a publication target.
  • Model training, data analysis, evaluation, or paper reproduction where plotting is incidental rather than the requested deliverable.
  • Exact historical figure reproduction that would require unbundled data or source files. Use the distilled recipes and ask for user-provided data instead.

Minimal environment

Install the plotting packages needed by the selected route:

python -m pip install numpy matplotlib scipy seaborn python-dateutil

numpy and matplotlib cover the core templates. scipy supports KDE, diffusion, and manifold helpers; seaborn supports seaborn-style heatmaps; python-dateutil helps date/month timelines. System LaTeX is optional and only needed when exact text.usetex=True rendering is required. Portable bundled scripts keep TeX disabled by default.

Run the environment checker when import or export behavior is uncertain:

python scripts/check_figure_env.py --output figure_env_smoke --formats png

Route map

TaskOpen
Grouped bars, horizontal ablations, log-speed bars, multi-metric comparison rows, direct annotations, legend-only axessub-skills/bar-comparison-figures/SKILL.md
Trend/line panels, cumulative timelines, event arrows, radar/polar benchmark comparisons, heatmaps, colorbars, matrix panelssub-skills/trend-radar-heatmap-figures/SKILL.md
Concept distributions, manifold clouds, KDE contours, Swiss-roll/diffusion matrices, shaded spheres, geodesic arrows, 3D-style geometrysub-skills/concept-manifold-diagrams/SKILL.md
Shared style, palette, rcParams, export formats, and helper functionsreferences/style-and-export.md
Natural-language pattern routing across all figure familiesreferences/project-patterns.md
Cross-cutting install/import, font, TeX, backend, shape, and output failuresreferences/troubleshooting.md
Repository snapshot and refresh baselinereferences/repo-provenance.md

Shared scripts

  • scripts/figure_style_helpers.py provides reusable palette constants, FigureStyle, apply_publication_style, create_subplots, finalize_figure, grouped bar, trend, heatmap, scatter, and shaded-sphere helpers.
  • scripts/check_figure_env.py verifies required plotting imports, optional dependencies, LaTeX availability, and headless PNG export.

Operating procedure

  1. Classify the figure family from the route map before writing code.
  2. Read the nearest sub-skill and its recipe reference; use the bundled template when the user has not provided a mature plotting script.
  3. Normalize user data into the sub-skill's data contract and validate shapes, label counts, finite values, metric directions, and missing-value policy.
  4. Apply the shared style: semantic palette roles, clean spines, readable fonts, frameless legends, print-safe edges/hatches where needed, and TeX off unless explicitly required.
  5. Save deterministic outputs in the requested formats, create parent directories, close figures, and verify nonzero file sizes.
  6. If a failure appears, use root troubleshooting first, then the owning sub-skill's troubleshooting reference for workflow-specific recovery.

Ask before finalizing when

  • The metric direction, missing-value policy, or synthetic-vs-measured status is unclear.
  • A tight axis range could be misleading or a zero baseline may be required.
  • The user did not specify mandatory figure dimensions, formats, DPI, or venue constraints and those choices affect layout.
  • Exact TeX rendering or a specific font is required but not available.
  • A requested composite figure spans several sub-skills and the panel order or story should be user-approved.

Refresh and import notes

Read references/repo-provenance.md before refreshing this skill against a changed repository. This candidate was generated for DisCo's managed repo-skill format, but this construction run intentionally does not import it into the live repo-skills library.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

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

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题