Skills for Real Engineers. Straight from my .agents directory.
figures-python
Agent skill fromNorman-bury/research-writing-skill
Use when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes
How to install figures-python
npx skills add Norman-bury/research-writing-skill# or add only this skill to Claude Code: copy the folder
skills/figures-python/
# into
~/.claude/skills/figures-python/ (all projects)
.claude/skills/figures-python/ (one project)
1# Python 数据图表23本技能指导使用 Python 生成科研论文级别的数据图表。45## Checklist67- [ ] 确认 conda 环境已激活(research)8- [ ] 确认图表类型和数据9- [ ] 记录数据清单(data manifest)10- [ ] 若使用 mock/synthetic 数据,明确标注为 planning data11- [ ] 使用顶刊配色方案12- [ ] 设置 450 DPI 分辨率13- [ ] 同时输出 PNG 和 SVG14- [ ] 检查中文字体显示15- [ ] 保存到 figures/ 目录1617## 一、环境要求1819### 1.1 conda 环境2021**默认环境名**:`research`2223**激活命令**:24```bash25conda activate research26```2728**必需库**:29```bash30pip install matplotlib seaborn numpy pandas31```3233如环境未配置,调用 `environment-setup` 技能。3435## 二、图表规范3637### 2.0 数据清单与 mock 数据边界3839任何数据图都必须先有数据文件和数据清单(data manifest)。默认路径:4041```text42figures/data-manifest.md43figures/data/<figure-name>.csv44figures/<section>/<figure-name>.py45figures/<section>/<figure-name>.png46figures/<section>/<figure-name>.svg47```4849`figures/data-manifest.md` 至少记录:5051| Figure | Data file | Real/mock | Source | Script | Outputs |52|---|---|---|---|---|---|5354mock 或 synthetic 数据只允许用于规划版图表。文件名必须以 `mock_` 或 `synthetic_` 开头,并在图表、表格或章节草稿中保留 `[待真实实验替换]`。不得把 mock 数据写成“实验结果表明”。5556### 2.1 分辨率要求5758| 用途 | DPI | 说明 |59|------|-----|------|60| 期刊投稿 | 300-600 | 大多数期刊要求 |61| 顶刊投稿 | 450+ | Nature/Science等 |62| 屏幕展示 | 150 | PPT/网页 |6364**本技能默认使用 450 DPI**6566### 2.2 输出格式6768每张图同时输出两种格式:69- **PNG**:位图,适合网页和PPT70- **SVG**:矢量图,适合期刊投稿7172### 2.3 图表尺寸7374| 类型 | 宽度(英寸) | 适用场景 |75|------|-------------|----------|76| 单栏图 | 3.5 | 期刊单栏 |77| 双栏图 | 7.0 | 期刊双栏/全宽 |78| PPT图 | 10.0 | 演示文稿 |7980## 三、顶刊配色方案8182### 3.1 Nature/Science 风格8384```python85NATURE_COLORS = ['#2E86AB', '#A23B72', '#F18F01', '#C73E1D', '#95C623']86```8788### 3.2 Cell 风格8990```python91…
Excerpt shown under the repository's MIT license.
More skills in research-writing-skill
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
