joshua-zyy/academic-paper-writer / skills/academic-figure
academic-figure
VerifiedCreate, revise, or audit academic data/result figures for CS/AI/ML papers. Data/result plots default to Python-generated editable SVG with CS/AI/ML-specific design rules for benchmarks, ablations, training dynamics, robustness, diagnostics, distributions, confusion matrices, and efficiency tradeoffs. Use when: generating plots from experiment results or numeric data, auditing publication figures, suggesting data-driven figure types, revising chart colors/layouts/labels, or preparing figure QA reports. Model framework diagrams, architecture diagrams, overview diagrams, and complex mechanism schematics are outside this skill's automatic drawing scope; provide only manual figure requirements or caption/blueprint notes when needed. Triggers on: 绘图, figure, chart, 画图, 实验图, 训练曲线, 消融实验, 对比图, 混淆矩阵, 结果图, 性能图, 鲁棒性图, 效率图, plot, publication figure, 数据可视化, generate plot, figure blueprint, 建议图表类型, figure audit, 审查图表, figure revision, 修改图表.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.5 KB |
| agents/figure_agent.md | markdown | 7.5 KB |
| manifest.yaml | config | 2.2 KB |
| references/api.md | markdown | 10.2 KB |
| references/chart-types.md | markdown | 4.7 KB |
| references/cs-ai-chart-design-patterns.md | markdown | 4.7 KB |
| references/design-theory.md | markdown | 4.6 KB |
| references/figure-contract.md | markdown | 2.1 KB |
| references/qa-contract.md | markdown | 1.7 KB |
| references/tutorials.md | markdown | 4.6 KB |
| references/workflow-chart-from-data.md | markdown | 5.6 KB |
| scripts/chart_template.py | script | 8.8 KB |
| scripts/qa_figure.py | script | 5.8 KB |
| static/core/anti-patterns.md | markdown | 897 B |
| static/core/output-contract.md | markdown | 854 B |
| static/core/red-lines.md | markdown | 941 B |
| static/core/stance.md | markdown | 3.7 KB |
references/figure-contract.md
View on GitHub# Figure Contract: 出图前合约模板
`chart-from-data` 模式的 Step 3 中使用。Agent 在生成代码或 SVG 前,必须与用户确认对应合约。
## Chart Contract
```markdown
## Figure Contract
### Core Conclusion
[一句话说明此图要支持论文中的哪个 claim]
### Evidence Hierarchy
- Primary: [核心数据来源]
- Supporting: [辅助数据来源]
- Context: [baseline / reference 数据]
### Chart Archetype
- Type: [quantitative grid | hero metric + supports | ablation ladder | trend with uncertainty | distribution comparison]
- Chart type: [training-curve | grouped-bar | heatmap | scatter | boxplot | radar | forest | ablation]
- Panel count: [1 / 2 / 3+]
### Panel Mapping
| Panel | Data | Claim Supported |
|-------|------|-----------------|
| (a) | [数据描述] | [支持的 claim] |
| (b) | [数据描述] | [支持的 claim] |
### Target Venue
- Venue: [期刊/会议名]
- Column: [single / double / full page]
- Max width: [英寸]
- Format required: [SVG]
### Aesthetic Preferences
- Palette: [default / custom]
- Font: [Arial / Helvetica / Times New Roman]
- Legend position: [inside / outside right / outside bottom]
### Risk Assessment
- Potential reviewer challenge: [描述]
- Mitigation: [方案]
### Export Bundle
- Script: [plot_<figure>.py]
- Source data: [CSV/TSV path]
- Vector: [SVG]
```
## Manual Figure Note(非自动绘制)
模型框架图、架构图、overview 图和复杂机制图不使用本 skill 自动绘制。若论文确实需要此类图,`figure-blueprint` 只记录:
```markdown
## Manual Figure Needed
### Purpose
[该图需要帮助读者理解的机制、流程或系统结构]
### Evidence Source
- Source: [用户描述 / 论文草稿 / 代码文件 / README / 已确认图示]
- Confidence: [confirmed / partial / needs verification]
### Required Content
- [必须出现在人工绘制图中的模块、数据流、阶段或对比]
### Caption Draft
[图注草案,说明图的核心阅读路径和证据边界]
### Boundary
This is a manual figure requirement note, not an automatically generated figure, SVG, or image prompt.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |